Skip to content

Commit cf9e949

Browse files
Reorganize
1 parent 89fed87 commit cf9e949

File tree

1 file changed

+20
-21
lines changed

1 file changed

+20
-21
lines changed

build.xml

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,26 @@
1717
</exec>
1818
</target>
1919

20+
<target name="update-tools">
21+
<exec executable="${basedir}/tools/phive">
22+
<arg value="--no-progress"/>
23+
<arg value="self-update"/>
24+
</exec>
25+
26+
<exec executable="${basedir}/tools/phive">
27+
<arg value="--no-progress"/>
28+
<arg value="update"/>
29+
</exec>
30+
</target>
31+
32+
<target name="generate-global-assert-wrappers" description="Generate global function wrappers for static methods in Assert and TestCase that are commonly used">
33+
<exec executable="${basedir}/build/scripts/generate-global-assert-wrappers.php" taskname="generate-global-assert-wrappers" failonerror="true"/>
34+
<exec executable="${basedir}/tools/php-cs-fixer" taskname="php-cs-fixer" failonerror="true">
35+
<arg value="fix"/>
36+
<arg path="${basedir}/src/Framework/Assert/Functions.php"/>
37+
</exec>
38+
</target>
39+
2040
<target name="signed-phar" depends="phar" description="Create signed PHAR archive of PHPUnit and all its dependencies">
2141
<exec executable="gpg" failonerror="true">
2242
<arg value="--local-user"/>
@@ -381,25 +401,4 @@
381401
<arg value="tests/end-to-end/phar/phpunit.xml" />
382402
</exec>
383403
</target>
384-
385-
<target name="update-tools">
386-
<exec executable="${basedir}/tools/phive">
387-
<arg value="--no-progress"/>
388-
<arg value="self-update"/>
389-
</exec>
390-
391-
<exec executable="${basedir}/tools/phive">
392-
<arg value="--no-progress"/>
393-
<arg value="update"/>
394-
</exec>
395-
</target>
396-
397-
<target name="generate-global-assert-wrappers" description="Generate global function wrappers for static methods in Assert and TestCase that are commonly used">
398-
<exec executable="${basedir}/build/scripts/generate-global-assert-wrappers.php" taskname="generate-global-assert-wrappers" failonerror="true"/>
399-
<exec executable="${basedir}/tools/php-cs-fixer" taskname="php-cs-fixer" failonerror="true">
400-
<arg value="fix"/>
401-
<arg path="${basedir}/src/Framework/Assert/Functions.php"/>
402-
</exec>
403-
</target>
404404
</project>
405-

0 commit comments

Comments
 (0)