Repository navigation
chore(deps): keep Dependabot off phpstan/phpstan 2.3.6+ until pest-plugin-type-coverage follows - #698
Merged
Merged
Conversation
…ugin-type-coverage follows (#667)
This was referenced Nov 24, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PHPStan 2.3.6 removed
AnalyserResult::getCollectedData(), whichpest-plugin-type-coverage3.x still calls: with phpstan 2.3.7,pest --type-coveragefails with Call to undefined method PHPStan\Analyser\AnalyserResult::getCollectedData() (reproduced on develop; this is what fails in #667). The cap<2.3.6in composer.json is therefore needed, and Dependabot proposes lifting it every week.Measured: the fix exists only in the plugin 4.0.6+ (needs Pest 4) and 5.x. The framework is on Pest 3.8 (plugin 3.6.1 is the last 3.x). Pest 4.7 + plugin 4.0.6 installs and runs the type coverage, but reports 97.6 % where develop reports 99.1 % (minimum 98 %), so that migration is its own piece of work. Pest 3 with the plugin's 4-line fix applied by hand and phpstan 2.3.7 gives 99.1 %, same as today: the phpstan bump itself is harmless once the plugin follows.
This tells Dependabot to ignore
phpstan/phpstan >=2.3.6, with the reason and when to lift it. #667 can be closed.