Skip to content

Use custom service in place of PHPStan's implementation #10641

Closed Answered by ondrejmirtes
kingkero asked this question in Support
Discussion options

You must be logged in to vote

It's not possible, because some things from PHPStan core are not meant to be overridable. Instead of overriding and doing your own implementation, you should open feature requests to enhance PHPStan core. But they need to make sense for the general PHPStan userbase.

I don't think you really want to ignore a change in PHP version for the purpose of result cache as that will often lead to a stale cache.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kingkero
Comment options

Answer selected by kingkero
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants