hnhdigital-os/laravel-frontend-asset-loader

View on GitHub
src/ServiceProvider.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method boot has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function boot()
    {
        $this->publishes([
            __DIR__.'/../config/config.php' => config_path('hnhdigital/assets.php'),
        ]);
Severity: Minor
Found in src/ServiceProvider.php - About 1 hr to fix

    Avoid too many return statements within this method.
    Open

                return "<?php app('FrontendAsset')->package($name); ?>";
    Severity: Major
    Found in src/ServiceProvider.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return "<?php app('FrontendAsset')->package($name); ?>";
      Severity: Major
      Found in src/ServiceProvider.php - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status