Skip to content

Commit

Permalink
PHPStan: new options
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar committed Jun 21, 2024
1 parent 060d5fa commit e612770
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ includes:
- phpstan.baseline.neon

parameters:
phpVersion: 70400
phpVersion: 80300
level: 8
tmpDir: ../var/tools/PHPStan
resultCachePath: %currentWorkingDirectory%/var/tools/PHPStan/resultCache.php
Expand All @@ -12,6 +12,8 @@ parameters:
checkMissingCallableSignature: true
checkInternalClassCaseSensitivity: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
reportAnyTypeWideningInVarTag: true
reportPossiblyNonexistentConstantArrayOffset: true

exceptions:
check:
Expand Down

0 comments on commit e612770

Please sign in to comment.