Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ parameters:
- src/

# Paths to exclude
# API Traits are excluded as they are statically analysed in the Kit PHP SDK
excludePaths:
- src/class-convertkit-api-traits.php
- src/views/

# Location of WordPress Plugins for PHPStan to scan, building symbols.
Expand All @@ -20,6 +22,7 @@ parameters:

# Location of constants for PHPStan to scan, building symbols.
scanFiles:
- src/class-convertkit-api-traits.php
- /home/runner/work/convertkit-wordpress-libraries/convertkit-wordpress-libraries/wordpress/wp-config.php

# Don't report unmatched ignored errors on older PHP versions (7.2, 7.3)
Expand Down
Loading
Loading