Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class ServiceProviderTest extends TestCase |
||
9 | { |
||
10 | public function test_merges_config(): void |
||
11 | { |
||
12 | static::assertSame( |
||
13 | $this->app->make('files') |
||
14 | ->getRequire(RequirePinServiceProvider::CONFIG), |
||
15 | $this->app->make('config')->get('require-pin') |
||
16 | ); |
||
17 | } |
||
18 | |||
19 | public function test_loads_translations(): void |
||
20 | { |
||
21 | static::assertArrayHasKey('requirepin', |
||
22 | $this->app->make('translator')->getLoader()->namespaces()); |
||
|
|||
23 | } |
||
24 | |||
25 | public function test_publishes_middleware(): void |
||
31 | } |
||
32 | |||
33 | } |
||
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.