corentin_wakdo/tests/bootstrap.php
Corentin JOGUET c8f5370cfd
All checks were successful
CI / secret-scan (push) Successful in 7s
CI / php-lint (push) Successful in 19s
CI / static-tests (push) Successful in 32s
CI / auto-merge (push) Has been skipped
refactor(core): src/app structure + fix auto-merge label gate (#10)
2026-06-15 17:01:10 +02:00

13 lines
363 B
PHP

<?php
declare(strict_types=1);
/**
* Amorce PHPUnit sans Composer : on charge l'autoloader manuel du Core puis on
* l'enregistre, exactement comme le fait le front controller en production
* (src/public/admin/index.php). Les tests resolvent ainsi App\... via PSR-4.
*/
require __DIR__ . '/../src/app/Core/Autoloader.php';
App\Core\Autoloader::register();