Closed shaal closed 4 years ago
vendor/bin/rector --version
php -v
imports: - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8-all-deprecations.yml" } # includes: # - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.5-deprecations.yml" } # - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.6-deprecations.yml" } # - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.7-deprecations.yml" } parameters: autoload_paths: - 'web/core' - 'web/core/modules' - 'web/modules' - 'web/profiles' file_extensions: - module - theme - install - profile - inc - engine services: ~
Rector 0.6.13 is working as expected. Steps to replicate:
git clone git@github.com:palantirnet/drupal8-rector-sandbox.git
cd drupal8-rector-sandbox/
git checkout rector-0.7
composer install
vendor/bin/rector process web/modules/contrib/config_filter --set dead-code --dry-run
Try removing vendor, composer.lock and reinstall. Composer migh be buggy in resolving phar files
vendor
composer.lock
I tried, I am getting same errors :(
I am closing this issue as a duplicate of https://github.com/rectorphp/rector/issues/2879
There are more details about the problem in the other issue.
vendor/bin/rector --version
)php -v
)Current Behaviour
Rector 0.6.13 is working as expected. Steps to replicate:
git clone git@github.com:palantirnet/drupal8-rector-sandbox.git
cd drupal8-rector-sandbox/
git checkout rector-0.7
composer install
vendor/bin/rector process web/modules/contrib/config_filter --set dead-code --dry-run
Minimal PHP Code Causing Issue
```phpTry removing
vendor
,composer.lock
and reinstall. Composer migh be buggy in resolving phar filesI tried, I am getting same errors :(
I am closing this issue as a duplicate of https://github.com/rectorphp/rector/issues/2879
There are more details about the problem in the other issue.