Skip to content

Commit

Permalink
Moved tinker out to an external package (#17002)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored and taylorotwell committed Dec 28, 2016
1 parent 59816bb commit 180cac1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 213 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"mtdowling/cron-expression": "~1.0",
"nesbot/carbon": "~1.20",
"paragonie/random_compat": "~1.4|~2.0",
"psy/psysh": "0.7.*|0.8.*",
"ramsey/uuid": "~3.0",
"swiftmailer/swiftmailer": "~5.1",
"symfony/console": "~3.2",
Expand Down Expand Up @@ -104,6 +103,7 @@
"doctrine/dbal": "Required to rename columns and drop SQLite columns (~2.4).",
"fzaninotto/faker": "Required to use the eloquent factory builder (~1.4).",
"guzzlehttp/guzzle": "Required to use the Mailgun and Mandrill mail drivers and the ping methods on schedules (~5.3|~6.0).",
"laravel/tinker": "Required to use the tinker console command (~1.0).",
"league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (~1.0).",
"league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (~1.0).",
"pda/pheanstalk": "Required to use the beanstalk queue driver (~3.0).",
Expand Down
98 changes: 0 additions & 98 deletions src/Illuminate/Foundation/Console/IlluminateCaster.php

This file was deleted.

100 changes: 0 additions & 100 deletions src/Illuminate/Foundation/Console/TinkerCommand.php

This file was deleted.

14 changes: 0 additions & 14 deletions src/Illuminate/Foundation/Providers/ArtisanServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use Illuminate\Auth\Console\ClearResetsCommand;
use Illuminate\Cache\Console\CacheTableCommand;
use Illuminate\Foundation\Console\ServeCommand;
use Illuminate\Foundation\Console\TinkerCommand;
use Illuminate\Queue\Console\FailedTableCommand;
use Illuminate\Foundation\Console\AppNameCommand;
use Illuminate\Foundation\Console\JobMakeCommand;
Expand Down Expand Up @@ -105,7 +104,6 @@ class ArtisanServiceProvider extends ServiceProvider
'ScheduleFinish' => 'Illuminate\Console\Scheduling\ScheduleFinishCommand',
'ScheduleRun' => 'Illuminate\Console\Scheduling\ScheduleRunCommand',
'StorageLink' => 'command.storage.link',
'Tinker' => 'command.tinker',
'Up' => 'command.up',
'ViewClear' => 'command.view.clear',
];
Expand Down Expand Up @@ -797,18 +795,6 @@ protected function registerTestMakeCommand()
});
}

/**
* Register the command.
*
* @return void
*/
protected function registerTinkerCommand()
{
$this->app->singleton('command.tinker', function () {
return new TinkerCommand;
});
}

/**
* Register the command.
*
Expand Down

0 comments on commit 180cac1

Please sign in to comment.