Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
pterodactyl
GitHub Repository: pterodactyl/panel
Path: blob/1.0-develop/phpstan.neon
7382 views
includes:
    - ./vendor/larastan/larastan/extension.neon

parameters:
    # Level 9 is the highest level
    level: 4
    paths:
        - app/
    ignoreErrors:
        # Ignore repository interface missing methods
        - '#Call to an undefined method Pterodactyl\\Repositories\\Wings\\DaemonRepository::(\w+)\(\)#'

        # Ignore magic spatie calls
        - '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder::allowed(\w+)\(\)#'
    excludePaths:
        - app/Repositories

        # More magic spatie to be replaced
        - app/Extensions/Spatie/Fractalistic/Fractal.php
    #
    #    checkMissingIterableValueType: false