Skip to content

Commit

Permalink
PHPStan config tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Feb 22, 2024
1 parent 84fe788 commit bec26ec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/craft/behaviors/CustomFieldBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use yii\base\Behavior;

/**
* This file is never loaded at runtime. It’s only here for PHPStan’n sake.
* Based on https://github.com/craftcms/cms/blob/develop/lib/craft/behaviors/CustomFieldBehavior.php
*
* @internal
*/
Expand Down
2 changes: 0 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ parameters:
paths:
- src
scanFiles:
# This file must be added to the project root:
# https://github.com/craftcms/cms/blob/develop/lib/craft/behaviors/CustomFieldBehavior.php
- lib/craft/behaviors/CustomFieldBehavior.php
bootstrapFiles:
- lib/craft/bootstrap.php

0 comments on commit bec26ec

Please sign in to comment.