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