We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | protected function setUp(): void { |
||
17 | DiContainer::initializeContainer(); |
||
18 | $this->container = DiContainer::getContainer(); |
||
19 | $this->mysql = $this->createMock(mysqli::class); |
||
20 | // Replace the factory definition for mysqli object with our mock, so when |
||
21 | // requesting a mysqli instance, it will always return a mock for this test |
||
22 | $this->container->set(mysqli::class, $this->mysql); |
||
23 | } |
||
44 |
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.