Skip to content

Commit

Permalink
Include and exclude some more default pathes to/from phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed Feb 22, 2024
1 parent c553bbb commit d12a43a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ parameters:
inferPrivatePropertyTypeFromConstructor: true
paths:
- inc/
- src/
- plugin.php
excludePaths:
analyse:
Expand All @@ -14,6 +15,9 @@ parameters:
# and not running within ft-platform
- wp-content/
- tests/
analyseAndScan:
- build/
- node_modules/
ignoreErrors:
# Find a nicer way instead of ignoring this Error on every ft-module
- '#Function Altis\\register_module not found\.#'

0 comments on commit d12a43a

Please sign in to comment.