Skip to content

Implement URI generation for named routes #131

Implement URI generation for named routes

Implement URI generation for named routes #131

Triggered via pull request February 6, 2024 23:46
Status Failure
Total duration 31s
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): src/GenerateUri/FromProcessedConfiguration.php#L26
Method FastRoute\GenerateUri\FromProcessedConfiguration::__construct() has parameter $processedConfiguration with no value type specified in iterable type array.
Static Analysis (locked, 8.1, ubuntu-latest): src/GenerateUri/FromProcessedConfiguration.php#L26
PHPDoc tag @param references unknown parameter: $routeData
Static Analysis (locked, 8.1, ubuntu-latest): test/Cache/Psr16CacheTest.php#L21
Parameter #2 $loader of method FastRoute\Cache\Psr16Cache::get() expects callable(): 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>}>}>>, array<non-empty-string, array<int, array<array{string, string}|string>>>}, Closure(): array{array{GET: array{'/': array{'test', array{}}}}, array{}} given.
Static Analysis (locked, 8.1, ubuntu-latest): test/Cache/Psr16CacheTest.php#L23
Call to static method PHPUnit\Framework\Assert::assertSame() with array{array{GET: array{/: array{'test', array{}}}}, array{}} and 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>}>}>>, array<non-empty-string, array<int, array<array{string, string}|string>>>} will always evaluate to false.
Static Analysis (locked, 8.1, ubuntu-latest): test/Cache/Psr16CacheTest.php#L27
Parameter #2 $loader of method FastRoute\Cache\Psr16Cache::get() expects callable(): 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>}>}>>, array<non-empty-string, array<int, array<array{string, string}|string>>>}, Closure(): array{array{POST: array{'/': array{'test', array{}}}}, array{}} given.
Static Analysis (locked, 8.1, ubuntu-latest): test/Cache/Psr16CacheTest.php#L29
Call to static method PHPUnit\Framework\Assert::assertSame() with array{array{GET: array{/: array{'test', array{}}}}, array{}} and 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>}>}>>, array<non-empty-string, array<int, array<array{string, string}|string>>>} will always evaluate to false.
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/.