Skip to content

Commit d1b6432

Browse files
committed
Update rules
1 parent 82fbf1a commit d1b6432

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

CHANGELOG.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

88

9-
## [Unreleased](https://github.com/inspirum/coding-standard-php/compare/v1.4.0...master)
9+
## [Unreleased](https://github.com/inspirum/coding-standard-php/compare/v1.5.0...master)
10+
11+
12+
## [v1.5.0 (2024-05-17)](https://github.com/inspirum/coding-standard-php/compare/v1.4.0...v1.5.0)
13+
### Added
14+
- Added exclude for `Generic.Formatting.MultipleStatementAlignment.NotSame` rule
15+
### Removed
16+
- Removed exclude for `SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix` rule
17+
- Removed exclude for `SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming.SuperfluousSuffix` rule
18+
- Removed exclude for `SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessAnnotation` rule
19+
- Removed exclude for `SlevomatCodingStandard.TypeHints.ParameterTypeHint.UselessAnnotation` rule
20+
- Removed exclude for `SlevomatCodingStandard.TypeHints.PropertyTypeHint.UselessAnnotation` rule
21+
1022

1123
## [v1.4.0 (2023-09-18)](https://github.com/inspirum/coding-standard-php/compare/v1.3.0...v1.4.0)
1224
### Added
@@ -28,8 +40,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2840

2941

3042
## [v1.1.1 (2022-07-04)](https://github.com/inspirum/coding-standard-php/compare/v1.1.0...v1.1.1)
31-
### Removed
32-
- Exclude `RequireOneLineDocComment` rule
43+
### Added
44+
- Added exclude `SlevomatCodingStandard.Commenting.RequireOneLinePropertyDocComment.MultiLinePropertyComment` rule
3345

3446

3547
## [v1.1.0 (2022-07-04)](https://github.com/inspirum/coding-standard-php/compare/v1.0.1...v1.1.0)

InspirumCodingStandard/ruleset.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,7 @@
22
<ruleset name="Inspirum Coding Standard" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../vendor/squizlabs/php_codesniffer/phpcs.xsd">
33
<rule ref="Doctrine">
44
<exclude name="Generic.Files.LineLength"/>
5-
<exclude name="SlevomatCodingStandard.Classes.SuperfluousAbstractClassNaming.SuperfluousPrefix"/>
65
<exclude name="SlevomatCodingStandard.Classes.SuperfluousExceptionNaming.SuperfluousSuffix"/>
7-
<exclude name="SlevomatCodingStandard.Classes.SuperfluousInterfaceNaming.SuperfluousSuffix"/>
8-
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.UselessAnnotation"/>
9-
<exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.UselessAnnotation"/>
10-
<exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.UselessAnnotation"/>
116
<exclude name="SlevomatCodingStandard.Commenting.UselessFunctionDocComment.UselessDocComment"/>
127
<exclude name="SlevomatCodingStandard.PHP.RequireExplicitAssertion.RequiredExplicitAssertion"/>
138
<exclude name="Generic.CodeAnalysis.UselessOverridingMethod.Found"/>
@@ -20,6 +15,7 @@
2015
<exclude name="SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions.NonFullyQualified"/>
2116
<exclude name="SlevomatCodingStandard.Commenting.RequireOneLineDocComment.MultiLineDocComment"/>
2217
<exclude name="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat.DisallowedShortNullable"/>
18+
<exclude name="Generic.Formatting.MultipleStatementAlignment.NotSame"/>
2319
</rule>
2420
<rule ref="Generic.Formatting.SpaceAfterNot">
2521
<properties>

0 commit comments

Comments
 (0)