-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it a PHPStan Extension #6
Comments
Thanks, I've learned about I'm not sure what the defaults should be as every project is different but I'm open to suggestions. Also, what would you think an easy configuration should look like? |
In my fantasy/perfectionist world there are Here is a list of really bad ideas.
|
That package has a relatively short config: types & functions. https://github.com/ekino/phpstan-banned-code#advanced-usage |
I don't like this part of the config either:
I'll think if this can be removed somehow. The |
It is very simple.
|
Thanks, that's how extensions work indeed. |
"type": "phpstan-extension",
Why don't you make it an extension with sane defaults and easy configuration?
e.g. https://github.com/ekino/phpstan-banned-code/blob/master/composer.json#L3
The text was updated successfully, but these errors were encountered: