I run rector against old custom module Upgrade Status says can be fixed. Here are the two fixable items in a custom Form controller:
"Call to deprecated function drupal_set_message(). Deprecated in drupal:8.5.0 and is removed from drupal:9.0.0. Use Drupal\Core\Messenger\MessengerInterface::addMessage() instead."
"Call to deprecated function entity_create(). Deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use The method overriding Entity::create() for the entity type, e.g. \Drupal\node\Entity\Node::create() if the entity type is known. If the entity type is variable, use the entity storage's create() method to construct a new entity:"
So, I run rector against module containing the file in question:
% vendor/bin/rector process web/modules/custom/my_custom_module
I get a file counter and a green box with no specifics:
9/9 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
[OK] Rector is done!
Go to the files ... nothing has been updated or changed in the files.
I run this on other modules and things work, but not all of them.
Any ideas? Thanks.