Skip to content

Commit 92cf3bb

Browse files
committed
chore: enable disallowedConstructs
1 parent f094a28 commit 92cf3bb

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

phpstan.neon.dist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ services:
1010

1111
includes:
1212
- phpstan-baseline.php
13+
- vendor/phpstan/phpstan-strict-rules/rules.neon
1314

1415
parameters:
1516
phpVersion: 80100
@@ -41,3 +42,6 @@ parameters:
4142
checkGenericClassInNonGenericObjectType: false
4243
checkMissingCallableSignature: true
4344
treatPhpDocTypesAsCertain: false
45+
strictRules:
46+
allRules: false
47+
disallowedConstructs: true

0 commit comments

Comments
 (0)