| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | final class SystemClockTest extends TestCase |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var DateTimeImmutableFactory&MockObject |
||
| 20 | */ |
||
| 21 | private DateTimeImmutableFactory $factory; |
||
| 22 | |||
| 23 | public function setUp(): void |
||
| 26 | } |
||
| 27 | |||
| 28 | public function testImplementsClockInterface(): void |
||
| 29 | { |
||
| 30 | $this->assertInstanceOf(ClockInterface::class, new SystemClock($this->factory)); |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @throws \Exception |
||
| 35 | */ |
||
| 36 | public function testNow(): void |
||
| 49 | } |
||
| 50 | } |
||
| 51 |
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.