Repository navigation
0.14.0
Included commits: 0.13.1...0.14.0
Bugfixes
- Fixed "chainable methods" return type assertion. We cannot typehint with
: selffor$thisreturning methods. The sniff makes sure that the doc block is the only return type information.
Improvements
- Introducing sniffer ruleset
SprykerStrict. It ships with PHP7.1+ typehinting auto-fixing. This can change behavior, introduces possible extendability issues and must be applied carefully (we at Spryker only use it for new code/modules or major refactors). By default the currentSprykerstandard will still be used for all core and project checks - and we recommend projects to also continue to use that one. - Added SlevomatCodingStandard.Classes.ModernClassNameReference sniff.
For details see the included list of sniffs in docs/ folder.
Please note:
You can always configure your project level to include/exclude certain sniffs.
This can help migrating when extending and applying a new core ruleset by slowly including the new sniffs via master branch updates until all are applied. Then, after a certain period of time to allow adjusting all feature branches (git merge origin/master), you have the ruleset and quality checks in place without any fallout for your current project development.