jbboehr/laravel-blade-linter

View on GitHub
src/BladeLinterServiceProvider.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php
declare(strict_types=1);

namespace Bdelespierre\LaravelBladeLinter;

use Illuminate\Support\ServiceProvider;

final class BladeLinterServiceProvider extends ServiceProvider
{
    public function boot(): void
    {
        if ($this->app->runningInConsole()) {
            $this->commands([BladeLinterCommand::class]);
        }
    }
}