updated-packages

This commit is contained in:
RafficMohammed
2023-01-08 00:13:22 +05:30
parent 3ff7df7487
commit da241bacb6
12659 changed files with 563377 additions and 510538 deletions

View File

@@ -43,7 +43,7 @@ class TinkerCommand extends Command
$this->getApplication()->setCatchExceptions(false);
$config = new Configuration([
'updateCheck' => 'never'
'updateCheck' => 'never',
]);
$config->getPresenter()->addCasters(
@@ -54,7 +54,13 @@ class TinkerCommand extends Command
$shell->addCommands($this->getCommands());
$shell->setIncludes($this->argument('include'));
$path = $this->getLaravel()->basePath().DIRECTORY_SEPARATOR.'vendor/composer/autoload_classmap.php';
if (isset($_ENV['COMPOSER_VENDOR_DIR'])) {
$path = $_ENV['COMPOSER_VENDOR_DIR'];
} else {
$path = $this->getLaravel()->basePath().DIRECTORY_SEPARATOR.'vendor';
}
$path .= '/composer/autoload_classmap.php';
$loader = ClassAliasAutoloader::register($shell, $path);