Skip to content

Commit 4dfc0ef

Browse files
committed
chore: remove ignoreErrors in app/
1 parent f7144e8 commit 4dfc0ef

File tree

1 file changed

+0
-80
lines changed

1 file changed

+0
-80
lines changed

phpstan-baseline.php

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,86 +1,6 @@
11
<?php declare(strict_types = 1);
22

33
$ignoreErrors = [];
4-
$ignoreErrors[] = [
5-
'message' => '#^Property Config\\\\ContentSecurityPolicy\\:\\:\\$frameSrc type has no value type specified in iterable type array\\.$#',
6-
'count' => 1,
7-
'path' => __DIR__ . '/app/Config/ContentSecurityPolicy.php',
8-
];
9-
$ignoreErrors[] = [
10-
'message' => '#^Property Config\\\\Database\\:\\:\\$default type has no value type specified in iterable type array\\.$#',
11-
'count' => 1,
12-
'path' => __DIR__ . '/app/Config/Database.php',
13-
];
14-
$ignoreErrors[] = [
15-
'message' => '#^Property Config\\\\Database\\:\\:\\$tests type has no value type specified in iterable type array\\.$#',
16-
'count' => 1,
17-
'path' => __DIR__ . '/app/Config/Database.php',
18-
];
19-
$ignoreErrors[] = [
20-
'message' => '#^Property Config\\\\Exceptions\\:\\:\\$ignoreCodes type has no value type specified in iterable type array\\.$#',
21-
'count' => 1,
22-
'path' => __DIR__ . '/app/Config/Exceptions.php',
23-
];
24-
$ignoreErrors[] = [
25-
'message' => '#^Property Config\\\\Exceptions\\:\\:\\$sensitiveDataInTrace type has no value type specified in iterable type array\\.$#',
26-
'count' => 1,
27-
'path' => __DIR__ . '/app/Config/Exceptions.php',
28-
];
29-
$ignoreErrors[] = [
30-
'message' => '#^Property Config\\\\Filters\\:\\:\\$filters type has no value type specified in iterable type array\\.$#',
31-
'count' => 1,
32-
'path' => __DIR__ . '/app/Config/Filters.php',
33-
];
34-
$ignoreErrors[] = [
35-
'message' => '#^Property Config\\\\Filters\\:\\:\\$methods type has no value type specified in iterable type array\\.$#',
36-
'count' => 1,
37-
'path' => __DIR__ . '/app/Config/Filters.php',
38-
];
39-
$ignoreErrors[] = [
40-
'message' => '#^Property Config\\\\Logger\\:\\:\\$handlers type has no value type specified in iterable type array\\.$#',
41-
'count' => 1,
42-
'path' => __DIR__ . '/app/Config/Logger.php',
43-
];
44-
$ignoreErrors[] = [
45-
'message' => '#^Property Config\\\\Logger\\:\\:\\$threshold type has no value type specified in iterable type array\\.$#',
46-
'count' => 1,
47-
'path' => __DIR__ . '/app/Config/Logger.php',
48-
];
49-
$ignoreErrors[] = [
50-
'message' => '#^Property Config\\\\Mimes\\:\\:\\$mimes type has no value type specified in iterable type array\\.$#',
51-
'count' => 1,
52-
'path' => __DIR__ . '/app/Config/Mimes.php',
53-
];
54-
$ignoreErrors[] = [
55-
'message' => '#^Property Config\\\\Routing\\:\\:\\$moduleRoutes type has no value type specified in iterable type array\\.$#',
56-
'count' => 1,
57-
'path' => __DIR__ . '/app/Config/Routing.php',
58-
];
59-
$ignoreErrors[] = [
60-
'message' => '#^Property Config\\\\Routing\\:\\:\\$routeFiles type has no value type specified in iterable type array\\.$#',
61-
'count' => 1,
62-
'path' => __DIR__ . '/app/Config/Routing.php',
63-
];
64-
$ignoreErrors[] = [
65-
'message' => '#^Property Config\\\\Toolbar\\:\\:\\$watchedDirectories type has no value type specified in iterable type array\\.$#',
66-
'count' => 1,
67-
'path' => __DIR__ . '/app/Config/Toolbar.php',
68-
];
69-
$ignoreErrors[] = [
70-
'message' => '#^Property Config\\\\Toolbar\\:\\:\\$watchedExtensions type has no value type specified in iterable type array\\.$#',
71-
'count' => 1,
72-
'path' => __DIR__ . '/app/Config/Toolbar.php',
73-
];
74-
$ignoreErrors[] = [
75-
'message' => '#^PHPDoc type CodeIgniter\\\\HTTP\\\\CLIRequest\\|CodeIgniter\\\\HTTP\\\\IncomingRequest of property App\\\\Controllers\\\\BaseController\\:\\:\\$request is not the same as PHPDoc type CodeIgniter\\\\HTTP\\\\RequestInterface of overridden property CodeIgniter\\\\Controller\\:\\:\\$request\\.$#',
76-
'count' => 1,
77-
'path' => __DIR__ . '/app/Controllers/BaseController.php',
78-
];
79-
$ignoreErrors[] = [
80-
'message' => '#^Property App\\\\Controllers\\\\BaseController\\:\\:\\$helpers type has no value type specified in iterable type array\\.$#',
81-
'count' => 1,
82-
'path' => __DIR__ . '/app/Controllers/BaseController.php',
83-
];
844
$ignoreErrors[] = [
855
'message' => '#^Call to function method_exists\\(\\) with \'Composer\\\\\\\\InstalledVersions\' and \'getAllRawData\' will always evaluate to true\\.$#',
866
'count' => 1,

0 commit comments

Comments
 (0)