drupal-rector icon indicating copy to clipboard operation
drupal-rector copied to clipboard

A developer utility for automatically upgrading deprecated code for Drupal 9

Results 11 drupal-rector issues
Sort by recently updated
recently updated
newest added

## Description Replaces calls to symfony-cmf/routing interfaces or classes per https://www.drupal.org/node/3151009 ## To Test - Add steps to test this feature ## Drupal.org issue https://www.drupal.org/project/rector/issues/3294535

merge conflict

## Description AssertNoFieldByIdRector improperly replaced calls to assertNoFieldById when there was only one argument passed. If there is only one argument, it should use fieldNotExists ## To Test - Add...

## Description Replaces module_load_install with \Drupal::moduleHandler()->loadInclude ## To Test - Add steps to test this feature ## Drupal.org issue [Provide a link to the issue from https://www.drupal.org/project/rector/issues. If no issue...

## Description Add `protected $defaultTheme = 'stark';` to functional tests if missing. This could cause test failures because they assume on markup for Classy, which the theme should be changed...

Would benefit from manual testing or an AppVeyor run on Windows. **NOTE** Leaving as a Draft until manual review. Also, not sure if we should go down the Windows runner...

merge conflict

node_load_multiple() can be properly refactored by tweaking the existing logic in EntityLoadBase. I tried improving it by using a protected variable ($isMultiple), defaulting it to FALSE in EntityLoadBase and setting...

merge conflict

## Description Rector for drupal_theme_rebuild. Also refactor FunctionToServiceRector to allow BC patched. See: https://github.com/mglaman/drupal-change-record-triage/issues/435 ## To Test - Run tests ## Drupal.org issue https://www.drupal.org/project/rector/issues/3427029

needs-review

## Description Fixes: https://www.drupal.org/node/3401941 When renaming it does not remove the old use statement. This should not error, but is ugly. Can only be avoided if we start applying codestyle...

question
needs-review

## Description It checks if a `t()` call can be converted to `$this->t()` ## To Test - Add steps to test this feature ## Drupal.org issue Provide a link to...

work-in-progress
needs-community-feedback