Pink-Crab/Perique-Registerables

View on GitHub
phpstan.neon.dist

Summary

Maintainability
Test Coverage
includes:
    - vendor/phpstan/phpstan/conf/bleedingEdge.neon
    - vendor/szepeviktor/phpstan-wordpress/extension.neon
parameters:
    level: max
    inferPrivatePropertyTypeFromConstructor: true
    paths:
        - %currentWorkingDirectory%/src/
    excludePaths:
        - %currentWorkingDirectory%/tests/*
        - %currentWorkingDirectory%/src/Previous/*
        - %currentWorkingDirectory%/Oldtests/*
    bootstrapFiles:
        - vendor/php-stubs/wordpress-stubs/wordpress-stubs.php
    ignoreErrors:
        - '#Function apply_filters invoked with [0-9] parameters, 2 required#'
    reportUnmatchedIgnoredErrors: false