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

packagist #122

Closed
landsman opened this issue Oct 30, 2017 · 9 comments
Closed

packagist #122

landsman opened this issue Oct 30, 2017 · 9 comments

Comments

@landsman
Copy link

Hi,

is it on packagist already?
It looks really great, I want test it :)

 [InvalidArgumentException]                                                                                                                     
  Could not find package rector/rector at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability  
@TomasVotruba
Copy link
Member

TomasVotruba commented Oct 30, 2017

Hey,

thanks for info.

It's not tagged yet, so I've updated readme

On what project (framework) and version?

TomasVotruba added a commit that referenced this issue Oct 30, 2017
@landsman
Copy link
Author

landsman commented Oct 31, 2017

Thank you.
I am using Symfony 2.8.x and want upgrade to the lastest Symfony, Sonata Admin Bundle.

After updated doc:


Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove symfony/symfony v2.8.28
    - Conclusion: don't install symfony/symfony v2.8.28
    - Conclusion: don't install symfony/symfony v2.8.27
    - Conclusion: don't install symfony/symfony v2.8.26
    - Conclusion: don't install symfony/symfony v2.8.25
    - Conclusion: don't install symfony/symfony v2.8.24
    - Conclusion: don't install symfony/symfony v2.8.23
    - Conclusion: don't install symfony/symfony v2.8.22
    - Conclusion: don't install symfony/symfony v2.8.21
    - Conclusion: don't install symfony/symfony v2.8.20
    - Conclusion: don't install symfony/symfony v2.8.19
    - Conclusion: don't install symfony/symfony v2.8.18
    - Conclusion: don't install symfony/symfony v2.8.17
    - Conclusion: don't install symfony/symfony v2.8.16
    - Conclusion: don't install symfony/symfony v2.8.15
    - Conclusion: don't install symfony/symfony v2.8.14
    - Conclusion: don't install symfony/symfony v2.8.13
    - Conclusion: don't install symfony/symfony v2.8.12
    - Conclusion: don't install symfony/symfony v2.8.11
    - Conclusion: don't install symfony/symfony v2.8.10
    - Conclusion: don't install symfony/symfony v2.8.9
    - Conclusion: don't install symfony/symfony v2.8.8
    - Conclusion: don't install symfony/symfony v2.8.7
    - Conclusion: don't install symfony/symfony v2.8.6
    - Conclusion: don't install symfony/symfony v2.8.5
    - Conclusion: don't install symfony/symfony v2.8.4
    - Conclusion: don't install symfony/symfony v2.8.3
    - Conclusion: don't install symfony/symfony v2.8.2
    - Conclusion: don't install symfony/symfony v2.8.1
    - rector/rector dev-master requires symfony/dependency-injection ^3.3 -> satisfiable by symfony/dependency-injection[v3.3.0, v3.3.1, v3.3.10, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9].
    - rector/rector dev-nette-deprecations-di requires symfony/dependency-injection ^3.3 -> satisfiable by symfony/dependency-injection[v3.3.0, v3.3.1, v3.3.10, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9].
    - symfony/dependency-injection v3.3.0 conflicts with symfony/symfony[v2.8.0].
    - symfony/dependency-injection v3.3.1 conflicts with symfony/symfony[v2.8.0].
    - symfony/dependency-injection v3.3.10 conflicts with symfony/symfony[v2.8.0].
    - symfony/dependency-injection v3.3.2 conflicts with symfony/symfony[v2.8.0].
    - symfony/dependency-injection v3.3.3 conflicts with symfony/symfony[v2.8.0].
    - symfony/dependency-injection v3.3.4 conflicts with symfony/symfony[v2.8.0].
    - symfony/dependency-injection v3.3.5 conflicts with symfony/symfony[v2.8.0].
    - symfony/dependency-injection v3.3.6 conflicts with symfony/symfony[v2.8.0].
    - symfony/dependency-injection v3.3.7 conflicts with symfony/symfony[v2.8.0].
    - symfony/dependency-injection v3.3.8 conflicts with symfony/symfony[v2.8.0].
    - symfony/dependency-injection v3.3.9 conflicts with symfony/symfony[v2.8.0].
    - Installation request for symfony/symfony 2.8.* -> satisfiable by symfony/symfony[v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.26, v2.8.27, v2.8.28, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9].
    - Installation request for rector/rector @dev -> satisfiable by rector/rector[dev-master, dev-nette-deprecations-di].

@TomasVotruba
Copy link
Member

In that case, checkout this section: https://github.com/RectorPHP/Rector#how-to-use-on-php--71

You need to install it as standalone project and run it without dependency on your code.

@TomasVotruba
Copy link
Member

FYI, I've just added dozens of Symfony 3.0 rectors

@landsman
Copy link
Author

landsman commented Nov 1, 2017

Twig 1.x to Twig 2 should be great too :-)

@TomasVotruba
Copy link
Member

Just create an issue with link to upgrade file or any other source with deprecations. I'll see what can be easily added :)

@TomasVotruba
Copy link
Member

Let me know if this issues still remains. I would close it otherwise

@tomasfejfar
Copy link
Contributor

I think you need to call composer create-project rector/rector:dev-master rector. Otherwise, you get an error Could not find package rector/rector with stability stable.. Other option would be to set minimum-stability to dev.

@TomasVotruba
Copy link
Member

Thanks for pointing that out. I've just relased v0.1.0 to make this eaiser and to notify about changes in relases.

TomasVotruba added a commit that referenced this issue May 29, 2021
rectorphp/rector-src@763bce6 [PHP 8.0] Add class const reference to PhpAttributeGroupFactory (#122)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants