updated-packages
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user