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

Provide some way to disable rules provided #30

mglaman opened this Issue Feb 3, 2019 · 0 comments


None yet
1 participant
Copy link

mglaman commented Feb 3, 2019

Currently, to use this project and only do deprecation testing one would need to add the following to their phpstan.neon:

	# Ignore phpstan-drupal extension's rules.
		- '#\Drupal calls should be avoided in classes, use dependency injection instead#'
		- '#Plugin definitions cannot be altered.#'
		- '#Missing cache backend declaration for performance.#'
		- '#Plugin manager has cache backend specified but does not declare cache tags.#'

It would be nice if there was an easier way to kill this as the rules grow.

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