Releases: projektmotor/symfony-coding-standard
Releases · projektmotor/symfony-coding-standard
Fixed typo
1.0.6 fix SlevomatCodingStandard.Commenting.UselessFunctionDocComment typo
Fix slevomat sniff BCs
BC Break
- TypeHintDeclarationSniff is dead, long live ParameterTypeHintSniff, PropertyTypeHintSniff, ReturnTypeHintSniff and UselessFunctionDocCommentSniff
- ControlStructureSpacingSniff is dead, long live BlockControlStructureSpacingSniff and JumpStatementsSpacingSniff (thanks to @grongor)
Update slevomat/coding-standard to 6.x
prevent outdated packages in projects leveraging projektmotor/symfony-coding-standard
- 2 packages are not up to date:
- phpstan/phpdoc-parser (0.3.5) latest is 0.4.3
- slevomat/coding-standard (5.0.4) latest is 6.1.5
In-/Decrement Operators
Allow post- and pre-increment as well as post- and pre-decrement operators.
Ease some more restrictive rules
Allow mixed type hints in doc blocks to allow functions to accept more generic parameters.
Allow "Trait"/"Abstract" as part of class names.
Add behat specific rules
v1.0.1 Add behat specific rules
Initial Release
Adopted coding standard of symfony from
https://github.com/djoos/Symfony-coding-standard
and some sniffs from
https://github.com/slevomat/coding-standard
to our needs.