We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
8 | class CrudControllerBackpackCommand extends GeneratorCommand |
||
9 | { |
||
10 | /** |
||
11 | * The console command name. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $name = 'backpack:crud-controller'; |
||
16 | |||
17 | /** |
||
18 | * The name and signature of the console command. |
||
19 | * |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $signature = 'backpack:crud-controller {name}'; |
||
23 | |||
24 | /** |
||
25 | * The console command description. |
||
26 | * |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $description = 'Generate a Backpack CRUD controller'; |
||
30 | |||
31 | /** |
||
32 | * The type of class being generated. |
||
33 | * |
||
34 | * @var string |
||
35 | */ |
||
36 | protected $type = 'Controller'; |
||
37 | |||
38 | |||
39 | /** |
||
40 | * Get the destination class path. |
||
41 | * |
||
42 | * @param string $name |
||
43 | * @return string |
||
44 | */ |
||
45 | protected function getPath($name) |
||
51 | |||
52 | /** |
||
53 | * Get the stub file for the generator. |
||
54 | * |
||
55 | * @return string |
||
56 | */ |
||
57 | protected function getStub() |
||
61 | |||
62 | /** |
||
63 | * Get the default namespace for the class. |
||
64 | * |
||
65 | * @param string $rootNamespace |
||
66 | * |
||
67 | * @return string |
||
68 | */ |
||
69 | protected function getDefaultNamespace($rootNamespace) |
||
73 | |||
74 | /** |
||
75 | * Replace the table name for the given stub. |
||
76 | * |
||
77 | * @param string $stub |
||
78 | * @param string $name |
||
79 | * |
||
80 | * @return string |
||
81 | */ |
||
82 | protected function replaceNameStrings(&$stub, $name) |
||
91 | |||
92 | /** |
||
93 | * Build the class with the given name. |
||
94 | * |
||
95 | * @param string $name |
||
96 | * |
||
97 | * @return string |
||
98 | */ |
||
99 | protected function buildClass($name) |
||
105 | |||
106 | /** |
||
107 | * Get the console command options. |
||
108 | * |
||
109 | * @return array |
||
110 | */ |
||
111 | protected function getOptions() |
||
117 | } |
||
118 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.