Skip to content

Commit cee8a8c

Browse files
committed
chore : prepare for release
1 parent 0667335 commit cee8a8c

File tree

4 files changed

+9
-14
lines changed

4 files changed

+9
-14
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,8 @@ This project follows [Semantic Versioning](CONTRIBUTING.md).
44

55
---
66

7-
### v1.0.0 - TBD
7+
### v2.0.0 - 09/03/2017
8+
Initial stable release for Laravel 5.5
9+
10+
### v1.0.0 - 09/03/2017
11+
Initial stable release for Laravel 5.4

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Manage your `Laravel Schedule` from a pretty dashboard. Schedule your `Laravel C
1919

2020
|<span align="left">Laravel</span> |<span align="left">Totem</span> |
2121
|:-------|----------:|
22-
|master | master|
2322
|5.5 | 2.0 |
2423
|5.4 | 1.0 |
2524

src/Console/Kernel.php

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace Studio\Totem\Console;
44

5+
use Illuminate\Support\Facades\Artisan;
6+
57
class Kernel extends \Illuminate\Foundation\Console\Kernel
68
{
79
/**
@@ -13,13 +15,9 @@ public function all()
1315
{
1416
$this->bootstrap();
1517

16-
if (! $this->commandsLoaded) {
17-
$this->commands();
18-
19-
$this->commandsLoaded = true;
20-
}
18+
$this->commands();
2119

22-
return collect($this->getArtisan()->all())->sortBy(function ($command) {
20+
return collect(Artisan::all())->sortBy(function ($command) {
2321
return $command->getDescription();
2422
});
2523
}
@@ -31,11 +29,6 @@ public function all()
3129
*/
3230
protected function commands()
3331
{
34-
// TODO: remove this method while 5.5 branching
35-
if (method_exists($this, 'load')) {
36-
$this->load(base_path('app/Console/Commands'));
37-
}
38-
3932
if (file_exists(base_path('routes/console.php'))) {
4033
require base_path('routes/console.php');
4134
}

src/Providers/ConsoleServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ class ConsoleServiceProvider extends ServiceProvider
1616
*/
1717
public function boot()
1818
{
19-
// TODO: refactor this to resolving callback while 5.5 branching
2019
$this->app->booted(function () {
2120
if ($this->app->runningInConsole()) {
2221
$this->schedule($this->app->make(Schedule::class));

0 commit comments

Comments
 (0)