An error occurred while fetching the assigned milestone of the selected merge_request.
Closes #3464213
1 unresolved thread
1 unresolved thread
Closes #3464213
Merge request reports
Activity
1 <?php 2 3 declare(strict_types=1); 4 5 namespace Drupal\Tests\Component\Plugin; 6 7 use Drupal\Component\Plugin\PluginBase; 8 9 /** 10 * A class extending PluginBase for testing purposes. 11 */ 12 class StubPluginBase extends PluginBase { I have seen multiple classes/namespaces in the same file having problems with Rector, see for instance here https://www.drupal.org/project/drupal/issues/3446693 where rector could not write 'use' imports, FQCN are written instead, and we'll be having to manage that manually.
So if it's not a big problem I'd rather go for a separate file, which also is more gentle to autoloading and visibility.
Please register or sign in to reply