Releases: consistence/coding-standard
Releases · consistence/coding-standard
Release list
3.10.1
3.10
Maintenance
- Slevomat Coding Standard 6.x (#59 thanks to @kukulich)
3.9
Improvements
- Check spacing before assignments (#58)
Maintenance
- PHP_CodeSniffer 3.5 (#57 thanks to @janlanger)
3.8
3.7
3.6
3.5
- Additional sniffs for checking current standard (#50)
- check that
@varis not used for constants - check that PHPDoc containing only
{@inheritDoc}is not used
- check that
3.4
- Check PHPDoc and typehints declaration (#45)
- check for missing property types in PHPDoc
@var - check for missing typehints in case they can be declared
- check for missing
@returnand/or native return typehint in case the method body contains return with a value - check for useless doc comments
- forces to specify what's in traversable types like
array,iterableand\Traversable
- check for missing property types in PHPDoc
3.3.1
- Exclude errors reporting false positives for multi line nested array access (#44)
3.3
- Additional sniffs for checking current standard (#43)
- check more language construct spacing cases
- check that PHP types used for type hints, return types, and type casting are lowercase
- check whitespace inside parenthesis that do not belong to a function call/declaration or control structure