Fixed tests for PHP 7.2 #15154 (#15171)

This commit is contained in:
Dmitry Dorogin
2017-11-17 10:31:03 +03:00
committed by Alexander Makarov
parent 75dbdb0083
commit bce830a8b0

View File

@ -417,7 +417,7 @@ class FileValidatorTest extends TestCase
['test.txt', 'text/*', 'txt'],
// Disabled for PHP 7.2 RC because of regression:
// https://bugs.php.net/bug.php?id=75380
version_compare(PHP_VERSION, '7.2.0.RC.1', '>=') && version_compare(PHP_VERSION, '7.2.0.RC.5', '<=')
version_compare(PHP_VERSION, '7.2.0.RC.1', '>=') && version_compare(PHP_VERSION, '7.2.0.RC.6', '<=')
? null
: ['test.xml', '*/xml', 'xml'],
['test.odt', 'application/vnd*', 'odt'],