v2.0.0
What's Changed
- Add "static analysis" Composer keyword by @GaryJones in #56
- Modernize: PHP 8 and WPCS 3 by @gmazzap in #69
- Remove Neutron PHP Standard by @gmazzap in #70
- Modernize sniffs & helpers and embrace PHPCSUtils by @gmazzap in #74
- Create HookPriorityLimit Sniff by @antonioeatgoat in #75
- Add sniff for Emacs UTF-8 file header by @antonioeatgoat in #77
- Add sniff for space after cast and logical not by @antonioeatgoat in #76
- Allow setUpBeforeClass method name by @tfrommen in #82
- Support PHPCompatibility 10 by @gmazzap in #83
- Add template-specific sniffs by @shvlv in #81
- Add E2E tests by @shvlv in #86
- Update and improve README by @gmazzap in #87
- Remove $ from shell snippets by @gmazzap in #88
- Improve docs and tooling by @tfrommen in #89
- Update serialization mechanism by @gmazzap in #90
- Fix RiskyTruthyFalsyComparison by @antonioeatgoat in #94
- Force zero spaces after logical not operator by @antonioeatgoat in #93
- Add sniffs for array spacing and property types by @tfrommen in #96
- Add AlternativeControlStructure and ShortEchoTag sniffs by @shvlv in #97
- Fix bug in StaticClosure sniff by @tfrommen in #99
- Add missing sniff to sniff list by @tfrommen in #101
- Lint on PHP 8.4 by @tfrommen in #102
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
- @antonioeatgoat made their first contribution in #75
- @Chrico made their first contribution in #84
- @GaryJones made their first contribution in #56
- @shvlv made their first contribution in #81
- @tfrommen made their first contribution in #82
Full Changelog: 1.0.0...2.0.0