Skip to content

Commit 80db62c

Browse files
Remove bridge to Symfony 4.4 bootstrap file
1 parent d329768 commit 80db62c

File tree

4 files changed

+4
-12
lines changed

4 files changed

+4
-12
lines changed

phpunit/phpunit/10.0/tests/bootstrap.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
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
}

phpunit/phpunit/4.7/tests/bootstrap.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
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
}

phpunit/phpunit/9.3/tests/bootstrap.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
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
}

phpunit/phpunit/9.6/tests/bootstrap.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
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
}

0 commit comments

Comments
 (0)