Releases: object-calisthenics/phpcs-calisthenics-rules
Releases · object-calisthenics/phpcs-calisthenics-rules
Released phpcs-calisthenics-rules 3.6 with PHP 7.2+
This release now requires PHP 7.2 as minimum version, since PHP 7.1 is going EOL in 2 weeks
Released Version 3.2
Changed
- [#77] bump to Symplify 4, use EasyCodingStandardTester for tests
Released Version 3.1
Changed
-
bump
squizlabs/php_codesniffer
to^3.1
-
#72 ECS setup simplifed
Released Version 2.0.1
Added
- #70 Added composer plugin type, allows related composer installation Thank you @GaryJones
See full diff: v2.0.0...v2.0.1
Released Version 3.0
Added
- rule #9: add setter checking Sniff, thanks @mihaeu
- rule #6: add exception for short variable names thanks to @roukmoute
- improve README with code examples, how to configure in PHP_CodeSniffer and EasyCodingStandard
- add package type
phpcodesniffer-standard
, thanks @frenck - add EasyCodingStandard for checking coding standard
Changed
- require PHP 7.1
- require CodeSniffer 3.0.1
- use
phpstan
level 7 - use Coveralls over Scrutinizer for coverage check
- rule #6: 4 sniffs simplified to 1
- various sniff improvements thanks to @UFOMelkor
- rule #7: make configurable
Removed
Complete Diffs to Version 2.0
v3.0.0-RC3
- #59
- make nicer README with examples, emojis and links to real configuration
- fix missing rules
- drop unused helper classes
Readme improvements, move #8 to unsupported (domain dependent)
- #58
- enabled EasyCodingStandard
- drop #8 rule, depends on specific domain, cannot be clearly limited d3eb237
- merged few naming sniffs to one
- #55 - fixed error for nesting level, Thanks @phux
- #53 - fixed OneObjectOperatorPerLine, Thank to @UFOMelkor
Make rules less strict, usable and configurable, bump to CodeSniffer 3.0-*
git push origin masterMerge branch 'UFOMelkor-feature/fluent-interfac… …e-detection'
Released version 2.0
v1.0.1 - Stable release for users
Fixed issues:
- No autoloader configuration for OC rules
- array_map() issue with error list to be displayed
- Lack of documentation on how to activate for projects
- If @var tag is wrong, it was breaking the phpcs execution
- Fixed fatal error with phpcs being unable to instantiate abstract classes
- Removed class docblock comments enforcement (for now) since it was heavily conflicting with Doctrine annotations