Repository navigation
0.14.8
Bugfixes
- Removed invalid skips.
Improvements
- Compatibility with new PHPCS release 3.5.0 - silenced buggy sniffs for now since they are covered by Spryker ones anyway
- Added new PSR12 sniffs
- Added new Spryker.Commenting.DocBlockNoEmpty sniff
- Added new Spryker.Commenting.DocBlockTag sniff
- Added new Spryker.Commenting.DocBlockInherit sniff
Doc blocks are now more correctly checked. Whitespace around tags included.
Union type array notation support
Spryker now allows using union type arrays for param/return annotations.
string[]|int[] means something slightly different than (string|int)[]. The latter is now also supported and encouraged to be used when the stacks are not completely of one type but of possibly multiple types.
This syntax still focuses on the value of the array, not the key.
inheritDoc
Spryker now normalizes inheritdoc to inheritDoc, both for partial ({@inheritDoc}) and full (@inheritDoc) overwrite.
The partial is only allowed for textual overwrite and has to re-define all other tags. The full overwrite includes all tags. {inheritDoc} is auto-fixed to proper {@inheritDoc}.