Hi Rector Team, Is there a way to prevent PhpStormStubsMap fatal error in rector 0.14 phpstan phar dependency? #7401
-
Hi, @TomasVotruba , Before asking this question I searched in the actual code. I found that in the latest rector 0.14.0 the phpstan.phar dependency has in it a vendor folder that autoloads the classmap and PhpStormStubsMap at the same time which cause cannot redeclare class fatal error. What might be a fix is not to load PhpStormStubsMap.php.
The problem started since rector 0.13 That's why, for now, I'm stuck on 0.12. Can you give me a hint on how to solve the issue? Have a great day |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Hi @alexandreelise , thanks for report. Which exact commit broke this? That would help us found out what change made this happen and be able to fix it. |
Beta Was this translation helpful? Give feedback.
-
Hi Rector Team you can mark this question as solved. I now understand better how rector works. |
Beta Was this translation helpful? Give feedback.
Hi @alexandreelise ,
thanks for report. Which exact commit broke this? That would help us found out what change made this happen and be able to fix it.