Skip to content

Commit b66fefb

Browse files
committed
Fix tests to match previous changes
1 parent a1eeb4f commit b66fefb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.1.inc.fixed

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ function foo(string $bar, array $baz, ?MyClass $object) : MyClass {}
182182

183183
declare(strict_types=1);
184184

185-
function foo($c = ((BAR)?10:100)) {}
185+
function foo($c = ((BAR) ? 10 : 100)) {}
186186

187187
$res = $a ?: $b;
188188
$res = $a ?: $b;

src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public function getErrorList($testFile='')
9292
178 => 1,
9393
179 => 1,
9494
185 => 2,
95+
191 => 4,
9596
194 => 1,
9697
195 => 1,
9798
196 => 2,

0 commit comments

Comments
 (0)