Skip to content

Make ConfigureRoutes fluent #160

Make ConfigureRoutes fluent

Make ConfigureRoutes fluent #160

Triggered via pull request April 22, 2024 21:12
Status Failure
Total duration 45s
Artifacts

static-analysis.yml

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

Annotations

4 errors and 1 warning
Static Analysis (locked, 8.1, ubuntu-latest): 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.
Static Analysis (locked, 8.1, ubuntu-latest): 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.
Static Analysis (locked, 8.1, ubuntu-latest): 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{}}.
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/.