Skip to content

Commit

Permalink
Merge pull request #136 from PHPCSStandards/feature/squiz-controlsig-…
Browse files Browse the repository at this point in the history
…minor-test-tweak

Squiz/ControlSignature: add missing property reset
  • Loading branch information
jrfnl committed Dec 7, 2023
2 parents 8faa7c3 + b8065eb commit f83010f
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 f83010f

Please sign in to comment.