5.0.0
版本发布时间: 2022-10-20 11:30:51
cakephp/cakephp-codesniffer最新发布版本:5.1.3(2024-08-13 20:47:58)
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 https://github.com/cakephp/cakephp-codesniffer/pull/329
- cake 5: Switch to slevomat return typehint sniff by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/331
- cake 5: Extend doc comment and attribute spacing checks by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/332
- cake 5: Add function tag alignment check by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/334
- cake 5: Sort param and return type hints by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/335
- Convert array type to generic in non-unions by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/338
- cake 5: Add slevomat property type hint sniffs by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/339
- Add sniff to require use statements by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/342
- Add support for scalar type by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/345
- Don't sort unknown generics as arrays by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/346
- 5.x: Enable missing native type hint sniffs by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/349
- Remove parenthesis next to commas by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/352
- Add missing docblock closer by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/353
- Add $this and self to sort list by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/354
- Simplify test case for TypeHintSniff by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/355
- Add option to skip legacy generics by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/359
- Add explicit dependency on phpstan/phpdoc-parser by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/360
- Bump up slevomat coding standard. by @ADmad in https://github.com/cakephp/cakephp-codesniffer/pull/362
- Add test for intersections to type hint sniff by @othercorey in https://github.com/cakephp/cakephp-codesniffer/pull/364
- Bump up slevomat/coding-standard by @ADmad in https://github.com/cakephp/cakephp-codesniffer/pull/365
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/4.6.0...5.0.0