| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| 1 | <?php |
||
| 39 | 18 | public function register() |
|
| 40 | {
|
||
| 41 | 18 | $this->app['command.composer-security:check'] = $this->app->share( |
|
|
1 ignored issue
–
show
|
|||
| 42 | 2 | function ($app) {
|
|
|
1 ignored issue
–
show
|
|||
| 43 | 2 | return new ComposerSecurityCheck(new client); |
|
| 44 | } |
||
| 45 | 18 | ); |
|
| 46 | 18 | $this->commands('command.composer-security:check');
|
|
| 47 | |||
| 48 | 18 | } |
|
| 49 | |||
| 60 |
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.