Skip to content

Make ConfigureRoutes fluent #161

Make ConfigureRoutes fluent

Make ConfigureRoutes fluent #161

Triggered via pull request April 22, 2024 22:17
Status Failure
Total duration 33s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
Static Analysis (locked, 8.1, ubuntu-latest): test/RouteCollectorImmutableTest.php#L45
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.
Static Analysis (locked, 8.1, ubuntu-latest): test/RouteCollectorImmutableTest.php#L118
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.
Static Analysis (locked, 8.1, ubuntu-latest): test/RouteCollectorImmutableTest.php#L178
Method class@anonymous/test/RouteCollectorImmutableTest.php:170::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{}}.
Static Analysis (locked, 8.1, ubuntu-latest): test/RouteCollectorTest.php#L45
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.
Static Analysis (locked, 8.1, ubuntu-latest): test/RouteCollectorTest.php#L118
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.
Static Analysis (locked, 8.1, ubuntu-latest): test/RouteCollectorTest.php#L178
Method class@anonymous/test/RouteCollectorTest.php:170::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{}}.
Static Analysis (locked, 8.1, ubuntu-latest)
Process completed with exit code 2.
Static Analysis (locked, 8.1, ubuntu-latest)
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/.