diff --git a/Tests/DeprecationErrorHandler/log_file.phpt b/Tests/DeprecationErrorHandler/log_file.phpt index fe14db7..12f9ed4 100644 --- a/Tests/DeprecationErrorHandler/log_file.phpt +++ b/Tests/DeprecationErrorHandler/log_file.phpt @@ -1,7 +1,7 @@ --TEST-- Test DeprecationErrorHandler with log file --SKIPIF-- -=')) die('Skipping on PHPUnit 10+'); +=')) echo 'Skipping on PHPUnit 10+'; --FILE-- =')) die('Skipping on PHPUnit 10+'); +=')) echo 'Skipping on PHPUnit 10+'; --FILE-- =')) die('Skipping on PHPUnit 10+'); +if ('\\' === DIRECTORY_SEPARATOR && !extension_loaded('mbstring')) echo 'Skipping on Windows without mbstring'; +if (!getenv('SYMFONY_PHPUNIT_VERSION') || version_compare(getenv('SYMFONY_PHPUNIT_VERSION'), '10.0', '>=')) echo 'Skipping on PHPUnit 10+'; --FILE-- =')) die('Skipping on PHPUnit 10+'); +if ('\\' === DIRECTORY_SEPARATOR && !extension_loaded('mbstring')) echo 'Skipping on Windows without mbstring'; +if (!getenv('SYMFONY_PHPUNIT_VERSION') || version_compare(getenv('SYMFONY_PHPUNIT_VERSION'), '10.0', '>=')) echo 'Skipping on PHPUnit 10+'; --FILE--