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

[TASK] Use rector-installer to load config of extensions #6174

Merged
merged 3 commits into from
Apr 22, 2021

Conversation

sabbelasichon
Copy link
Contributor

I am using dev-main for the packages here. Maybe we should create new releases here.

@TomasVotruba
Copy link
Member

TomasVotruba commented Apr 20, 2021

Maybe we should create new releases here.

Could you make the CI pass first? The error is about PHPStan. I'll release new packages then

@sabbelasichon
Copy link
Contributor Author

@TomasVotruba I have moved the loading of the configs into the container configuration itself. Because the bootstrapping happens only by invoking the bin/rector.php

config/config.php Outdated Show resolved Hide resolved
composer.json Outdated Show resolved Hide resolved
config/config.php Outdated Show resolved Hide resolved
@sabbelasichon sabbelasichon force-pushed the issue-6129 branch 2 times, most recently from ca2fa6e to b7d8f8d Compare April 21, 2021 19:31
composer.json Outdated
Comment on lines 43 to 49
"rector/rector-cakephp": "dev-main",
"rector/rector-doctrine": "dev-main",
"rector/rector-installer": "dev-main",
"rector/rector-laravel": "dev-main",
"rector/rector-nette": "dev-main",
"rector/rector-phpunit": "dev-main",
"rector/rector-symfony": "dev-main",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just released ned version for these packages. Could you use them instead?

composer.json Outdated
@@ -73,7 +74,7 @@
"nette/forms": "^3.0",
"phpstan/phpstan-nette": "^0.12.16",
"phpunit/phpunit": "^9.5",
"rector/rector-generator": "^0.1.5",
"rector/rector-generator": "dev-main",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for this package

composer.json Outdated
"rector/rector-doctrine": "^0.10.2",
"rector/rector-installer": "dev-main",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you tag this one too, so we can remove min-stability dev?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have also bumped it up to PHP Version 7.3

@TomasVotruba
Copy link
Member

Thank you 👏

@TomasVotruba TomasVotruba merged commit 5cab636 into rectorphp:main Apr 22, 2021
@TomasVotruba
Copy link
Member

I've just learned the:

composer update

does not invoke plugin installation, while

composer install

does :)

TomasVotruba added a commit that referenced this pull request Jul 22, 2024
rectorphp/rector-src@e4c27be [NodeTypeResolver] Clean up re-fill scope on PHPStanNodeScopeResolver on variable variable (#6174)
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

Successfully merging this pull request may close these issues.

2 participants