Is there a way to up level, BUT exclude some rule(s)? #4387
Answered
by
ondrejmirtes
vv12131415
asked this question in
Support
-
I would like to up level on my app, but fix certain rules later. There is a way to use baseline, but most of the errors will be copy paste errors. Or is there a list of rules on different levels? |
Beta Was this translation helpful? Give feedback.
Answered by
ondrejmirtes
Jan 18, 2021
Replies: 1 comment
-
Ho, baseline is the recommended approach here. But levels are just config files, you can copy-paste parts of those to your config: https://github.com/phpstan/phpstan-src/tree/master/conf |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ondrejmirtes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ho, baseline is the recommended approach here. But levels are just config files, you can copy-paste parts of those to your config: https://github.com/phpstan/phpstan-src/tree/master/conf