generated from blitz-php/package-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.php
More file actions
29 lines (27 loc) · 1.29 KB
/
phpstan-baseline.php
File metadata and controls
29 lines (27 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php declare(strict_types = 1);
$ignoreErrors = [];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$name of function service expects class\\-string\\<parametres\\>, string given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Commands/ClearParametres.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#1 \\$name of function service expects class\\-string\\<parametres\\>, string given\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Config/helpers.php',
];
$ignoreErrors[] = [
// identifier: assign.propertyType
'message' => '#^Property BlitzPHP\\\\Parametres\\\\Handlers\\\\DatabaseHandler\\:\\:\\$builder \\(BlitzPHP\\\\Database\\\\Builder\\\\BaseBuilder\\) does not accept BlitzPHP\\\\Contracts\\\\Database\\\\BuilderInterface\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Handlers/DatabaseHandler.php',
];
$ignoreErrors[] = [
// identifier: assign.propertyType
'message' => '#^Property BlitzPHP\\\\Parametres\\\\Handlers\\\\DatabaseHandler\\:\\:\\$db \\(BlitzPHP\\\\Database\\\\Connection\\\\BaseConnection\\) does not accept BlitzPHP\\\\Contracts\\\\Database\\\\ConnectionInterface\\.$#',
'count' => 1,
'path' => __DIR__ . '/src/Handlers/DatabaseHandler.php',
];
return ['parameters' => ['ignoreErrors' => $ignoreErrors]];