Skip to content

Releases: pantheon-systems/Pantheon-WP-Coding-Standards

3.0.1

21 Jul 20:47
40a97fc
Compare
Choose a tag to compare

What's Changed

Full Changelog: 3.0.0...3.0.1

3.0.0

18 Jul 19:27
79ee409
Compare
Choose a tag to compare

Breaking Changes

This update adds some changes that will cause previously-passing sniff checks to fail for two three sniffs that are added specifically to our Pantheon-WP and Pantheon-WP-Minimum standards.

  • Pantheon_WP.Commenting.DisallowMultilineSlashComment.LongLine - This sniff will ERROR if a comment is longer than 80 columns.
  • Pantheon_WP.Commenting.DisallowMultilineSlashComment.Found - This sniff will ERROR if there are multiple consecutive comments with //-style syntax. (/* .... */ syntax preferred).
  • Pantheon_WP_Minimum.Commenting.DisallowMultilineSlashComment.Found - This sniff will WARN if there are multiple consecutive comments with //-style syntax. (/* .... */ syntax preferred). (Note: this is the same as the above, the severity level is lower for Pantheon-WP-Minimum.)
  • Pantheon_WP_Minimum.Files.DisallowRenameFunction.RenameFunctionDisallowed - This sniff will ERROR if the PHP rename() function is found (replaces the WordPress.WP.AlternativeFunctions.rename_rename sniff).

Code should be evaluated against the new changes before upgrading to 3.0.

Dropped support for PHP < 8.0

Updated dependencies of Pantheon WP Coding Standards requires PHP 8.0 or above. If you want to use these standards and are still using PHP 7.x, you will need to use the 2.x versions.

What's Changed

New Contributors

Full Changelog: 2.0.3...3.0.0

2.0.3

05 Jul 21:40
5008d74
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.2...2.0.3

2.0.2

07 Jun 20:18
fabb264
Compare
Choose a tag to compare

What's Changed

  • Exclude linting warning for $_SERVER['HTTP_USER_AGENT'] by @jazzsequence in #6

Full Changelog: 2.0.1...2.0.2

2.0.1

12 Dec 16:18
dbaf18c
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.0...2.0.1

2.0.0

12 Sep 17:25
7262d7b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.0.1...2.0.0

1.0.1

14 Apr 16:54
1e8fb65
Compare
Choose a tag to compare

What's Changed

  • Ignore WPVIPMinimum rules that suggest VIP-specific functions by @jazzsequence in #2

Full Changelog: 1.0.0...1.0.1

1.0.0

17 Feb 16:18
9555c8e
Compare
Choose a tag to compare

Initial release of Pantheon WP Coding Standards 🎉

Full Changelog: https://github.com/pantheon-systems/Pantheon-WP-Coding-Standards/commits/1.0.0