Add Symfony container support for Rector configuration

- Introduced `tests/symfony-container.php` for bootstrapping Symfony.
  - Updated `rector.php` with new container PHP path and kernel modifications.
  - Registered Symfony routes provider service in Rector.
This commit is contained in:
2025-10-04 12:48:24 +02:00
parent ca460cca7f
commit ab187a28b9
2 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
<?php
declare(strict_types=1);
use Tvdt\Kernel;
require __DIR__.'/bootstrap.php';
$appKernel = new Kernel('test', false);
$appKernel->boot();
return $appKernel->getContainer();