Make WordPress Core


Ignore:
Timestamp:
09/20/2019 10:01:36 PM (5 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/admin/wpPrivacyRequestsTable.php

    r44628 r46214  
    2525     */
    2626    public function get_mocked_class_instance() {
    27         if ( version_compare( PHP_VERSION, '5.3', '<' ) ) {
    28             $this->markTestSkipped( 'ReflectionMethod::setAccessible is only available in PHP 5.3+' );
    29         }
    30 
    3127        $args = array(
    3228            'plural'   => 'privacy_requests',
Note: See TracChangeset for help on using the changeset viewer.