@@ -65,7 +65,7 @@ public function testSuppressError($before, $after, $expectedErrors=0)
6565 *
6666 * @return array
6767 */
68- public function dataSuppressError ()
68+ public static function dataSuppressError ()
6969 {
7070 return [
7171 'no suppression ' => [
@@ -204,7 +204,7 @@ public function testSuppressSomeErrors($before, $between, $expectedErrors=1)
204204 *
205205 * @return array
206206 */
207- public function dataSuppressSomeErrors ()
207+ public static function dataSuppressSomeErrors ()
208208 {
209209 return [
210210 'no suppression ' => [
@@ -296,7 +296,7 @@ public function testSuppressWarning($before, $after, $expectedWarnings=0)
296296 *
297297 * @return array
298298 */
299- public function dataSuppressWarning ()
299+ public static function dataSuppressWarning ()
300300 {
301301 return [
302302 'no suppression ' => [
@@ -381,7 +381,7 @@ public function testSuppressLine($before, $after='', $expectedErrors=1)
381381 *
382382 * @return array
383383 */
384- public function dataSuppressLine ()
384+ public static function dataSuppressLine ()
385385 {
386386 return [
387387 'no suppression ' => [
@@ -532,7 +532,7 @@ public function testNestedSuppressLine($before, $after)
532532 *
533533 * @return array
534534 */
535- public function dataNestedSuppressLine ()
535+ public static function dataNestedSuppressLine ()
536536 {
537537 return [
538538 // Process with disable/enable suppression and no single line suppression.
@@ -627,7 +627,7 @@ function myFunction() {
627627 *
628628 * @return array
629629 */
630- public function dataSuppressScope ()
630+ public static function dataSuppressScope ()
631631 {
632632 return [
633633 'no suppression ' => [
@@ -722,7 +722,7 @@ class MyClass {}
722722 *
723723 * @return array
724724 */
725- public function dataSuppressFile ()
725+ public static function dataSuppressFile ()
726726 {
727727 return [
728728 'no suppression ' => [
@@ -821,7 +821,7 @@ public function testDisableSelected($before, $expectedErrors=0, $expectedWarning
821821 *
822822 * @return array
823823 */
824- public function dataDisableSelected ()
824+ public static function dataDisableSelected ()
825825 {
826826 return [
827827 // Single sniff.
@@ -928,7 +928,7 @@ public function testEnableSelected($code, $expectedErrors, $expectedWarnings)
928928 *
929929 * @return array
930930 */
931- public function dataEnableSelected ()
931+ public static function dataEnableSelected ()
932932 {
933933 return [
934934 'disable/enable: a single sniff ' => [
@@ -1108,7 +1108,7 @@ public function testIgnoreSelected($before, $expectedErrors, $expectedWarnings)
11081108 *
11091109 * @return array
11101110 */
1111- public function dataIgnoreSelected ()
1111+ public static function dataIgnoreSelected ()
11121112 {
11131113 return [
11141114 'no suppression ' => [
@@ -1195,7 +1195,7 @@ public function testCommenting($code, $expectedErrors, $expectedWarnings)
11951195 *
11961196 * @return array
11971197 */
1198- public function dataCommenting ()
1198+ public static function dataCommenting ()
11991199 {
12001200 return [
12011201 'ignore: single sniff ' => [
0 commit comments