mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 14:46:19 +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