Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bbf00d2

Browse files
committed
minor #18304 [phpunit] disable prophecy (nicolas-grekas)
This PR was merged into the 2.3 branch. Discussion ---------- [phpunit] disable prophecy | Q | A | ------------- | --- | Branch? | 2.3 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Both Prophecy and Symfony require some phpdocumentor dependencies, but incompatible versions. Since we don't use Prophecy, let's disable it. phpunit-mock-objects is forced to v3.1.1 until we fix our test suite (see sebastianbergmann/phpunit-mock-objects#299). Commits ------- ae9bae7 [phpunit] disable prophecy
2 parents 09cc0b2 + ae9bae7 commit bbf00d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

phpunit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
5151
$zip->extractTo(getcwd());
5252
$zip->close();
5353
chdir("phpunit-$PHPUNIT_VERSION");
54+
passthru("$COMPOSER remove --no-update phpspec/prophecy");
5455
passthru("$COMPOSER remove --no-update symfony/yaml");
5556
passthru("$COMPOSER require --dev --no-update symfony/phpunit-bridge \">=3.1@dev\"");
5657
passthru("$COMPOSER install --prefer-dist --no-progress --ansi", $exit);

0 commit comments

Comments
 (0)