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 f9b1547 commit 464afd6
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: 80100
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 464afd6

Please sign in to comment.