| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 20 | public function it_removes_malicious_code() |
||
| 21 | { |
||
| 22 | $content = file_get_contents(__DIR__.'/stubs/exploit.jpeg'); |
||
| 23 | |||
| 24 | $secureImage = $this->app->make(ImageSanitize::class)->sanitize($content); |
||
| 25 | |||
| 26 | $this->assertFalse($this->app->make(ImageSanitize::class)->detect($secureImage)); |
||
| 27 | } |
||
| 29 |
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.