You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan.neon.dist
+3-24Lines changed: 3 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,9 @@ services:
8
8
tags:
9
9
- phpstan.rules.rule
10
10
11
+
includes:
12
+
- phpstan-baseline.neon.dist
13
+
11
14
parameters:
12
15
tmpDir: build/phpstan
13
16
level: 5
@@ -28,30 +31,6 @@ parameters:
28
31
- system/Test/Filters/CITestStreamFilter.php
29
32
- system/ThirdParty/*
30
33
- system/Validation/Views/single.php
31
-
ignoreErrors:
32
-
- '#Access to an undefined property CodeIgniter\\Database\\BaseConnection::\$mysqli|\$schema#'
33
-
- '#Access to an undefined property CodeIgniter\\Database\\ConnectionInterface::(\$DBDriver|\$connID|\$likeEscapeStr|\$likeEscapeChar|\$escapeChar|\$protectIdentifiers|\$schema)#'
34
-
- '#Call to an undefined method CodeIgniter\\Database\\BaseConnection::_(disable|enable)ForeignKeyChecks\(\)#'
35
-
- '#Call to an undefined method CodeIgniter\\Router\\RouteCollectionInterface::(getDefaultNamespace|isFiltered|getFilterForRoute|getFiltersForRoute|getRoutesOptions)\(\)#'
36
-
- '#Cannot access property [\$a-z_]+ on ((bool\|)?object\|resource)#'
37
-
- '#Cannot call method [a-zA-Z_]+\(\) on ((bool\|)?object\|resource)#'
38
-
- '#Method CodeIgniter\\Router\\RouteCollectionInterface::getRoutes\(\) invoked with 1 parameter, 0 required#'
39
-
- '#Method CodeIgniter\\Validation\\ValidationInterface::run\(\) invoked with 3 parameters, 0-2 required#'
40
-
- '#Negated boolean expression is always (true|false)#'
41
-
- '#Return type \(bool\) of method CodeIgniter\\HTTP\\Files\\UploadedFile::move\(\) should be compatible with return type \(CodeIgniter\\Files\\File\) of method CodeIgniter\\Files\\File::move\(\)#'
42
-
- '#.*\son left side of \?\? is not nullable#'
43
-
- '#While loop condition is always true#'
44
-
- '#Right side of && is always true#'
45
-
- '#.*in isset\(\) is not nullable#'
46
-
- '#.*in empty\(\) is not falsy#'
47
-
- '#.*on left side of \?\? always exists and is not nullable#'
48
-
- '#Variable \$error on left side of \?\? always exists and is always null#'
49
-
- '#Variable \$config in empty\(\) always exists and is not falsy#'
50
-
- '#If condition is always true#'
51
-
- '#Dead catch - CodeIgniter\\Exceptions\\PageNotFoundException is never thrown in the try block#'
52
-
- '#.* in isset\(\) does not exist#'
53
-
- '#Variable \$mockService in empty\(\) always exists and is always falsy#'
54
-
- '#PHPDoc type string\|null of property CodeIgniter\\Images\\Handlers\\ImageMagickHandler::\$resource is not covariant with PHPDoc type resource\|null of overridden property CodeIgniter\\Images\\Handlers\\BaseHandler::\$resource#'
0 commit comments