Skip to content

Commit

Permalink
There will be no more PEAR releases
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Apr 21, 2014
1 parent 8185f4b commit 4343c9b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 164 deletions.
24 changes: 0 additions & 24 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,30 +147,6 @@
<exec executable="phpdox" />
</target>

<target name="pear"
description="Create PEAR package of PHPUnit and all its dependencies (release)">
<exec executable="bash" outputproperty="version">
<arg value="-c" />
<arg value="${basedir}/phpunit --version | awk 'BEGIN { ORS = &quot;&quot;; } {print $2}'" />
</exec>

<replace file="${basedir}/src/TextUI/TestRunner.php" token="@version@" value="${version}" />

<antcall target="phar-build">
<param name="version" value="${version}"/>
</antcall>

<replace file="${basedir}/src/TextUI/TestRunner.php" token="${version}" value="@version@" />

<copy file="${basedir}/build/phpunit-${version}.phar" tofile="${basedir}/phpunit.phar" />

<exec executable="pear">
<arg value="package" />
</exec>

<delete file="${basedir}/phpunit.phar"/>
</target>

<target name="phar"
description="Create PHAR archive of PHPUnit and all its dependencies (release)"
depends="phar-prepare">
Expand Down
86 changes: 0 additions & 86 deletions package.xml

This file was deleted.

43 changes: 0 additions & 43 deletions phpunit.bat

This file was deleted.

11 changes: 0 additions & 11 deletions src/TextUI/TestRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -586,17 +586,6 @@ public static function printVersionString()
{
if (!self::$versionStringPrinted) {
self::write(PHPUnit_Runner_Version::getVersionString() . "\n\n");

if (strpos('@version@', '@version') !== 0) {
self::write(
"You have installed PHPUnit via PEAR. This installation method is no longer\n" .
"supported and http://pear.phpunit.de/ will be shut down no later than\n" .
"December, 31 2014.\n\n" .
"Please read http://phpunit.de/manual/current/en/installation.html and\n" .
"learn how to use PHPUnit from a PHAR or install it via Composer.\n\n"
);
}

self::$versionStringPrinted = true;
}
}
Expand Down

0 comments on commit 4343c9b

Please sign in to comment.