Skip to content

Commit

Permalink
Merge pull request #2 from romegadigital/feature/add-laravel-6-support
Browse files Browse the repository at this point in the history
update deps
Naoray authored Sep 12, 2019
2 parents 864a56c + 6a525a2 commit 67d77c4
Showing 3 changed files with 810 additions and 400 deletions.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
@@ -20,12 +20,12 @@
],
"require": {
"php": "~5.6|~7.0",
"illuminate/support": "~5.1",
"illuminate/support": "^5.1|^6.0",
"illuminate/database": "^5.1|^6.0",
"linfo/linfo": "^3.0"
},
"require-dev": {
"phpunit/phpunit" : "~4.0||~5.0||~6.0",
"squizlabs/php_codesniffer": "^2.3"
"phpunit/phpunit" : "~4.0|~5.0|~6.0|^8.0"
},
"autoload": {
"psr-4": {
1,190 changes: 801 additions & 389 deletions composer.lock

Large diffs are not rendered by default.

14 changes: 6 additions & 8 deletions src/HealthCheckServiceProvider.php
Original file line number Diff line number Diff line change
@@ -8,27 +8,25 @@ class HealthCheckServiceProvider extends ServiceProvider
{
/**
* Perform post-registration booting of services.
*
* @return void
*/
public function boot()
{
$this->loadRoutesFrom(__DIR__.'/routes.php');
$this->loadRoutesFrom(__DIR__ . '/routes.php');

$this->publishes([
__DIR__.'/config/healthcheck.php' => config_path('healthcheck.php'),
__DIR__ . '/config/healthcheck.php' => config_path('healthcheck.php'),
]);
}

/**
* Register any package services.
*
* @return void
*/
public function register()
{
$this->app->bind('iodigital-healthcheck', function() {
$this->mergeConfigFrom(__DIR__ . '/config/healthcheck.php', 'healthcheck');

$this->app->bind('iodigital-healthcheck', function () {
return new HealthCheck();
});
}
}
}

0 comments on commit 67d77c4

Please sign in to comment.