Skip to content

Commit cb5810a

Browse files
authored
Merge pull request #1285 from symfony/config-bootstrap-removal
Remove `config/bootstrap.php` when not needed anymore
2 parents 46a908b + 3d7366d commit cb5810a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

symfony/phpunit-bridge/5.3/manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@
99
".phpunit.result.cache",
1010
"/phpunit.xml"
1111
],
12+
"conflict": {
13+
"symfony/framework-bundle": "<5.4"
14+
},
1215
"aliases": ["simple-phpunit"]
1316
}

symfony/phpunit-bridge/5.3/tests/bootstrap.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44

55
require dirname(__DIR__).'/vendor/autoload.php';
66

7-
if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
8-
require dirname(__DIR__).'/config/bootstrap.php';
9-
} elseif (method_exists(Dotenv::class, 'bootEnv')) {
7+
if (method_exists(Dotenv::class, 'bootEnv')) {
108
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
119
}
1210

symfony/phpunit-bridge/6.3/manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"/phpunit.xml"
1111
],
1212
"conflict": {
13-
"phpunit/phpunit": "<9.6"
13+
"phpunit/phpunit": "<9.6",
14+
"symfony/framework-bundle": "<5.4"
1415
},
1516
"aliases": ["simple-phpunit"]
1617
}

symfony/phpunit-bridge/6.3/tests/bootstrap.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44

55
require dirname(__DIR__).'/vendor/autoload.php';
66

7-
if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
8-
require dirname(__DIR__).'/config/bootstrap.php';
9-
} elseif (method_exists(Dotenv::class, 'bootEnv')) {
7+
if (method_exists(Dotenv::class, 'bootEnv')) {
108
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
119
}
1210

0 commit comments

Comments
 (0)