Skip to content

0.14.0

Choose a tag to compare

@dereuromark dereuromark released this 01 Feb 16:06
· 564 commits to master since this release

Included commits: 0.13.1...0.14.0

Bugfixes

  • Fixed "chainable methods" return type assertion. We cannot typehint with : self for $this returning 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 current Spryker standard 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.