Skip to content

Commit

Permalink
Add config phpstan.
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Oct 2, 2023
1 parent 2c1572d commit 95012ac
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions phpstan.neon
@@ -0,0 +1,21 @@
includes:
- vendor/proget-hq/phpstan-yii2/extension.neon
parameters:
dynamicConstantNames:
- YII_DEBUG
- YII_ENV
- YII_ENV_DEV
- YII_ENV_PROD
- YII_ENV_TEST

level: 2

paths:
- src

scanFiles:
- vendor/yiisoft/yii2/Yii.php

yii2:
config_path: %currentWorkingDirectory%/phpstan-yii-config.php

0 comments on commit 95012ac

Please sign in to comment.