Skip to content

Commit

Permalink
ci(phpcs): New sniffs for arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
LastDragon-ru committed Oct 30, 2022
1 parent 639c3bb commit 4703d54
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"phpstan/phpstan-phpunit": "^1.0.0",
"phpstan/phpstan-strict-rules": "^1.1.0",
"phpunit/phpunit": "^9.5.0",
"slevomat/coding-standard": "^8.5.2",
"slevomat/coding-standard": "^8.6.2",
"squizlabs/php_codesniffer": "^3.7.1",
"symplify/monorepo-builder": "^11.0.0"
},
Expand Down
9 changes: 9 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,4 +131,13 @@
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Commenting.DeprecatedAnnotationDeclaration"/>
<rule ref="SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing">
<properties>
<property name="linesCount" value="0"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Attributes.AttributesOrder"/>
<rule ref="SlevomatCodingStandard.Attributes.DisallowAttributesJoining"/>
<rule ref="SlevomatCodingStandard.Attributes.DisallowMultipleAttributesPerLine"/>
<rule ref="SlevomatCodingStandard.Attributes.RequireAttributeAfterDocComment"/>
</ruleset>

0 comments on commit 4703d54

Please sign in to comment.