mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +08:00
committed by
Alexander Makarov
parent
75dbdb0083
commit
bce830a8b0
@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user