mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
chore: phpstan-baseline.php
This commit is contained in:
parent
8fbeb9364b
commit
6ddc920f0a
@ -3951,16 +3951,6 @@ $ignoreErrors[] = [
|
||||
'count' => 1,
|
||||
'path' => __DIR__ . '/system/View/Cell.php',
|
||||
];
|
||||
$ignoreErrors[] = [
|
||||
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
||||
'count' => 8,
|
||||
'path' => __DIR__ . '/system/View/Cell.php',
|
||||
];
|
||||
$ignoreErrors[] = [
|
||||
'message' => '#^Property CodeIgniter\\\\View\\\\Cell\\:\\:\\$cache \\(CodeIgniter\\\\Cache\\\\CacheInterface\\) in empty\\(\\) is not falsy\\.$#',
|
||||
'count' => 2,
|
||||
'path' => __DIR__ . '/system/View/Cell.php',
|
||||
];
|
||||
$ignoreErrors[] = [
|
||||
'message' => '#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#',
|
||||
'count' => 1,
|
||||
@ -4006,16 +3996,6 @@ $ignoreErrors[] = [
|
||||
'count' => 3,
|
||||
'path' => __DIR__ . '/system/View/View.php',
|
||||
];
|
||||
$ignoreErrors[] = [
|
||||
'message' => '#^Parameter \\#2 \\$context \\(\'attr\'\\|\'css\'\\|\'html\'\\|\'js\'\\|\'raw\'\\|\'url\'\\|null\\) of method CodeIgniter\\\\View\\\\View\\:\\:setData\\(\\) should be contravariant with parameter \\$context \\(string\\|null\\) of method CodeIgniter\\\\View\\\\RendererInterface\\:\\:setData\\(\\)$#',
|
||||
'count' => 1,
|
||||
'path' => __DIR__ . '/system/View/View.php',
|
||||
];
|
||||
$ignoreErrors[] = [
|
||||
'message' => '#^Parameter \\#3 \\$context \\(\'attr\'\\|\'css\'\\|\'html\'\\|\'js\'\\|\'raw\'\\|\'url\'\\|null\\) of method CodeIgniter\\\\View\\\\View\\:\\:setVar\\(\\) should be contravariant with parameter \\$context \\(string\\|null\\) of method CodeIgniter\\\\View\\\\RendererInterface\\:\\:setVar\\(\\)$#',
|
||||
'count' => 1,
|
||||
'path' => __DIR__ . '/system/View/View.php',
|
||||
];
|
||||
$ignoreErrors[] = [
|
||||
'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#',
|
||||
'count' => 2,
|
||||
|
Loading…
x
Reference in New Issue
Block a user