Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run rector since v0.10.20 (missing dependencies) #6406

Closed
liarco opened this issue May 11, 2021 · 3 comments
Closed

Unable to run rector since v0.10.20 (missing dependencies) #6406

liarco opened this issue May 11, 2021 · 3 comments
Labels

Comments

@liarco
Copy link

liarco commented May 11, 2021

Bug Report

Subject Details
Rector version v0.10.20+
Installed as composer dependency

How to reproduce:

> mkdir tmp && cd tmp
> composer require rector/rector
...
> php vendor/bin/rector --help

[ERROR] Class 'Symplify\ComposerJsonManipulator\Bundle\ComposerJsonManipulatorBundle' not found

> composer require symplify/composer-json-manipulator
> php vendor/bin/rector --help
Description:
  Upgrade or refactor source code with provided rectors

Usage:
  process [options] [--] [<source>...]

...

What am I missing?

Thank you for your time.

@TomasVotruba
Copy link
Member

TomasVotruba commented May 11, 2021

Hi, thanks for reporting 👍

This should help: rectorphp/rector-src@d2b8907

Released under 0.10.22: https://github.com/rectorphp/rector-src/tree/0.10.22

@TomasVotruba
Copy link
Member

I realized this might not get to the packagist, as we switched a target repository there.

If that would not help, try to run composer update. I've released patch in symplify package as well

@liarco
Copy link
Author

liarco commented May 11, 2021

Thank you very much, I tested v0.10.22 and it works as intended! 😃

@liarco liarco closed this as completed May 11, 2021
TomasVotruba added a commit that referenced this issue Oct 30, 2024
rectorphp/rector-src@2d862a7 [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)
TomasVotruba added a commit that referenced this issue Nov 3, 2024
rectorphp/rector-src@2d862a7 [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)
TomasVotruba added a commit that referenced this issue Nov 3, 2024
rectorphp/rector-src@2d862a7 [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)
TomasVotruba added a commit that referenced this issue Nov 4, 2024
rectorphp/rector-src@2d862a7 [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)
TomasVotruba added a commit that referenced this issue Nov 4, 2024
rectorphp/rector-src@2d862a7 [CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector (#6406)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants