mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-02-19 17:11:20 +01:00
Fix phpstan regression
This commit is contained in:
@@ -17,10 +17,11 @@ parameters:
|
||||
- '~^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.~'
|
||||
- identifier: equal.notAllowed
|
||||
- identifier: notEqual.notAllowed
|
||||
# TODO
|
||||
- '~^Dynamic call to static method .+\.~' # TODO in https://github.com/roundcube/roundcubemail/pull/9314
|
||||
- '~^Construct empty\(\) is not allowed\. Use more strict comparison\.~'
|
||||
- '~^Loose comparison via "[=!]=" is not allowed\.~'
|
||||
- '~^Casting to .+ something that''s already .+\.~'
|
||||
- '~^Short ternary operator is not allowed\. Use null coalesce operator if applicable or consider using long ternary\.~'
|
||||
- '~^Call to function (array_search|in_array)\(\) requires parameter #3 to be set\.~'
|
||||
|
||||
Reference in New Issue
Block a user