Skip to content

Conversation

@mogtofu33
Copy link

As reported by @oussamalamlihe on issue #241 Phpstan now use only excludePaths to exclude files from analysis.
Here is a PR for this issue.

Phpstan doc: https://phpstan.org/user-guide/ignoring-errors#excluding-whole-files
Phpstan issue where it has been changed: phpstan/phpstan#3749

@zdenekdrahos
Copy link
Member

Fixing deprecation is not that simple:

Configuration parameters excludes_analyse and excludePaths cannot be used at the same time.
https://github.com/EdgedesignCZ/phpqa/runs/6238841273?check_suite_focus=true#step:7:190

I am going to fix it in another PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

phpstan edgedesign/phpqa v1.25.0 replace deprecated function excludes_analyse whit excludePaths

2 participants