Make WordPress Core


Ignore:
Timestamp:
06/03/2020 05:38:56 PM (4 years ago)
Author:
desrosj
Message:

General: Continuing to work towards a passing PHP Compatibility scan.

This is a final pass to fix PHP compatibiilty issues in the codebase with code changes or adding phpcs:ignore comments.

With this change, all PHP compatibility warnings and errors without specific tickets have been addressed (see #49810 and #41750).

Props desrosj, johnbillion, jrf.
See #49922.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcompat.xml.dist

    r47735 r47902  
    7575
    7676    <!-- Whitelist the WP DB Class for use of `mysql_` extension in PHP < 7.0. -->
    77     <rule ref="PHPCompatibility.Extensions.RemovedExtensions">
     77    <rule ref="PHPCompatibility.Extensions.RemovedExtensions.mysql_DeprecatedRemoved">
    7878        <exclude-pattern>/src/wp-includes/wp-db\.php</exclude-pattern>
    7979    </rule>
Note: See TracChangeset for help on using the changeset viewer.