fix: PHPStan failing on older dependencies#37
Conversation
## [2.5.1](v2.5.0...v2.5.1) (2025-09-16) ### Bug Fixes * PHPStan failing on older dependencies ([#37](#37)) ([9ca9cfa](9ca9cfa))
|
🎉 This PR is included in version 2.5.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
Ah I see. Given this is auto detected, and there isn’t a specific req, do you think if someone with a lower version of Stan requires this library they will run into issues? Do we need a |
Could be. I should note that it's still possible to disable the extension, even if auto detected, through composer config: {
"extra": {
"phpstan/extension-installer": {
"ignore": ["good-php/reflection"]
}
}
}Although for some reason PHPStan docs state that this is impossible 🤔 I don't like the idea of having to install a separate phpstan extension (I certainly wouldn't in this case), but it seems that your suggestion might have been a wiser idea - because in a separate package it would have been possible to just do That said, |
|
Hm, the problem with I'll add a docs entry about ignoring the extension for now. |
No description provided.