you will lead into the issue, that the container is not available in the magento-autoloader.php.
Digging a little around results into that rector/rector:0.15.19 is required, but only 0.15.17 is installable cause phpstan/phpstan:1.10.1 is required, but bitExpert/phpstan-magento requires phpstan/phpstan:1.9.
The Magento core will allow phpstan/phpstan.1.10 so this repo should also allow this.
Requiring bitExpert/phpstan-magento will lead into that rector and phpstan got downgraded.
when using
and configure rector to use phpstan
you will lead into the issue, that the container is not available in the
magento-autoloader.php
.Digging a little around results into that
rector/rector:0.15.19
is required, but only0.15.17
is installable causephpstan/phpstan:1.10.1
is required, butbitExpert/phpstan-magento
requiresphpstan/phpstan:1.9
.The Magento core will allow
phpstan/phpstan.1.10
so this repo should also allow this.Requiring
bitExpert/phpstan-magento
will lead into that rector and phpstan got downgraded.Can you reproduce this?