Skip to content

Commit

Permalink
Backport #5577 to PHPUnit 9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Nov 27, 2023
1 parent 5585037 commit 28ab1a1
Show file tree
Hide file tree
Showing 3 changed files with 1,661 additions and 5 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

# Composer
/vendor
/composer.lock

# Apache Ant
/.ant_targets
Expand Down
6 changes: 2 additions & 4 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<delete dir="${basedir}/build/artifacts"/>
<delete dir="${basedir}/build/tmp"/>
<delete dir="${basedir}/vendor"/>
<delete file="${basedir}/composer.lock"/>

<property name="clean.done" value="true"/>
</target>
Expand All @@ -30,12 +29,12 @@
</target>

<target name="-dependencies-installed">
<available file="${basedir}/composer.lock" property="dependencies-installed"/>
<available type="dir" file="${basedir}/vendor" property="dependencies-installed"/>
</target>

<target name="install-dependencies" unless="dependencies-installed" depends="-dependencies-installed,validate-composer-json" description="Install dependencies with Composer">
<exec executable="${basedir}/tools/composer" taskname="composer">
<arg value="update"/>
<arg value="install"/>
<arg value="--no-interaction"/>
<arg value="--no-progress"/>
<arg value="--no-ansi"/>
Expand Down Expand Up @@ -436,7 +435,6 @@

<target name="build-phar-and-run-phar-specific-tests" depends="clean,phar-snapshot" description="Build PHAR and run the PHAR-specific tests with it">
<delete dir="${basedir}/vendor"/>
<delete file="${basedir}/composer.lock"/>

<antcall target="run-phar-specific-tests"/>
</target>
Expand Down

0 comments on commit 28ab1a1

Please sign in to comment.