WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/20/2019 10:01:36 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Code Modernization: Remove all code using a version_compare() with a PHP version older than PHP 5.6.

Props jrf.
Fixes #48074.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/compat.php

    r46205 r46214  
    250250        }
    251251
    252         if ( version_compare( PHP_VERSION, '5.4', '<' ) ) {
    253             $this->markTestSkipped( 'ResourceBundle is only countable in PHP 5.4+' );
    254             return;
    255         }
    256 
    257252        $this->assertTrue( is_countable( new ResourceBundle( 'en', null ) ) );
    258253    }
Note: See TracChangeset for help on using the changeset viewer.