- Issue created by @somersoft
- π¬π§United Kingdom somersoft
Updated to 0.18.1 today and the patch needed to be rerolled.
Ranvendor/bin/rector --dry-run --config=./tests/rector/rector.php process web/modules/contrib/metatag
and it produced this error
[ERROR] Could not process "/var/www/web/modules/contrib/metatag/tests/fixtures/d8_metatag_v1.php" file, due to:
"System error: "Rector\Core\Rector\AbstractRector::getName(): Argument #1 ($node) must be of type
PhpParser\Node, null given, called in
vendor/palantirnet/drupal-rector/src/Drupal8/Rector/Deprecation/EntityManagerRector.php155"
Run Rector with "--debug" option and post the report here: https://github.com/rectorphp/rector/issues/new". On line: 190I think this is the line at fault 141
$config['uuid'] = (new Uuid())->generate();
drupal/metatag version: 1.26.0
palantirnet/drupal-rector version: 0.18.1
rector/rector version: 0.18.10 - Status changed to Needs review
over 1 year ago 12:01pm 27 November 2023 - π³π±Netherlands bbrala Netherlands
Think this is the relevant fix:
- Status changed to Fixed
over 1 year ago 8:45am 27 December 2023 Automatically closed - issue fixed for 2 weeks with no activity.