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 :
212212 echo 'not 1 ' ;
213213endif ;
214214
215- // @codingStandardsChangeSetting Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 0
215+ // phpcs:set Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 0
216216
217217if ($ a == 5 ):
218218 echo "a equals 5 " ;
@@ -305,7 +305,7 @@ $r = match ($x) {
305305
306306$ r = match ($ x ){1 => 1 };
307307
308- // @codingStandardsChangeSetting Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 2
308+ // phpcs:set Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 2
309309if ($ a == 5 ):
310310 echo "a equals 5 " ;
311311 echo "... " ;
@@ -317,7 +317,7 @@ else :
317317endif ;
318318
319319// Reset property.
320- // @codingStandardsChangeSetting Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 1
320+ // phpcs:set Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 1
321321
322322// Intentional parse error. This should be the last test in the file.
323323foreach
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ else :
215215 echo 'not 1';
216216endif;
217217
218- // @codingStandardsChangeSetting Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 0
218+ // phpcs:set Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 0
219219
220220if ($a == 5):
221221 echo "a equals 5";
@@ -309,7 +309,7 @@ $r = match ($x) {
309309$r = match ($x) {
3103101 => 1};
311311
312- // @codingStandardsChangeSetting Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 2
312+ // phpcs:set Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 2
313313if ($a == 5) :
314314 echo "a equals 5";
315315 echo "...";
@@ -321,7 +321,7 @@ else :
321321endif;
322322
323323// Reset property.
324- // @codingStandardsChangeSetting Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 1
324+ // phpcs:set Squiz.ControlStructures.ControlSignature requiredSpacesBeforeColon 1
325325
326326// Intentional parse error. This should be the last test in the file.
327327foreach
You can’t perform that action at this time.
0 commit comments