Skip to content

Commit e49cb36

Browse files
committed
Merge branch '5.11.x'
2 parents 128db9a + 3e9ce57 commit e49cb36

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2079,12 +2079,6 @@ parameters:
20792079
count: 10
20802080
path: tests/Builder/ExplainStatementTest.php
20812081

2082-
-
2083-
message: '#^@dataProvider providerForTestBuilder related method must be static in PHPUnit 10 and newer\.$#'
2084-
identifier: phpunit.dataProviderStatic
2085-
count: 1
2086-
path: tests/Builder/InsertStatementTest.php
2087-
20882082
-
20892083
message: '#^Dynamic call to static method PHPUnit\\Framework\\Assert\:\:assertEquals\(\)\.$#'
20902084
identifier: staticMethod.dynamicCall

tests/Builder/InsertStatementTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function testBuilder(string $sql): void
3737
}
3838

3939
/** @return Generator<string, list<string>> */
40-
public function providerForTestBuilder(): Generator
40+
public static function providerForTestBuilder(): Generator
4141
{
4242
yield 'INSERT ... VALUES ...' => ['INSERT INTO tbl(`col1`, `col2`, `col3`) VALUES (1, "str", 3.14)'];
4343

0 commit comments

Comments
 (0)