mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-20 01:21:20 +01:00
PHPStan: Relax strict rules
This commit is contained in:
@@ -14,6 +14,7 @@ parameters:
|
||||
- '~^Only booleans are allowed in .+, .+ given( on the (left|right) side)?\.~'
|
||||
- '~^Variable (static )?(property access|method call) on .+\.~'
|
||||
- '~^Variable variables are not allowed.~'
|
||||
- '~^Variable .* might not be defined\.~'
|
||||
# relax strict rules - move to phpstan baseline once almost all l6 errors are fixed
|
||||
- '~^Dynamic call to static method .+\.~' # TODO in https://github.com/roundcube/roundcubemail/pull/9314
|
||||
- '~^Construct empty\(\) is not allowed\. Use more strict comparison\.~'
|
||||
|
||||
Reference in New Issue
Block a user