<?php

$dir = __DIR__ . '/../src/App/Resources/routes/';

require $dir . 'app.php';
require $dir . 'auth.php';

<?php

const ROUTES_DIR = __DIR__ . '/../src/App/Resources/routes/';

require ROUTES_DIR . 'app.php';
require ROUTES_DIR . 'auth.php';

Use a constant instead of variable
Use a constant instead of variable
