Skip to content

Commit c04c9c1

Browse files
authored
Merge 0a88cc5 into b07cf82
2 parents b07cf82 + 0a88cc5 commit c04c9c1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/Core/Util/MessageCollector/MessageCollectorTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function testAddingNonStringMessageResultsInException($message)
5656
*
5757
* @return array<string, array<mixed>>
5858
*/
59-
public function dataAddingNonStringMessageResultsInException()
59+
public static function dataAddingNonStringMessageResultsInException()
6060
{
6161
return [
6262
'null' => [null],
@@ -103,7 +103,7 @@ public function testAddingMessageWithUnsupportedMessageTypeResultsInException($t
103103
*
104104
* @return array<string, array<mixed>>
105105
*/
106-
public function dataAddingMessageWithUnsupportedMessageTypeResultsInException()
106+
public static function dataAddingMessageWithUnsupportedMessageTypeResultsInException()
107107
{
108108
return [
109109
'null' => [null],
@@ -150,7 +150,7 @@ public function testContainsBlockingErrors($messages, $expected)
150150
*
151151
* @return array<string, array<string, array<string, int>|bool>>
152152
*/
153-
public function dataContainsBlockingErrors()
153+
public static function dataContainsBlockingErrors()
154154
{
155155
return [
156156
'No messages' => [
@@ -221,7 +221,7 @@ public function testDisplayingNonBlockingMessages($messages, $expected)
221221
*
222222
* @return array<string, array<string, array<string, int>|string>>
223223
*/
224-
public function dataDisplayingNonBlockingMessages()
224+
public static function dataDisplayingNonBlockingMessages()
225225
{
226226
// phpcs:disable Squiz.Strings.ConcatenationSpacing.PaddingFound -- Test readability is more important.
227227
return [
@@ -333,7 +333,7 @@ public function testDisplayingBlockingErrors($messages, $expected)
333333
*
334334
* @return array<string, array<string, array<string, int>|string>>
335335
*/
336-
public function dataDisplayingBlockingErrors()
336+
public static function dataDisplayingBlockingErrors()
337337
{
338338
// phpcs:disable Squiz.Strings.ConcatenationSpacing.PaddingFound -- Test readability is more important.
339339
return [
@@ -488,7 +488,7 @@ public function testDisplayOrderHandling($order, $expected)
488488
*
489489
* @return array<string, array<string, string>>
490490
*/
491-
public function dataDisplayOrderHandling()
491+
public static function dataDisplayOrderHandling()
492492
{
493493
$expectedForSeverity = 'WARNING: Fourth warning'.PHP_EOL;
494494
$expectedForSeverity .= 'NOTICE: First notice'.PHP_EOL;

0 commit comments

Comments
 (0)