File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/Standards/Squiz/Tests/ControlStructures Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ else :
212
212
echo 'not 1 ' ;
213
213
endif ;
214
214
215
- // @codingStandardsChangeSetting Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 0
215
+ // phpcs:set Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 0
216
216
217
217
if ($ a == 5 ):
218
218
echo "a equals 5 " ;
@@ -305,7 +305,7 @@ $r = match ($x) {
305
305
306
306
$ r = match ($ x ){1 => 1 };
307
307
308
- // @codingStandardsChangeSetting Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 2
308
+ // phpcs:set Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 2
309
309
if ($ a == 5 ):
310
310
echo "a equals 5 " ;
311
311
echo "... " ;
@@ -317,7 +317,7 @@ else :
317
317
endif ;
318
318
319
319
// Reset property.
320
- // @codingStandardsChangeSetting Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 1
320
+ // phpcs:set Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 1
321
321
322
322
// Intentional parse error. This should be the last test in the file.
323
323
foreach
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ else :
215
215
echo 'not 1';
216
216
endif;
217
217
218
- // @codingStandardsChangeSetting Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 0
218
+ // phpcs:set Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 0
219
219
220
220
if ($a == 5):
221
221
echo "a equals 5";
@@ -309,7 +309,7 @@ $r = match ($x) {
309
309
$r = match ($x) {
310
310
1 => 1};
311
311
312
- // @codingStandardsChangeSetting Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 2
312
+ // phpcs:set Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 2
313
313
if ($a == 5) :
314
314
echo "a equals 5";
315
315
echo "...";
@@ -321,7 +321,7 @@ else :
321
321
endif;
322
322
323
323
// Reset property.
324
- // @codingStandardsChangeSetting Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 1
324
+ // phpcs:set Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 1
325
325
326
326
// Intentional parse error. This should be the last test in the file.
327
327
foreach
You can’t perform that action at this time.
0 commit comments