@@ -133,24 +133,6 @@ public static function dataSuppressError()
133
133
'before ' => '/** phpcs:disable */ ' .PHP_EOL ,
134
134
'after ' => '/** phpcs:enable */ ' ,
135
135
],
136
-
137
- // Deprecated syntax.
138
- 'old style: slash comment ' => [
139
- 'before ' => '// @codingStandardsIgnoreStart ' .PHP_EOL ,
140
- 'after ' => '// @codingStandardsIgnoreEnd ' ,
141
- ],
142
- 'old style: star comment ' => [
143
- 'before ' => '/* @codingStandardsIgnoreStart */ ' .PHP_EOL ,
144
- 'after ' => '/* @codingStandardsIgnoreEnd */ ' ,
145
- ],
146
- 'old style: multi-line star comment ' => [
147
- 'before ' => '/* ' .PHP_EOL .' @codingStandardsIgnoreStart ' .PHP_EOL .' */ ' .PHP_EOL ,
148
- 'after ' => '/* ' .PHP_EOL .' @codingStandardsIgnoreEnd ' .PHP_EOL .' */ ' ,
149
- ],
150
- 'old style: single line docblock comment ' => [
151
- 'before ' => '/** @codingStandardsIgnoreStart */ ' .PHP_EOL ,
152
- 'after ' => '/** @codingStandardsIgnoreEnd */ ' ,
153
- ],
154
136
];
155
137
156
138
}//end dataSuppressError()
@@ -233,16 +215,6 @@ public static function dataSuppressSomeErrors()
233
215
'before ' => '/** phpcs:disable */ ' ,
234
216
'between ' => '/** phpcs:enable */ ' ,
235
217
],
236
-
237
- // Deprecated syntax.
238
- 'old style: slash comment ' => [
239
- 'before ' => '// @codingStandardsIgnoreStart ' ,
240
- 'between ' => '// @codingStandardsIgnoreEnd ' ,
241
- ],
242
- 'old style: single line docblock comment ' => [
243
- 'before ' => '/** @codingStandardsIgnoreStart */ ' ,
244
- 'between ' => '/** @codingStandardsIgnoreEnd */ ' ,
245
- ],
246
218
];
247
219
248
220
}//end dataSuppressSomeErrors()
@@ -316,16 +288,6 @@ public static function dataSuppressWarning()
316
288
'before ' => '/** phpcs:disable */ ' ,
317
289
'after ' => '/** phpcs:enable */ ' ,
318
290
],
319
-
320
- // Deprecated syntax.
321
- 'old style: slash comment ' => [
322
- 'before ' => '// @codingStandardsIgnoreStart ' ,
323
- 'after ' => '// @codingStandardsIgnoreEnd ' ,
324
- ],
325
- 'old style: single line docblock comment ' => [
326
- 'before ' => '/** @codingStandardsIgnoreStart */ ' ,
327
- 'after ' => '/** @codingStandardsIgnoreEnd */ ' ,
328
- ],
329
291
];
330
292
331
293
}//end dataSuppressWarning()
@@ -424,15 +386,6 @@ public static function dataSuppressLine()
424
386
'before ' => '' ,
425
387
'after ' => ' # @phpcs:ignore ' ,
426
388
],
427
-
428
- // Deprecated syntax.
429
- 'old style: line before, slash comment ' => [
430
- 'before ' => '// @codingStandardsIgnoreLine ' ,
431
- ],
432
- 'old style: end of line, slash comment ' => [
433
- 'before ' => '' ,
434
- 'after ' => ' // @codingStandardsIgnoreLine ' ,
435
- ],
436
389
];
437
390
438
391
}//end dataSuppressLine()
@@ -554,10 +507,6 @@ public static function dataNestedSuppressLine()
554
507
'before ' => '# phpcs:disable ' ,
555
508
'after ' => '# phpcs:enable ' ,
556
509
],
557
- 'old style: slash comment, no single line suppression ' => [
558
- 'before ' => '// @codingStandardsIgnoreStart ' ,
559
- 'after ' => '// @codingStandardsIgnoreEnd ' ,
560
- ],
561
510
562
511
// Process with line suppression nested within disable/enable suppression.
563
512
'disable/enable: slash comment, next line nested single line suppression ' => [
@@ -572,10 +521,6 @@ public static function dataNestedSuppressLine()
572
521
'before ' => '# @phpcs:disable ' .PHP_EOL .'# @phpcs:ignore ' ,
573
522
'after ' => '# @phpcs:enable ' ,
574
523
],
575
- 'old style: slash comment, next line nested single line suppression ' => [
576
- 'before ' => '// @codingStandardsIgnoreStart ' .PHP_EOL .'// @codingStandardsIgnoreLine ' ,
577
- 'after ' => '// @codingStandardsIgnoreEnd ' ,
578
- ],
579
524
];
580
525
581
526
}//end dataNestedSuppressLine()
@@ -661,16 +606,6 @@ public static function dataSuppressScope()
661
606
'before ' => '/** @phpcs:disable */ ' ,
662
607
'after ' => '/** @phpcs:enable */ ' ,
663
608
],
664
-
665
- // Deprecated syntax.
666
- 'old style: start/end, slash comment ' => [
667
- 'before ' => '//@codingStandardsIgnoreStart ' ,
668
- 'after ' => '//@codingStandardsIgnoreEnd ' ,
669
- ],
670
- 'old style: start/end, single line docblock comment ' => [
671
- 'before ' => '/** @codingStandardsIgnoreStart */ ' ,
672
- 'after ' => '/** @codingStandardsIgnoreEnd */ ' ,
673
- ],
674
609
];
675
610
676
611
}//end dataSuppressScope()
@@ -765,26 +700,6 @@ public static function dataSuppressFile()
765
700
'before ' => '' ,
766
701
'after ' => '// phpcs:ignoreFile ' ,
767
702
],
768
-
769
- // Deprecated syntax.
770
- 'old style: start of file, slash comment ' => [
771
- 'before ' => '// @codingStandardsIgnoreFile ' ,
772
- ],
773
- 'old style: start of file, single-line star comment ' => [
774
- 'before ' => '/* @codingStandardsIgnoreFile */ ' ,
775
- ],
776
- 'old style: start of file, multi-line star comment ' => [
777
- 'before ' => '/* ' .PHP_EOL .' @codingStandardsIgnoreFile ' .PHP_EOL .' */ ' ,
778
- ],
779
- 'old style: start of file, single-line docblock comment ' => [
780
- 'before ' => '/** @codingStandardsIgnoreFile */ ' ,
781
- ],
782
-
783
- // Deprecated syntax, late comment.
784
- 'old style: late comment, slash comment ' => [
785
- 'before ' => '' ,
786
- 'after ' => '// @codingStandardsIgnoreFile ' ,
787
- ],
788
703
];
789
704
790
705
}//end dataSuppressFile()
0 commit comments