Skip to content

Releases: inpsyde/php-coding-standards

v2.0.1

28 Jan 08:08
5167aed
Compare
Choose a tag to compare

Maintenance Mode

Important

Please note that development on this package has shifted to maintenance mode only. We remain committed to fixing bugs, ensuring compatibility, and addressing security concerns until July 31, 2025. New features are not planned at this time. Maintenance mode will end on August 1, 2025, effectively marking the End-of-Life date of this package.

For active projects, we strongly recommend migrating to syde/phpcs, the next-generation Syde PHP Coding Standards for WordPress development at scale, supporting PHP 8.1+. Please refer to the dedicated Migration docs to get a high-level understanding of the potential migration effort.

Full Changelog: 2.0.0...2.0.1

v2.0.0

18 Dec 16:17
a8d0c51
Compare
Choose a tag to compare

What's Changed

Migrating from 1.x to 2.x

While there is a big difference between version 1.x and 2.x, both in terms of internal code structure and sniffs and (third-party) standards being used, in most cases, migrating to the new version is as simple as re-requiring the package (with all dependencies):

composer require --dev inpsyde/php-coding-standards -W

Documentation

For an up-to-date documentation of the standards, please refer to the README.md file, as well as the list of custom sniffs.

New Contributors

Full Changelog: 1.0.0...2.0.0

v2.0.0-beta.7

15 Nov 09:49
ea91b8d
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.0-beta.6...2.0.0-beta.7

v2.0.0-beta.6

09 Sep 14:11
8704dd1
Compare
Choose a tag to compare

What's Changed

  • [Templates] AlternativeControlStructure and ShortEchoTag sniffs by @shvlv in #97

Full Changelog: 2.0.0-beta.5...2.0.0-beta.6

v2.0.0-beta.5

25 Jul 06:28
b883fe6
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.0-beta.4...2.0.0-beta.5

v2.0.0-beta.4

13 Mar 18:37
6d87e51
Compare
Choose a tag to compare

Changed

  • Updated license and handle company name re-branding, by @Chrico
  • Removed license text from each file, by @gmazzap
  • Synced development with version/2 and made the latter the default branch

Fixed

  • Usage of InpsydeTemplates, by @shvlv
  • Add e2e tests, and re-organize tests code, by @shvlv
  • Unused code cleanup, by @gmazzap

Full Changelog: 2.0.0-beta.3...2.0.0-beta.4

v2.0.0-beta.3

28 Feb 19:10
4571e6e
Compare
Choose a tag to compare

Added

Fixed

  • False positive for invalid return type when declaring \Iterator or \Traversable or iterable and not returning a generator. by @gmazzap

Full Changelog: 2.0.0-beta.2...2.0.0-beta.3

v2.0.0-beta.2

28 Feb 11:46
b53f4bf
Compare
Choose a tag to compare

Added

Changed

  • Documentation improvements (by @shvlv)
  • Fixed Psalm issues (props @gmazzap)

Full Changelog: 2.0.0-beta.1...2.0.0-beta.2

v2.0.0-beta.1

10 Jan 14:39
b109e05
Compare
Choose a tag to compare

Added

  • Add checks for Emacs UTF-8 file header (EncodingCommentSniff) (See #50).
  • Add checks for ensuring space after casting (See #55).
  • Add checks for priority used on hooks and filters (HooPriorityLimit) (See #75).
  • Embrace PHPCSUtils (See #72).

Changed

  • Upgrade automattic/vipwpcs to ^3.0.0.
  • Modernize existing sniffs (See #73).

v1.0.0

28 Feb 11:59
Compare
Choose a tag to compare

First stable release.