mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-11-03 18:58:24 +00:00 
			
		
		
		
	move rector rules to a shareable namespace
This commit is contained in:
		@@ -105,7 +105,7 @@
 | 
			
		||||
            "Chill\\TaskBundle\\": "src/Bundle/ChillTaskBundle",
 | 
			
		||||
            "Chill\\ThirdPartyBundle\\": "src/Bundle/ChillThirdPartyBundle",
 | 
			
		||||
            "Chill\\WopiBundle\\": "src/Bundle/ChillWopiBundle/src",
 | 
			
		||||
            "Utils\\Rector\\": "utils/rector/src"
 | 
			
		||||
            "Chill\\Utils\\Rector\\": "utils/rector/src"
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "autoload-dev": {
 | 
			
		||||
@@ -113,7 +113,7 @@
 | 
			
		||||
            "App\\": "tests/app/src/",
 | 
			
		||||
            "Chill\\DocGeneratorBundle\\Tests\\": "src/Bundle/ChillDocGeneratorBundle/tests",
 | 
			
		||||
            "Chill\\WopiBundle\\Tests\\": "src/Bundle/ChillDocGeneratorBundle/tests",
 | 
			
		||||
            "Utils\\Rector\\Tests\\": "utils/rector/tests"
 | 
			
		||||
            "Chill\\Utils\\Rector\\Tests\\": "utils/rector/tests"
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "config": {
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@ declare(strict_types=1);
 | 
			
		||||
 * the LICENSE file that was distributed with this source code.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
namespace Utils\Rector\Rector;
 | 
			
		||||
namespace Chill\Utils\Rector\Rector;
 | 
			
		||||
 | 
			
		||||
use Chill\MainBundle\Export\AggregatorInterface;
 | 
			
		||||
use Chill\MainBundle\Export\DirectExportInterface;
 | 
			
		||||
 
 | 
			
		||||
@@ -9,7 +9,7 @@ declare(strict_types=1);
 | 
			
		||||
 * the LICENSE file that was distributed with this source code.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
namespace Utils\Rector\Tests\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector;
 | 
			
		||||
namespace Chill\Utils\Rector\Tests\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector;
 | 
			
		||||
 | 
			
		||||
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
 | 
			
		||||
use Symplify\SmartFileSystem\SmartFileInfo;
 | 
			
		||||
 
 | 
			
		||||
@@ -10,5 +10,5 @@ declare(strict_types=1);
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
return static function (\Rector\Config\RectorConfig $rectorConfig): void {
 | 
			
		||||
    $rectorConfig->rule(\Utils\Rector\Rector\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector::class);
 | 
			
		||||
    $rectorConfig->rule(\Chill\Utils\Rector\Rector\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector::class);
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user