PHPStan: Relax strict rules

This commit is contained in:
Aleksander Machniak
2024-03-24 08:55:05 +01:00
parent 15c1228cf3
commit ce5c08dca5
2 changed files with 1 additions and 45 deletions

View File

@@ -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\.~'