Define __RECTOR_RUNNING__ constant at analysis time

This commit is contained in:
Markus Staab 2020-05-08 14:12:25 +02:00 committed by GitHub
parent ed04aeb76f
commit de81569417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,8 @@ error_reporting(E_ALL);
ini_set('display_errors', 'stderr');
gc_disable();
define('__RECTOR_RUNNING__', true);
// Require Composer autoload.php
$autoloadIncluder = new AutoloadIncluder();
$autoloadIncluder->includeCwdVendorAutoloadIfExists();