mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-18 17:12:22 +00:00
Define __RECTOR_RUNNING__ constant at analysis time
This commit is contained in:
parent
ed04aeb76f
commit
de81569417
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user