Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Code Duplication    Length = 18-18 lines in 3 locations

src/Console/Commands/ExtendPermissionCrudController.php 1 location

@@ 44-61 (lines=18) @@
41
     *
42
     * @return string
43
     */
44
    protected function getPath($name)
45
    {
46
        // Get relative path name
47
        $name = str_replace_first($this->laravel->getNamespace(), '', $name);
48
        $name = str_replace('\\', '/', $name);
49
50
        // Pull expected filename from path
51
        $name_array = explode('/', $name);
52
        $file = array_pop($name_array);
53
        // Replace with Extended version
54
        $name_array[] = 'Extend'.$file;
55
56
        // Implode array to string
57
        $name = implode('/', $name_array);
58
59
        // Return new path
60
        return $this->laravel['path'].'/'.$name.'CrudController.php';
61
    }
62
63
    /**
64
     * Get the stub file for the generator.

src/Console/Commands/ExtendPermissionCrudModel.php 1 location

@@ 54-71 (lines=18) @@
51
     *
52
     * @return string
53
     */
54
    protected function getPath($name)
55
    {
56
        // Get relative path name
57
        $name = str_replace_first($this->laravel->getNamespace(), '', $name);
58
        $name = str_replace('\\', '/', $name);
59
60
        // Pull expected filename from path
61
        $name_array = explode('/', $name);
62
        $file = array_pop($name_array);
63
        // Replace with Extended version
64
        $name_array[] = 'Extend'.$file;
65
66
        // Implode array to string
67
        $name = implode('/', $name_array);
68
69
        // Return new path
70
        return $this->laravel['path'].'/'.$name.'.php';
71
    }
72
73
    /**
74
     * Get the default namespace for the class.

src/Console/Commands/ExtendPermissionCrudRequest.php 1 location

@@ 54-71 (lines=18) @@
51
     *
52
     * @return string
53
     */
54
    protected function getPath($name)
55
    {
56
        // Get relative path name
57
        $name = str_replace_first($this->laravel->getNamespace(), '', $name);
58
        $name = str_replace('\\', '/', $name);
59
60
        // Pull expected filename from path
61
        $name_array = explode('/', $name);
62
        $file = array_pop($name_array);
63
        // Replace with Extended version
64
        $name_array[] = 'Extend'.$file;
65
66
        // Implode array to string
67
        $name = implode('/', $name_array);
68
69
        // Return new path
70
        return $this->laravel['path'].'/'.$name.'CrudRequest.php';
71
    }
72
73
    /**
74
     * Get the default namespace for the class.