mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-20 01:21:20 +01:00
Fix static code analysis, disable strict rule regarding array_filter()
This commit is contained in:
@@ -15,6 +15,7 @@ parameters:
|
||||
- '~^Variable (static )?(property access|method call) on .+\.~'
|
||||
- '~^Variable variables are not allowed.~'
|
||||
- '~^Variable .* might not be defined\.~'
|
||||
- '~Call to function array_filter\(\) requires parameter #2 to be passed to avoid loose comparison semantics.~'
|
||||
# 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