Skip to content
This repository was archived by the owner on Apr 16, 2024. It is now read-only.

Commit 0cb64e2

Browse files
committed
remove unnecessary invalid dependency
1 parent 5ec3749 commit 0cb64e2

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"symfony/process": "^4.1",
2222
"symfony/finder": "^4.1",
2323
"symfony/filesystem": "^4.1",
24-
"stevebauman/log-reader": "^1.1",
2524
"phploc/phploc": "~4.0"
2625
}
2726
}

src/Http/routes.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -83,21 +83,6 @@
8383
return app(\Lucid\Console\Generators\FeatureGenerator::class)->generate($title, $service, $jobs)->toArray();
8484
});
8585

86-
Route::get('/logs', function () {
87-
$reader = app(\Stevebauman\LogReader\LogReader::class);
88-
89-
if (request()->has('level')) {
90-
$reader->level(request()->input('level'));
91-
}
92-
93-
return $reader->orderBy('date')
94-
->paginate(25);
95-
});
96-
97-
Route::put('/logs/{id}/read', function ($id) {
98-
app(\Stevebauman\LogReader\LogReader::class)->find($id)->markRead();
99-
});
100-
10186
Route::get('/analysis', function () {
10287
return (new \Lucid\Console\Analyser())->analyse();
10388
});

src/LucidServiceProvider.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Lucid\Console;
1313

1414
use Illuminate\Support\ServiceProvider;
15-
use Stevebauman\LogReader\LogReaderServiceProvider;
1615

1716
/**
1817
* @author Abed Halawi <[email protected]>
@@ -53,8 +52,6 @@ public function register()
5352
{
5453
$configPath = __DIR__ . '/../config/lucid.php';
5554
$this->mergeConfigFrom($configPath, 'lucid');
56-
57-
$this->app->register(LogReaderServiceProvider::class);
5855
}
5956

6057
/**

0 commit comments

Comments
 (0)