This project adheres to Keep a CHANGELOG.
This project adheres to Keep a CHANGELOG.
- Allow PSR-4 style
ClassName.php
file names to support our migration to PSR-4 for test files. - Remove the
PEAR.Functions.FunctionCallSignature
sniff from the ruleset and replace it withPSR2.Methods.FunctionCallSignature
. This change is to allow for multi-line function calls to be formatted in a more readable way without having to insert a new line before the first argument. - Allow camelCase'd DOMDocument/DOMElement/etc. property names to not be flagged by
WordPress.NamingConventions.ValidVariableName
.
- Fix issue with files with
js
/css
in the path being ignored. - Bumping to PHP 8.1.
- Update "Prefer array syntax" rule to 3.0.
- Breaking Change: Upgraded to
automattic/vipwpcs
andwp-coding-standards/wpcs
to 3.0. See Upgrading to 2.0 for more details.
- Ignore deprecation errors in WPCS to allow it work with PHP 8.0+.
- No changes, tagging a stable release of Alley Coding Standards.
- Upgrading to
automattic/vipwpcs
v2.3.3 anddealerdirect/phpcodesniffer-composer-installer
v0.7.2.
- Add PHPCompatibilityWP sniffs to our rules, configured for PHP 8.0+
- Make template-parts rule checking more ambiguous to better support scanning standalone plugins and themes
- Added
static analysis
keyword to Composer to promote package to be installed with--dev
.
- Add PHPCompatibilityWP standard as a dependency (#9)
- Exclude plugin template parts from WordPress.NamingConventions.PrefixAllGlobals sniff (#11)
- Remove 'wp_cache_set' from forbidden functions (#12)
- Sniff name changed to Alley-Interactive.
- Composer package renamed to
alleyinteractive/alley-coding-standards
. - Allow short ternary syntax (#6)
- Initial release.