Skip to content

Commit

Permalink
adjust tests for deprecated BracesFixer
Browse files Browse the repository at this point in the history
  • Loading branch information
keradus committed Oct 22, 2023
1 parent 17758ae commit d0e3835
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/Fixer/Basic/BracesFixerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ public static function provideFixMissingBracesAndIndentCases(): iterable
$a = "a";
} elseif (3) {
$b = "b";
// comment
// comment
} else {
$c = "c";
}
Expand Down Expand Up @@ -1898,7 +1898,7 @@ public function __construct(
$a = "a";
} elseif (3) {
$b = "b";
// comment
// comment
} else {
$c = "c";
}
Expand All @@ -1918,7 +1918,7 @@ public function __construct(
// comment line 1
// comment line 2
// comment line 3
// comment line 4
// comment line 4 - @TODO: treat all 4 lines same way
} else {
$c = "c";
}
Expand All @@ -1933,7 +1933,7 @@ public function __construct(
// comment line 1
// comment line 2
// comment line 3
// comment line 4
// comment line 4 - @TODO: treat all 4 lines same way
} else {
$c = "c";
}
Expand Down Expand Up @@ -3222,10 +3222,10 @@ public static function provideFixCommentBeforeBraceCases(): iterable
// 2.5+ API
if (isNewApi()) {
echo "new API";
// 2.4- API
// 2.4- API
} elseif (isOldApi()) {
echo "old API";
// 2.4- API
// other API
} else {
echo "unknown API";
// sth
Expand Down

0 comments on commit d0e3835

Please sign in to comment.