Skip to content
Snippets Groups Projects
Commit 45ea4c5c authored by Ere Maijala's avatar Ere Maijala
Browse files

Make phing php-cs-fixer tasks output verbose information. Make the dry-run...

Make phing php-cs-fixer tasks output verbose information. Make the dry-run task show diffs about required changes.
parent ad53b07f
Branches
Tags
No related merge requests found
......@@ -90,10 +90,10 @@
<!-- php-cs-fixer (first task applies fixes, second task simply checks if they are needed) -->
<target name="php-cs-fixer">
<exec command="php-cs-fixer fix ${srcdir}/module --fixers=${php-cs-fixers}" escape="false" />
<exec command="php-cs-fixer fix ${srcdir}/module --fixers=${php-cs-fixers} --verbose" passthru="true" escape="false" />
</target>
<target name="php-cs-fixer-dryrun">
<exec command="php-cs-fixer fix ${srcdir}/module --fixers=${php-cs-fixers} --dry-run" escape="false" checkreturn="true" />
<exec command="php-cs-fixer fix ${srcdir}/module --fixers=${php-cs-fixers} --dry-run --verbose --diff" passthru="true" escape="false" checkreturn="true" />
</target>
<!-- PHP API Documentation -->
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment