Skip to content

Commit

Permalink
Squiz/ControlSignature: add missing property reset
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Dec 7, 2023
1 parent 605e261 commit a949e13
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,9 @@ $r = match ($x) {

$r = match($x){1 => 1};

// Reset property.
// @codingStandardsChangeSetting Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 1

// Intentional parse error. This should be the last test in the file.
foreach
// Some unrelated comment.
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,9 @@ $r = match ($x) {
$r = match ($x) {
1 => 1};

// Reset property.
// @codingStandardsChangeSetting Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 1

// Intentional parse error. This should be the last test in the file.
foreach
// Some unrelated comment.

0 comments on commit a949e13

Please sign in to comment.