v5.0.0
5.0.0
- Total pull requests resolved: 37
- Total contributors: 5
New sniff
- 39: Add ShortList sniff thanks to @carusogabriel
- 43: [RFC] Reference global classes via
use
thanks to @deeky666 - 51: Enable UseSpacing sniff thanks to @Majkl578
- 59: Enable NamespaceSpacing sniff thanks to @Majkl578
- 65: Use new Generic.PHP.LowerCaseType Sniff thanks to @carusogabriel
- 68: UselessAliasSniff to report unnecessaries alias thanks to @carusogabriel
- 69: Add UselessSemicolon sniff thanks to @carusogabriel
- 70: Add UselessParentheses sniff thanks to @carusogabriel
- 71: Add Sniff for force null type hint to be on the last position on annotations thanks to @carusogabriel
- 72: Add Sniff to report useless variables thanks to @carusogabriel
- 73: Add Sniff to reported unused variables passed to closures thanks to @carusogabriel
- 76: Enable StaticClosure sniff thanks to @Majkl578
- 78: Enable ModernClassNameReference sniff thanks to @Majkl578
- 80: Enable TraitUseDeclarationSniff & TraitUseSpacingSniff thanks to @Majkl578
- 82: Enable UselessConstantTypeHintSniff thanks to @Majkl578
- 83: Add sniff to require assignment operators when possible thanks to @carusogabriel
- 88: phpDoc annotation spacing thanks to @Majkl578
- 89: Enable OptimizedFunctionsWithoutUnpacking sniff thanks to @Majkl578
Documentation
- 81: Update homepage thanks to @Majkl578
- 86: Document how to customize rules thanks to @Majkl578
Improvement
- 45: Remove constraint version thanks to @yourwebmaker
- 46: Forbidden usage of settype function thanks to @carusogabriel
- 48: Forbidden usage of extract thanks to @carusogabriel
- 49: Forbidden usage of compact thanks to @carusogabriel
- 50: Remove early return duplicated entry thanks to @carusogabriel
- 53: Use SemicolonSpacing Sniff thanks to @carusogabriel
- 54: Add Generic.Arrays.ArrayIndent sniff thanks to @deeky666
- 55: Use PHPCS XML schema definition thanks to @deeky666
- 61: Improve short list syntax rule description thanks to @carusogabriel
- 62: Update to PHCS 3.3 and Slevomat/CS 4.6.1 thanks to @carusogabriel
- 64: Remove duplicated ShortOpenTags thanks to @carusogabriel
- 66: Add some docs to the doctrine/coding-standard project. thanks to @jwage
- 74: Require reviews from code owners for CS changes thanks to @Majkl578
- 77: Bump patch versions of dependencies thanks to @carusogabriel
- 79: Add .doctrine-project.json to root of the project. thanks to @jwage
- 84: Use new PHPCS array syntax thanks to @carusogabriel
- 85: Validate ruleset against XML schema thanks to @Majkl578