Skip to content

excludePaths not working for me #10517

Closed Answered by ondrejmirtes
WeeDom asked this question in Support
Discussion options

You must be logged in to vote

Paths in phpstan.neon are relative to the location of phpstan.neon.

So what you meant to write is probably:

parameters:
    level: 5
    paths:
        - app 
    excludePaths:
        - app/Exceptions/Handler.php
        - app/HelperClasses/TextCleanup.php

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@WeeDom
Comment options

Answer selected by WeeDom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants