VKCOM / noverify

Pretty fast linter (code static analysis utility) for PHP
MIT License
673 stars 57 forks source link

linter, cmd: fixed incorrect work of quick fixes #1102

Closed i582 closed 3 years ago

i582 commented 3 years ago

Now the quick fixes will not be applied to the vendor folder if it got into the analysis, for example, if the analysis was started on the root folder in which the vendor is located.

By default, now the vendor folder is also added to the --exclude.

For the propNullDefault checker, the addQuickFix method is used instead of simple adding to the slice.

Fixes #1101