diff --git a/phpstan.neon b/phpstan.neon index b9fb9c4..5c76162 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -16,22 +16,13 @@ parameters: analyseAndScan: - vendor - node_modules (?) - - # Report unknown classes and functions + reportUnmatchedIgnoredErrors: false - - # Check for dead code - checkMissingIterableValueType: false - checkGenericClassInNonGenericObjectType: false - + # Additional checks - checkAlwaysTrueCheckTypeFunctionCall: true - checkAlwaysTrueInstanceof: true - checkAlwaysTrueStrictComparison: true - checkExplicitMixedMissingReturn: true checkFunctionNameCase: true checkInternalClassCaseSensitivity: true - + # Ignore common patterns ignoreErrors: # Add project-specific ignores here