Releases: ProtonMail/php-coding-standard
Releases · ProtonMail/php-coding-standard
Version 7.0.0
What's Changed
- Update deprecated UnionTypeHintFormat by @mathroc in #18
- PHPCS 4.0 compat by @BafS in #20
- Change short closure spacing (https://www.php-fig.org/per/coding-style/#71-short-closures)
- Add "SlevomatCodingStandard.PHP.UselessParentheses"
Full Changelog: v6.0.2...v7.0.0
Version 6.0.2
What's Changed
Full Changelog: v6.0.1...v6.0.2
Version 6.0.1
What's Changed
Full Changelog: v6.0.0...v6.0.1
Version 6.0.0
What's Changed
- Cleanup by @xellio in #14
- Removed PHP 7.4 support + added new sniff for space at (inline) comment by @xellio in #15
Full Changelog: v5.2.1...v6.0.0
Version 5.2.1
Version 5.2.0
What's Changed
- Added naming sniffs by @xellio in #11
Proton.Naming.AbstractClassNameandProton.Naming.InterfaceName
New Contributors
Full Changelog: v5.1.0...v5.2.0
Version 5.1.0
What's Changed
- Update
SlevomatCodingStandard.Namespaces.UseSpacingto follow PSR-12 conventions - Add
SlevomatCodingStandard.Functions.RequireTrailingCommaInClosureUseSlevomatCodingStandard.TypeHints.ParameterTypeHintSlevomatCodingStandard.TypeHints.ReturnTypeHintSlevomatCodingStandard.TypeHints.PropertyTypeHintSlevomatCodingStandard.ControlStructures.RequireNullCoalesceEqualOperator
Full Changelog: v5.0.0...v5.1.0
Version 5.0.0
- Bumb slevomat/coding-standard to v8
- Add new rules:
- SlevomatCodingStandard.Classes.RequireConstructorPropertyPromotion
- SlevomatCodingStandard.Classes.TraitUseDeclaration
- SlevomatCodingStandard.Classes.PropertyDeclaration
- SlevomatCodingStandard.Classes.BackedEnumTypeSpacing
- SlevomatCodingStandard.TypeHints.UnionTypeHintFormat
- Update tests
Full Changelog: v4.2.0...v5.0.0
Version 4.2.0
- Add
SlevomatCodingStandard.Namespaces.DisallowGroupUserule (#7)
Version 4.1
Upgrade PHP dependency, minimum is 7.4 (to follow https://github.com/slevomat/coding-standard/blob/7.1.0/composer.json)