mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Build/Test Tools: Update PHPCompatibilityWP to version 2.1.3.
The latest release takes the new polyfills added in WordPress 5.9 into account. This commit also removes redundant inline ignore comments for WP-polyfilled functionality. The PHPCompatibilityWP ruleset explicitly excludes those polyfills, so they don't need to be annotated as ignored. Release notes: https://github.com/PHPCompatibility/PHPCompatibilityWP/releases/tag/2.1.3 For a full list of changes in this update, see the PHPCompatibilityWP GitHub: https://github.com/PHPCompatibility/PHPCompatibilityWP/compare/2.1.2...2.1.3 Follow-up to [46290], [51543]. Props jrf. Fixes #54711. git-svn-id: https://develop.svn.wordpress.org/trunk@52425 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1384,7 +1384,6 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f
|
||||
),
|
||||
array(
|
||||
'php' => phpversion(),
|
||||
// phpcs:ignore PHPCompatibility.Constants.NewConstants.sodium_library_versionFound
|
||||
'sodium' => defined( 'SODIUM_LIBRARY_VERSION' ) ? SODIUM_LIBRARY_VERSION : ( defined( 'ParagonIE_Sodium_Compat::VERSION_STRING' ) ? ParagonIE_Sodium_Compat::VERSION_STRING : false ),
|
||||
)
|
||||
);
|
||||
@@ -1417,7 +1416,6 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f
|
||||
),
|
||||
array(
|
||||
'php' => phpversion(),
|
||||
// phpcs:ignore PHPCompatibility.Constants.NewConstants.sodium_library_versionFound
|
||||
'sodium' => defined( 'SODIUM_LIBRARY_VERSION' ) ? SODIUM_LIBRARY_VERSION : ( defined( 'ParagonIE_Sodium_Compat::VERSION_STRING' ) ? ParagonIE_Sodium_Compat::VERSION_STRING : false ),
|
||||
'polyfill_is_fast' => false,
|
||||
'max_execution_time' => ini_get( 'max_execution_time' ),
|
||||
@@ -1491,7 +1489,6 @@ function verify_file_signature( $filename, $signatures, $filename_for_errors = f
|
||||
'skipped_key' => $skipped_key,
|
||||
'skipped_sig' => $skipped_signature,
|
||||
'php' => phpversion(),
|
||||
// phpcs:ignore PHPCompatibility.Constants.NewConstants.sodium_library_versionFound
|
||||
'sodium' => defined( 'SODIUM_LIBRARY_VERSION' ) ? SODIUM_LIBRARY_VERSION : ( defined( 'ParagonIE_Sodium_Compat::VERSION_STRING' ) ? ParagonIE_Sodium_Compat::VERSION_STRING : false ),
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user