8000 Don't use `die()` in PHPT `--SKIPIF--` · symfony/runtime@06fa5c8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 06fa5c8

Browse files
committed
Don't use die() in PHPT --SKIPIF--
Unlocks a performance optimization in PHPUnit 11.x see https://staabm.github.io/2024/10/19/phpunit-codesprint-munich.html
1 parent 049a9f3 commit 06fa5c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/phpt/dotenv_overload.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Test Dotenv overload
33
--SKIPIF--
4-
<?php require dirname(__DIR__, 6).'/vendor/autoload.php'; if (4 > (new \ReflectionMethod(\Symfony\Component\Dotenv\Dotenv::class, 'bootEnv'))->getNumberOfParameters()) die('Skip because Dotenv version is too low');
4+
<?php require dirname(__DIR__, 6).'/vendor/autoload.php'; if (4 > (new \ReflectionMethod(\Symfony\Component\Dotenv\Dotenv::class, 'bootEnv'))->getNumberOfParameters()) echo 'Skip because Dotenv version is too low';
55
--INI--
66
display_errors=1
77
--FILE--

0 commit comments

Comments
 (0)
0