public static function setUpBeforeClass() { if (defined('TESTS_COMPOSER_PATH')) { self::$composerPath = TESTS_COMPOSER_PATH; } self::$shell = self::createShell(); self::$isComposerAvailable = self::isComposerAvailable(); self::$root = Files::init()->getPathToSource(); self::$rootJson = json_decode(file_get_contents(self::$root . '/composer.json'), true); self::$dependencies = []; }