Skip to content

Commit 66b3b42

Browse files
committed
Multiple parameters are now supported on the same line in multi-line functions.
1 parent 601f576 commit 66b3b42

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

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

5+
## 1.7.2 - 2022-10-17
6+
- Multiple parameters are now supported on the same line in multi-line functions.
7+
58
## 1.7.1 - 2022-06-20
69
- Updated slevomat/coding-standard to estable version.
710

phpcs.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@
7171
<rule ref="PSR2.ControlStructures.SwitchDeclaration"/>
7272
<rule ref="PSR2.Files.EndFileNewline"/>
7373
<rule ref="PSR2.Methods.MethodDeclaration"/>
74+
<rule ref="PSR2.Methods.FunctionCallSignature">
75+
<exclude name="PSR2.Methods.FunctionCallSignature.MultipleArguments"/>
76+
</rule>
7477
<rule ref="PSR2.Namespaces.NamespaceDeclaration"/>
7578
<rule ref="PSR2.Namespaces.UseDeclaration"/>
7679
<rule ref="PSR1">

0 commit comments

Comments
 (0)