File tree Expand file tree Collapse file tree 4 files changed +9
-14
lines changed
Expand file tree Collapse file tree 4 files changed +9
-14
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 22
33namespace Studio \Totem \Console ;
44
5+ use Illuminate \Support \Facades \Artisan ;
6+
57class 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 }
Original file line number Diff line number Diff 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));
You can’t perform that action at this time.
0 commit comments