mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-06 04:44:19 +01:00
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:
11
tests/symfony-container.php
Normal file
11
tests/symfony-container.php
Normal 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();
|
||||
Reference in New Issue
Block a user