- Issue created by @bobburns
- Status changed to Fixed
over 1 year ago 5:40pm 3 December 2023 Automatically closed - issue fixed for 2 weeks with no activity.
EDIT 12/3/2023 - FIXED - changed composer json require-dev to => "palantirnet/drupal-rector": "^0.18", then ran => "composer update --with-all-dependencies" which updated rector/rector and then applied the remove parameter modification patch from
https://www.drupal.org/project/upgrade_rector/issues/3401571
π
Removal of RectorConfig->parameters() to support current rector release
Fixed
My Composer update without the depencies switch left rector/rector on old version causing the issue
Call to undefined method "Rector\Config\RectorConfig::singleton()"
in
/var/www/public_html/vendor/palantirnet/drupal-rector/src/Set/../../config/drupal-8/drupal-8.0-depreca
tions.php (which is being imported from
"/var/www/public_html/vendor/palantirnet/drupal-rector/src/Set/../../config/drupal-8/drupal-8-all-depr
ecations.php").
if running for example
php vendor/bin/rector process /var/www/public_html/modules/dhoneypot
which worked on 0.15.1
Fixed
Code
Automatically closed - issue fixed for 2 weeks with no activity.