RemoveEmptyTableAttributeRector

Remove empty Table attribute on entities because it's useless

 <?php

 namespace RectorPrefix202409;

 use RectorPrefix202409\Doctrine\ORM\Mapping as ORM;
-#[ORM\Table]
 #[ORM\Entity]
 class Product
 {
 }
 \class_alias('Product', 'Product', \false);

Configure your rector.php:

<?php

use Rector\Config\RectorConfig;
use Rector\Doctrine\CodeQuality\Rector\Class_\RemoveEmptyTableAttributeRector;

return RectorConfig::configure()
    ->withRules([
        RemoveEmptyTableAttributeRector::class,
    ]);
SETS:  Code Quality