Skip to content

#241 phpstan - fix deprecated excludes_analyse#242

Closed
mogtofu33 wants to merge 3 commits into
EdgedesignCZ:masterfrom
mogtofu33:fix-241-phpstan-deprecated-excludes_analyse
Closed

#241 phpstan - fix deprecated excludes_analyse#242
mogtofu33 wants to merge 3 commits into
EdgedesignCZ:masterfrom
mogtofu33:fix-241-phpstan-deprecated-excludes_analyse

Conversation

@mogtofu33

Copy link
Copy Markdown

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

Comment thread src/Tools/Analyzer/Phpstan.php
@zdenekdrahos

Copy link
Copy Markdown
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