Pink-Crab/Perique-BladeOne-Provider

View on GitHub

Showing 2 of 2 total issues

BladeOne_Provider has 23 functions (exceeds 20 allowed). Consider refactoring.
Open

class BladeOne_Provider implements Renderable {

    /**
     * BladeOne Instance
     *
Severity: Minor
Found in src/BladeOne_Provider.php - About 2 hrs to fix

    Method use has 37 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public static function use( $template_path = null, ?string $compiled_path = null, int $mode = 0, $blade = null ) {
    
            add_filter(
                Hooks::APP_INIT_SET_DI_RULES,
                function( $rules ) use ( $template_path, $compiled_path, $mode, $blade ) {
    Severity: Minor
    Found in src/BladeOne_Bootstrap.php - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language