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
+1-27Lines changed: 1 addition & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -12,34 +12,8 @@ parameters:
12
12
# relax strict rules
13
13
- '~^Only booleans are allowed in .+, .+ given( on the (left|right) side)?\.~'
14
14
- '~^Construct empty\(\) is not allowed\. Use more strict comparison\.~'
15
-
- '~^Loose comparison via "[=!]=" is not allowed\.~'
16
-
17
-
# TODO
18
-
-
19
-
message: '~^Anonymous function uses \$this assigned to variable \$self. Use \$this directly in the function body\.$~'
20
-
path: 'src/ExtensionInstaller.php'
21
-
count: 3
15
+
22
16
-
23
17
message: '~^Constant RCMAIL_VERSION not found\.$~'
24
18
path: 'src/ExtensionInstaller.php'
25
19
count: 3
26
-
-
27
-
message: '~^Method Roundcube\\Composer\\ExtensionInstaller::install\(\) should return React\\Promise\\PromiseInterface<void\|null>|null but return statement is missing\.$~'
28
-
path: 'src/ExtensionInstaller.php'
29
-
count: 3
30
-
-
31
-
message: '~^Undefined variable: \$rootdir$~'
32
-
path: 'src/ExtensionInstaller.php'
33
-
count: 1
34
-
-
35
-
message: '~^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.$~'
36
-
path: 'src/ExtensionInstaller.php'
37
-
count: 1
38
-
-
39
-
message: '~^Call to function in_array\(\) requires parameter #3 to be set\.$~'
40
-
path: 'src/PluginInstaller.php'
41
-
count: 1
42
-
-
43
-
message: '~^Call to function array_search\(\) requires parameter #3 to be set\.$~'
0 commit comments