Maybe you can avoid this new if/else and move require_once calls up:

```php
if ( ( $useDebugging = getenv( "USE_DEBUGGING" ) ) === false )
{
    $useDebugging = $environment === "dev";
    $loader = require_once __DIR__ . '/../ezpublish/autoload.php';
}
else
{
    $loader = require_once __DIR__ . '/../ezpublish/bootstrap.php.cache';
}
```