Closed lukaspijak closed 11 months ago
Hi, similar problem when my composer.json
doesn't specify minimum-stability
(and stable
is then used as the default):
- nette/database v3.1.8 requires jetbrains/phpstorm-attributes dev-master -> found jetbrains/phpstorm-attributes[dev-master] but it does not match your minimum-stability.
jetbrains/phpstorm-attributes
should be a dev-dependency, it's not needed at runtime.
@JanTvrdik won't PhpStan then report errors?
It should work just fine. Having dev-only attributes is valid pattern. For example #[Sealed]
attribute from https://github.com/jiripudil/phpstan-sealed-classes is also suggested to be installed as dev-dependency.
fixed
Version: v3.1.8
Bug Description
Hi, if you have installed
jetbrains/phpstorm-attributes
in version 1.0, you can not installnette/database v3.1.8
Steps To Reproduce
Possible Solution
You can add to
composer.json
: