Skip to content

PHPUnit 7#1091

Merged
morozov merged 1 commit into
phpbrew:masterfrom
morozov:phpunit-7
Dec 12, 2019
Merged

PHPUnit 7#1091
morozov merged 1 commit into
phpbrew:masterfrom
morozov:phpunit-7

Conversation

@morozov
Copy link
Copy Markdown
Contributor

@morozov morozov commented Dec 12, 2019

  1. DiffPatchRule::backup() was mistakenly removed by Code cleanup #1087 and has been restored. The missing implements PatchRule statement has been added for clarity.
  2. The logic of InstallCommandTest::testKnownCommand() was moved under ::testInstallCommand() by Speed up slow tests on PHP 5 #1079, so the dependency is no longer relevant.
  3. PathCommandTest::testPathCommand() used to depend on ::testUseLatestPHP()which would set the PHPBREW_PHP environment variable but was removed since it was not in fact used.
  4. The expectation of --with-apxs2= is replaced with --with-apxs2 for the same reason as in Cleaned up the test suite a bit #1070.
  5. The PHPUnit_Framework_TestCase class alias is declared conditionally since it may or may not be needed depending on the actually used PHPUnit version.

1. `DiffPatchRule::backup()` was mistakenly removed by #1087 and has been restored. The missing `implements PatchRule` statement has been added for clarity.
2. The logic of `InstallCommandTest::testKnownCommand()` was moved under `::testInstallCommand()`, so the dependency is no longer relevant.
3. `PathCommandTest::testPathCommand()` depended on `::testUseLatestPHP()` which would set the PHPBREW_PHP environment variable but was removed since it was not in fact used.
4. The expectation of `--with-apxs2=` is replaced with `--with-apxs2` for the same reason as in #1070.
5. The `PHPUnit_Framework_TestCase` class alias is declared conditionally since it may or may not be needed depending on the actually used PHPUnit version.
@morozov morozov self-assigned this Dec 12, 2019
@morozov morozov added Improvement Patching PHP Resolving the issue requires patching PHP sources Regression A bug that that was introduced as part of a feature or another bug fix Test Suite labels Dec 12, 2019
@morozov morozov added this to the Release 1.25.0 milestone Dec 12, 2019
@morozov morozov merged commit 196861f into phpbrew:master Dec 12, 2019
@morozov morozov deleted the phpunit-7 branch December 12, 2019 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Improvement Patching PHP Resolving the issue requires patching PHP sources Regression A bug that that was introduced as part of a feature or another bug fix Test Suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant