Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions src/CloudflareServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Illuminate\Contracts\Container\Container;
use Illuminate\Foundation\Application as LaravelApplication;
use Illuminate\Support\ServiceProvider;
use Laravel\Lumen\Application as LumenApplication;

class CloudflareServiceProvider extends ServiceProvider
{
Expand All @@ -31,14 +30,6 @@ private function setupConfig(): void
if ($this->app instanceof LaravelApplication && $this->app->runningInConsole()) {
$this->publishes([$source => $this->app->configPath('cloudflare.php')]);
}
// @codeCoverageIgnoreStart
// Lumen is discontinued and not an installed dependency here (only
// referenced for interface compatibility); this branch cannot be
// exercised without adding a dependency on an abandoned framework.
elseif ($this->app instanceof LumenApplication) {
$this->app->configure('cloudflare');
}
// @codeCoverageIgnoreEnd

$this->mergeConfigFrom($source, 'cloudflare');
}
Expand Down
Loading