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

Commit

Permalink
Merge pull request #43 from lucid-architecture/6.0
Browse files Browse the repository at this point in the history
remove unnecessary invalid dependency
  • Loading branch information
harris21 authored Dec 22, 2019
2 parents 5ec3749 + 0cb64e2 commit b775f07
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"symfony/process": "^4.1",
"symfony/finder": "^4.1",
"symfony/filesystem": "^4.1",
"stevebauman/log-reader": "^1.1",
"phploc/phploc": "~4.0"
}
}
15 changes: 0 additions & 15 deletions src/Http/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,21 +83,6 @@
return app(\Lucid\Console\Generators\FeatureGenerator::class)->generate($title, $service, $jobs)->toArray();
});

Route::get('/logs', function () {
$reader = app(\Stevebauman\LogReader\LogReader::class);

if (request()->has('level')) {
$reader->level(request()->input('level'));
}

return $reader->orderBy('date')
->paginate(25);
});

Route::put('/logs/{id}/read', function ($id) {
app(\Stevebauman\LogReader\LogReader::class)->find($id)->markRead();
});

Route::get('/analysis', function () {
return (new \Lucid\Console\Analyser())->analyse();
});
Expand Down
3 changes: 0 additions & 3 deletions src/LucidServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
namespace Lucid\Console;

use Illuminate\Support\ServiceProvider;
use Stevebauman\LogReader\LogReaderServiceProvider;

/**
* @author Abed Halawi <abed.halawi@vinelab.com>
Expand Down Expand Up @@ -53,8 +52,6 @@ public function register()
{
$configPath = __DIR__ . '/../config/lucid.php';
$this->mergeConfigFrom($configPath, 'lucid');

$this->app->register(LogReaderServiceProvider::class);
}

/**
Expand Down

0 comments on commit b775f07

Please sign in to comment.