Make WordPress Core


Ignore:
Timestamp:
06/03/2020 05:38:56 PM (5 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/src/wp-includes/class-simplepie.php

    r47733 r47902  
    31663166
    31673167        $class = get_class($this);
    3168         $trace = debug_backtrace();
     3168        $trace = debug_backtrace(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
    31693169        $file = $trace[0]['file'];
    31703170        $line = $trace[0]['line'];
Note: See TracChangeset for help on using the changeset viewer.