Skip to content

Commit 9dad29d

Browse files
committed
bug symfony#30640 [Phpunit] fixed support for PHP 5.3 (fabpot)
This PR was merged into the 3.4 branch. Discussion ---------- [Phpunit] fixed support for PHP 5.3 | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no <!-- don't forget to update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | n/a | License | MIT | Doc PR | n/a Compat with PHP 5.3 was broken by symfony#30496 <!-- Write a short README entry for your feature/bugfix here (replace this comment block.) This will help people understand your PR and can be used as a start of the Doc PR. Additionally: - Bug fixes must be submitted against the lowest branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too). - Features and deprecations must be submitted against the master branch. --> Commits ------- 606b8af [Phpunit] fixed support for PHP 5.3
2 parents 9ee5248 + 606b8af commit 9dad29d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bridge/PhpUnit/bin/simple-phpunit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ if ('phpdbg' === PHP_SAPI) {
4444
$PHP .= ' -qrr';
4545
}
4646

47-
$defaultEnvs = [
47+
$defaultEnvs = array(
4848
'COMPOSER' => 'composer.json',
4949
'COMPOSER_VENDOR_DIR' => 'vendor',
5050
'COMPOSER_BIN_DIR' => 'bin',
51-
];
51+
);
5252

5353
foreach ($defaultEnvs as $envName => $envValue) {
5454
if ($envValue !== getenv($envName)) {

0 commit comments

Comments
 (0)