Make ConfigureRoutes fluent #160
Annotations
4 errors and 1 warning
PHPStan:
test/RouteCollectorTest.php#L46
Call to static method PHPUnit\Framework\Assert::assertSame() with array{array{'*', '/any', 'any', array{_route: '/any'}}, array{'DELETE', '/delete', 'delete', array{_route: '/delete'}}, array{'GET', '/get', 'get', array{_route: '/get'}}, array{'HEAD', '/head', 'head', array{_route: '/head'}}, array{'PATCH', '/patch', 'patch', array{_route: '/patch'}}, array{'POST', '/post', 'post', array{_route: '/post'}}, array{'PUT', '/put', 'put', array{_route: '/put'}}, array{'OPTIONS', '/options', 'options', array{_route: '/options'}}} and array<string, array<string, array{mixed, array<string, bool|float|int|string>}>> will always evaluate to false.
|
PHPStan:
test/RouteCollectorTest.php#L119
Call to static method PHPUnit\Framework\Assert::assertSame() with array{array{'DELETE', '/delete', 'delete', array{_route: '/delete'}}, array{'GET', '/get', 'get', array{_route: '/get'}}, array{'HEAD', '/head', 'head', array{_route: '/head'}}, array{'PATCH', '/patch', 'patch', array{_route: '/patch'}}, array{'POST', '/post', 'post', array{_route: '/post'}}, array{'PUT', '/put', 'put', array{_route: '/put'}}, array{'OPTIONS', '/options', 'options', array{_route: '/options'}}, array{'DELETE', '/group-one/delete', 'delete', array{_route: '/group-one/delete'}}, ...} and array<string, array<string, array{mixed, array<string, bool|float|int|string>}>> will always evaluate to false.
|
PHPStan:
test/RouteCollectorTest.php#L179
Method class@anonymous/test/RouteCollectorTest.php:171::getData() should return array{array<string, array<string, array{mixed, array<string, bool|float|int|string>}>>, array<string, array<int, array{regex: string, suffix?: string, routeMap: array<int|string, array{mixed, array<string, string>, array<string, bool|float|int|string>}>}>>} but returns array{array<int, array{string, string, mixed, array<string, bool|float|int|string>}>, array{}}.
|
PHPStan
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading