Skip to content

Commit

Permalink
Multiple parameters are now supported on the same line in multi-line …
Browse files Browse the repository at this point in the history
…functions.
  • Loading branch information
mreduar committed Oct 17, 2022
1 parent 601f576 commit 66b3b42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to `laravel-phpcs` will be documented in this file

## 1.7.2 - 2022-10-17
- Multiple parameters are now supported on the same line in multi-line functions.

## 1.7.1 - 2022-06-20
- Updated slevomat/coding-standard to estable version.

Expand Down
3 changes: 3 additions & 0 deletions phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
<rule ref="PSR2.ControlStructures.SwitchDeclaration"/>
<rule ref="PSR2.Files.EndFileNewline"/>
<rule ref="PSR2.Methods.MethodDeclaration"/>
<rule ref="PSR2.Methods.FunctionCallSignature">
<exclude name="PSR2.Methods.FunctionCallSignature.MultipleArguments"/>
</rule>
<rule ref="PSR2.Namespaces.NamespaceDeclaration"/>
<rule ref="PSR2.Namespaces.UseDeclaration"/>
<rule ref="PSR1">
Expand Down

0 comments on commit 66b3b42

Please sign in to comment.