| Conditions | 3 |
| Paths | 4 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | protected function setUp() : void |
||
| 18 | { |
||
| 19 | $this->rootDir = __DIR__ . '/..'; |
||
| 20 | $composerPath = $this->rootDir . '/composer.phar'; |
||
| 21 | |||
| 22 | if (! file_exists($composerPath)) { |
||
| 23 | self::markTestSkipped('Download composer with the ./download-composer.sh shell script.'); |
||
|
|
|||
| 24 | } |
||
| 25 | |||
| 26 | if (is_dir(__DIR__ . '/example/vendor')) { |
||
| 27 | return; |
||
| 28 | } |
||
| 29 | |||
| 30 | $process = new Process(['php', $composerPath, 'install'], __DIR__ . '/example'); |
||
| 31 | $process->run(); |
||
| 32 | } |
||
| 34 |
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.