@@ -56,7 +56,7 @@ public function testAddingNonStringMessageResultsInException($message)
56
56
*
57
57
* @return array<string, array<mixed>>
58
58
*/
59
- public function dataAddingNonStringMessageResultsInException ()
59
+ public static function dataAddingNonStringMessageResultsInException ()
60
60
{
61
61
return [
62
62
'null ' => [null ],
@@ -103,7 +103,7 @@ public function testAddingMessageWithUnsupportedMessageTypeResultsInException($t
103
103
*
104
104
* @return array<string, array<mixed>>
105
105
*/
106
- public function dataAddingMessageWithUnsupportedMessageTypeResultsInException ()
106
+ public static function dataAddingMessageWithUnsupportedMessageTypeResultsInException ()
107
107
{
108
108
return [
109
109
'null ' => [null ],
@@ -150,7 +150,7 @@ public function testContainsBlockingErrors($messages, $expected)
150
150
*
151
151
* @return array<string, array<string, array<string, int>|bool>>
152
152
*/
153
- public function dataContainsBlockingErrors ()
153
+ public static function dataContainsBlockingErrors ()
154
154
{
155
155
return [
156
156
'No messages ' => [
@@ -221,7 +221,7 @@ public function testDisplayingNonBlockingMessages($messages, $expected)
221
221
*
222
222
* @return array<string, array<string, array<string, int>|string>>
223
223
*/
224
- public function dataDisplayingNonBlockingMessages ()
224
+ public static function dataDisplayingNonBlockingMessages ()
225
225
{
226
226
// phpcs:disable Squiz.Strings.ConcatenationSpacing.PaddingFound -- Test readability is more important.
227
227
return [
@@ -333,7 +333,7 @@ public function testDisplayingBlockingErrors($messages, $expected)
333
333
*
334
334
* @return array<string, array<string, array<string, int>|string>>
335
335
*/
336
- public function dataDisplayingBlockingErrors ()
336
+ public static function dataDisplayingBlockingErrors ()
337
337
{
338
338
// phpcs:disable Squiz.Strings.ConcatenationSpacing.PaddingFound -- Test readability is more important.
339
339
return [
@@ -488,7 +488,7 @@ public function testDisplayOrderHandling($order, $expected)
488
488
*
489
489
* @return array<string, array<string, string>>
490
490
*/
491
- public function dataDisplayOrderHandling ()
491
+ public static function dataDisplayOrderHandling ()
492
492
{
493
493
$ expectedForSeverity = 'WARNING: Fourth warning ' .PHP_EOL ;
494
494
$ expectedForSeverity .= 'NOTICE: First notice ' .PHP_EOL ;
0 commit comments