Releases: inpsyde/php-coding-standards
Releases · inpsyde/php-coding-standards
v1.0.0-beta.1
Added
- PHPCompatibility checks
- External VIP rules
- Possibility to filter execution of tests
Changed
- Move to PSR-12
- Move to WPCS v2
- Move to PHPCS v3.3
- Upgrade
dealerdirect/phpcodesniffer-composer-installer
to^0.5
- Extend type declaration exclusion for hooks static closures
- Simplify customization of
ElementNameMinimalLength
- Allow blank line after method with single line declaration
- Ignore in return type declaration check all methods that start with
__
- Remove
PHPCSAliases
class - Remove configuration values in provided
ruleset.xml
- Improved README and documentation
v0.13.4
v0.13.3
v0.13.2
v0.13.1
v0.13.0
v0.12.0
v0.11.0
- Fix false positive in
ReturnTypeDeclarationSniff
with nullable types. - Relax check for missing return type when
{aType}|null
doc bloc is present. - Add
is
to the list of allowed short names. - Added
FunctionBodyStartSniff
to deal with blank lines on top of functions body. - Added
VariablesNameSniff
. - Improved
PhpcsHelpers::variableIsProperty()
. - Improved failure handling in FixturesTest.
- Use NeutronStandard by opting-in rules instead of opting-out
- Properly handle Generators and return types.
v0.10.0
- Renamed sniffs namespace (breaking change).
Sniff are now referenced viaInpsyde.CodeQuality...
instead ofInpsydeCodingStandard.CodeQuality...
- Add
Psr4Sniff
to check PSR-4 compliance of files that contain classes auto-loadable entities. - Minor tweaks to sniff.
- Improved documentation for custom sniffs and their configuration.