Skip to content

Commit

Permalink
Add Carbon to scanDirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
bobdenotter committed Oct 25, 2020
1 parent aa82090 commit 1570974
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ parameters:
- src

scanDirectories:
# In order to 'recognize' Twig functions in global scope
# In order to 'recognize' Twig and Carbon functions in global scope
- %currentWorkingDirectory%/vendor/twig/twig/src/Extension
- %currentWorkingDirectory%/vendor/nesbot/carbon/src/Carbon

ignoreErrors:
# false positive: `Unreachable statement - code above always terminates.`
Expand Down

0 comments on commit 1570974

Please sign in to comment.