Skip to content

Commit

Permalink
Enforce named argument spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
mmoll committed Dec 8, 2023
1 parent bda553f commit 05b9058
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions MO4/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@
<property name="ignoreMultiLine" value="true"/>
</properties>
</rule>
<!-- Enforce consistent spacing of named arguments -->
<rule ref="SlevomatCodingStandard.Functions.NamedArgumentSpacing"/>
<!-- Require static closures for microoptimization -->
<rule ref="SlevomatCodingStandard.Functions.StaticClosure"/>
<!-- Forbid unused function parameters -->
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"php": "~7.2 || ~8.0",
"dealerdirect/phpcodesniffer-composer-installer": "~0.7 || ~1.0",
"escapestudios/symfony2-coding-standard": "^3.10.0",
"slevomat/coding-standard": "^8.12",
"slevomat/coding-standard": "^8.14",
"squizlabs/php_codesniffer": "^3.6.2"
},
"require-dev": {
Expand Down

0 comments on commit 05b9058

Please sign in to comment.