PHPCompatibilityWP Versions Save

PHPCompatibility ruleset for WordPress projects

2.1.5

3 weeks ago
  • Ruleset: Updated for compatibility with WordPress 6.5. Thanks @swissspidy.
  • The recommended version of the Composer PHPCS plugin is now ^1.0.
  • Other housekeeping and documentation updates. Includes contributions from @fredden and @johnbillion.

2.1.4

1 year ago
  • Composer: The package will now identify itself as a static analysis tool. Thanks @GaryJones!
  • Other housekeeping and minor documentation updates.

2.1.3

2 years ago
  • Ruleset: Updated for compatibility with WordPress 5.9.
  • README: Updated the installation instructions for compatibility with Composer >= 2.2.
  • Minor housekeeping.

2.1.2

2 years ago
  • Ruleset: Updated for compatibility with WordPress 5.8.
  • Documentation: improved installation instructions. Props Andy Fragen.

2.1.1

3 years ago
  • The recommended version of the Composer PHPCS plugin is now ^0.7.0, which offers compatibility with Composer 2.0.
  • The ruleset is now also tested against PHP 7.4 and 8.0. Note: full PHP 7.4 support is only available in combination with PHP_CodeSniffer >= 3.5.6. Note: runtime PHP 8.0 support is only available in combination with PHP_CodeSniffer >= 3.5.7, full support is expected in PHP_CodeSniffer 3.6.0.

2.1.0

4 years ago
  • Ruleset: Updated for the Sodium_Compat polyfill which is included in WordPress 5.2.
  • Composer: The recommended version of the Composer PHPCS plugin has been upped to ^0.5.0.
  • Documentation: Updated the ruleset inline documentation and the Readme to reflect the change in minimum PHP requirements for WordPress as of WP 5.2.
  • Documentation: Updated the ruleset inline documentation to include information on when each polyfill was added to/removed from WordPress.
  • CI: The rulesets are now also tested against PHP 7.3. Note: full PHP 7.3 support is only available in combination with PHP_CodeSniffer 2.9.2 or 3.3.1+ due to an incompatibility within PHP_CodeSniffer itself.

2.0.0

5 years ago
  • Ruleset: Updated for compatibility with PHPCompatibility 9.0+.
  • Composer: Added dependency for a dedicated polyfill-based PHPCompatibility ruleset.
  • CI: Added a test for the ruleset.
  • Readme: Removed the installation instructions for a non-Composer based install.

1.0.0

5 years ago

Initial release of the PHPCompatibilityWP ruleset.