Skip to content

Commit

Permalink
Merge branch 'php-8.0/pear-objectoperatorindent-test-named-params' of h…
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Mar 10, 2021
2 parents 2a2456f + 041af89 commit f1390c5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,9 @@ $someObject?->someFunction("some", "parameter")
->someOtherFunc3(23, 42)
?->andAThirdFunction();
// phpcs:set PEAR.WhiteSpace.ObjectOperatorIndent multilevel false

$someObject
->startSomething(paramName: $value)
->someOtherFunc(nameA: 23, nameB: 42)
->endSomething($value, name: $value)
->endEverything();
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,9 @@ $someObject?->someFunction("some", "parameter")
->someOtherFunc3(23, 42)
?->andAThirdFunction();
// phpcs:set PEAR.WhiteSpace.ObjectOperatorIndent multilevel false

$someObject
->startSomething(paramName: $value)
->someOtherFunc(nameA: 23, nameB: 42)
->endSomething($value, name: $value)
->endEverything();
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ public function getErrorList()
122 => 1,
131 => 1,
134 => 1,
140 => 1,
141 => 1,
142 => 1,
];

}//end getErrorList()
Expand Down

0 comments on commit f1390c5

Please sign in to comment.