Skip to content

Commit f548a5e

Browse files
authored
Merge pull request #7781 from kenjis/fix-4.4-merge
fix: [4.4] merge
2 parents 317bc5f + fb1bf00 commit f548a5e

4 files changed

Lines changed: 4 additions & 14 deletions

File tree

phpstan-baseline.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,6 @@
1111
'count' => 1,
1212
'path' => __DIR__ . '/app/Config/View.php',
1313
];
14-
$ignoreErrors[] = [
15-
'message' => '#^Parameter \\#1 \\$callback of function spl_autoload_register expects \\(callable\\(string\\)\\: void\\)\\|null, array\\{\\$this\\(CodeIgniter\\\\Autoloader\\\\Autoloader\\), \'loadClass\'\\} given\\.$#',
16-
'count' => 1,
17-
'path' => __DIR__ . '/system/Autoloader/Autoloader.php',
18-
];
19-
$ignoreErrors[] = [
20-
'message' => '#^Parameter \\#1 \\$callback of function spl_autoload_register expects \\(callable\\(string\\)\\: void\\)\\|null, array\\{\\$this\\(CodeIgniter\\\\Autoloader\\\\Autoloader\\), \'loadClassmap\'\\} given\\.$#',
21-
'count' => 1,
22-
'path' => __DIR__ . '/system/Autoloader/Autoloader.php',
23-
];
2414
$ignoreErrors[] = [
2515
'message' => '#^Method CodeIgniter\\\\BaseModel\\:\\:chunk\\(\\) has parameter \\$userFunc with no signature specified for Closure\\.$#',
2616
'count' => 1,

tests/system/HTTP/SiteURITest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function provideConstructor(): iterable
6565
return array_merge($this->provideSetPath(), $this->provideRelativePathWithQueryOrFragment());
6666
}
6767

68-
public function provideSetPath(): iterable
68+
public static function provideSetPath(): iterable
6969
{
7070
return [
7171
'' => [

tests/system/Helpers/ArrayHelperTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ public function testArrayGroupByExcludeEmpty(array $indexes, array $data, array
519519
$this->assertSame($expected, $actual, 'array excluding empty not the same');
520520
}
521521

522-
public function provideArrayGroupByIncludeEmpty(): iterable
522+
public static function provideArrayGroupByIncludeEmpty(): iterable
523523
{
524524
yield 'simple group-by test' => [
525525
['color'],
@@ -930,7 +930,7 @@ public function provideArrayGroupByIncludeEmpty(): iterable
930930
];
931931
}
932932

933-
public function provideArrayGroupByExcludeEmpty(): iterable
933+
public static function provideArrayGroupByExcludeEmpty(): iterable
934934
{
935935
yield 'simple group-by test' => [
936936
['color'],

tests/system/View/TableTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@ public function testGenerateOrderedColumns(array $heading, array $row, string $e
791791
$this->assertStringContainsString($expectContainsString, $generated);
792792
}
793793

794-
public function orderedColumnUsecases(): iterable
794+
public static function orderedColumnUsecases(): iterable
795795
{
796796
yield from [
797797
'reorder example #1' => [

0 commit comments

Comments
 (0)