We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 7 | class CrudRequestBackpackCommand extends GeneratorCommand |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * The console command name. |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $name = 'backpack:crud-request'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * The name and signature of the console command. |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $signature = 'backpack:crud-request {name}'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The console command description. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $description = 'Generate a Backpack\CRUD request'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * The type of class being generated. |
||
| 32 | * |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | protected $type = 'Request'; |
||
| 36 | |||
| 37 | |||
| 38 | /** |
||
| 39 | * Get the destination class path. |
||
| 40 | * |
||
| 41 | * @param string $name |
||
| 42 | * @return string |
||
| 43 | */ |
||
| 44 | protected function getPath($name) |
||
| 50 | |||
| 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 | * Get the console command options. |
||
| 76 | * |
||
| 77 | * @return array |
||
| 78 | */ |
||
| 79 | protected function getOptions() |
||
| 85 | } |
||
| 86 |
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.