Skip to content

Commit

Permalink
Merge branch '7.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jun 3, 2018
2 parents 4aef2cd + 36caa65 commit dac2085
Show file tree
Hide file tree
Showing 8 changed files with 116 additions and 142 deletions.
23 changes: 12 additions & 11 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -372,10 +372,21 @@
<exec executable="${basedir}/build/version.php" outputproperty="version" />
</target>

<target name="generate-project-documentation" depends="-phploc,-checkstyle,-phpmd,-phpunit">
<target name="generate-project-documentation" depends="-phploc,-checkstyle,-phpunit">
<exec executable="${basedir}/build/tools/phpdox" dir="${basedir}/build" taskname="phpdox"/>
</target>

<target name="update-tools">
<exec executable="phive">
<arg value="--no-progress"/>
<arg value="update"/>
</exec>

<exec executable="${basedir}/build/tools/composer">
<arg value="self-update"/>
</exec>
</target>

<target name="-phploc" depends="prepare">
<exec executable="${basedir}/build/tools/phploc" output="/dev/null" taskname="phploc">
<arg value="--count-tests"/>
Expand All @@ -395,16 +406,6 @@
</exec>
</target>

<target name="-phpmd" depends="prepare">
<exec executable="${basedir}/build/tools/phpmd" taskname="phpmd">
<arg path="${basedir}/src"/>
<arg value="xml"/>
<arg path="${basedir}/build/phpmd.xml"/>
<arg value="--reportfile"/>
<arg path="${basedir}/build/logfiles/pmd.xml"/>
</exec>
</target>

<target name="-phpunit" depends="setup">
<exec executable="${basedir}/phpunit" taskname="phpunit">
<arg value="--coverage-xml"/>
Expand Down
15 changes: 0 additions & 15 deletions build/phpcs.xml

This file was deleted.

1 change: 0 additions & 1 deletion build/phpdox.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
<source type="git" />
<source type="phploc" />
<source type="checkstyle" />
<source type="pmd" />
<source type="phpunit" />
</enrich>

Expand Down
27 changes: 0 additions & 27 deletions build/phpmd.xml

This file was deleted.

Binary file modified build/tools/php-cs-fixer
Binary file not shown.
185 changes: 97 additions & 88 deletions build/tools/phpdox

Large diffs are not rendered by default.

Binary file removed build/tools/phpmd
Binary file not shown.
7 changes: 7 additions & 0 deletions phive.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="phpab" version="^1.24.1" installed="1.24.1" location="./build/tools/phpab" copy="true"/>
<phar name="php-cs-fixer" version="^2.12.0" installed="2.12.0" location="./build/tools/php-cs-fixer" copy="true"/>
<phar name="phpdox" version="^0.11.2" installed="0.11.2" location="./build/tools/phpdox" copy="true"/>
<phar name="phploc" version="^4.0.1" installed="4.0.1" location="./build/tools/phploc" copy="true"/>
</phive>

0 comments on commit dac2085

Please sign in to comment.