1 | <?php |
||
17 | abstract class RouterBaseTest extends TestCase |
||
18 | { |
||
19 | protected const UNDEFINED_SA_NAME = 'undefined_sa'; |
||
20 | protected const ENV_SA_NAME = 'env_sa'; |
||
21 | protected const HEADERBASED_SA_NAME = 'headerbased_sa'; |
||
22 | |||
23 | /** @var \eZ\Publish\Core\MVC\Symfony\SiteAccess\MatcherBuilder */ |
||
24 | protected $matcherBuilder; |
||
25 | |||
26 | /** @var \eZ\Publish\Core\MVC\Symfony\SiteAccess\SiteAccessProviderInterface */ |
||
27 | protected $siteAccessProvider; |
||
28 | |||
29 | protected function setUp(): void |
||
35 | |||
36 | public function testConstruct(): Router |
||
40 | |||
41 | /** |
||
42 | * @dataProvider matchProvider |
||
43 | */ |
||
44 | public function testMatch(SimplifiedRequest $request, string $siteAccess) |
||
54 | |||
55 | abstract public function matchProvider(): array; |
||
56 | |||
57 | abstract protected function createRouter(): Router; |
||
58 | |||
59 | private function createSiteAccessProviderMock(): SiteAccess\SiteAccessProviderInterface |
||
83 | |||
84 | /** |
||
85 | * @return \eZ\Publish\Core\MVC\Symfony\SiteAccess\Tests\SiteAccessSetting[] |
||
86 | */ |
||
87 | abstract public function getSiteAccessProviderSettings(): array; |
||
88 | } |
||
89 |
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.