The 5.0 release will be used by cake 5 core and plugin packages. The primary changes involve type declarations and type hints for PHP 8.0+.
What's Changed
- cake 5: Switch to slevomat parameter typehint sniffs by @othercorey in #329
- cake 5: Switch to slevomat return typehint sniff by @othercorey in #331
- cake 5: Extend doc comment and attribute spacing checks by @othercorey in #332
- cake 5: Add function tag alignment check by @othercorey in #334
- cake 5: Sort param and return type hints by @othercorey in #335
- Convert array type to generic in non-unions by @othercorey in #338
- cake 5: Add slevomat property type hint sniffs by @othercorey in #339
- Add sniff to require use statements by @othercorey in #342
- Add support for scalar type by @othercorey in #345
- Don't sort unknown generics as arrays by @othercorey in #346
- 5.x: Enable missing native type hint sniffs by @othercorey in #349
- Remove parenthesis next to commas by @othercorey in #352
- Add missing docblock closer by @othercorey in #353
- Add $this and self to sort list by @othercorey in #354
- Simplify test case for TypeHintSniff by @othercorey in #355
- Add option to skip legacy generics by @othercorey in #359
- Add explicit dependency on phpstan/phpdoc-parser by @othercorey in #360
- Bump up slevomat coding standard. by @ADmad in #362
- Add test for intersections to type hint sniff by @othercorey in #364
- Bump up slevomat/coding-standard by @ADmad in #365
Full Changelog: 4.6.0...5.0.0