Moved dependencies in composer.json to allow run without dev deps#2199
Moved dependencies in composer.json to allow run without dev deps#2199
Conversation
|
These packages are dev, not production. This is not way to fix it |
|
Then why they are required to run |
|
I run |
|
Not sure if, but this one might be related to PHPStan rather: |
@TomasVotruba well, this is kinda "lucky" because pehapkari.cz project has all dependencies in dev, that are otherwise failing, but for example when tried on other project, where we do not use symplify phpstan extensions and so on, this fails. It fails even for rector itself
Imho this is definitely bug, that affects most of projects where rector is installed. It is caused by that when running |
rectorphp/rector-src@039181a [DeadCode] Remove RemoveCodeAfterReturnRector, already handled at RemoveUnreachableStatementRector (#2199)
Fixes #2185