mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6.
Props jrf. Fixes #48074. git-svn-id: https://develop.svn.wordpress.org/trunk@46214 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -249,11 +249,6 @@ EOT;
|
||||
$this->markTestSkipped( 'The intl extension is not loaded. ResourceBundle not tested for is_countable().' );
|
||||
}
|
||||
|
||||
if ( version_compare( PHP_VERSION, '5.4', '<' ) ) {
|
||||
$this->markTestSkipped( 'ResourceBundle is only countable in PHP 5.4+' );
|
||||
return;
|
||||
}
|
||||
|
||||
$this->assertTrue( is_countable( new ResourceBundle( 'en', null ) ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user