Skip to content

Add a command to print the application's routing table #365

Add a command to print the application's routing table

Add a command to print the application's routing table #365

Triggered via pull request July 19, 2024 10:12
Status Failure
Total duration 1m 0s
Artifacts

continuous-integration.yml

on: pull_request
ci  /  Generate job matrix
5s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

12 errors
MissingTemplateParam: src/Routes/Filter/RoutesFilter.php#L31
src/Routes/Filter/RoutesFilter.php:31:13: MissingTemplateParam: Mezzio\Tooling\Routes\Filter\RoutesFilter has missing template params when extending FilterIterator, expecting 3 (see https://psalm.dev/182)
InvalidArgument: src/Routes/ListRoutesCommand.php#L212
src/Routes/ListRoutesCommand.php:212:13: InvalidArgument: Argument 1 of Mezzio\Tooling\Routes\Filter\RoutesFilter::__construct expects ArrayIterator<array-key, Mezzio\Router\Route>, but ArrayIterator<int, Mezzio\Router\Route> provided (see https://psalm.dev/004)
UnresolvableInclude: src/Routes/RoutesFileConfigLoader.php#L39
src/Routes/RoutesFileConfigLoader.php:39:10: UnresolvableInclude: Cannot resolve the given expression to a file path (see https://psalm.dev/106)
UndefinedVariable: src/Routes/RoutesFileConfigLoader.php#L39
src/Routes/RoutesFileConfigLoader.php:39:18: UndefinedVariable: Cannot find referenced variable $configFilePath (see https://psalm.dev/024)
UnusedMethodCall: test/Routes/ListRoutesCommandTest.php#L59
test/Routes/ListRoutesCommandTest.php:59:13: UnusedMethodCall: The call to ReflectionMethod::setAccessible is not used (see https://psalm.dev/209)
ArgumentTypeCoercion: test/Routes/ListRoutesCommandTest.php#L77
test/Routes/ListRoutesCommandTest.php:77:34: ArgumentTypeCoercion: Argument 1 of ReflectionClass::__construct expects class-string|object|trait-string, but parent type string provided (see https://psalm.dev/193)
DeprecatedMethod: test/Routes/ListRoutesCommandTest.php#L149
test/Routes/ListRoutesCommandTest.php:149:15: DeprecatedMethod: The method PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: test/Routes/ListRoutesCommandTest.php#L261
test/Routes/ListRoutesCommandTest.php:261:15: DeprecatedMethod: The method PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: test/Routes/ListRoutesCommandTest.php#L395
test/Routes/ListRoutesCommandTest.php:395:15: DeprecatedMethod: The method PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive has been marked as deprecated (see https://psalm.dev/001)
DeprecatedMethod: test/Routes/ListRoutesCommandTest.php#L469
test/Routes/ListRoutesCommandTest.php:469:15: DeprecatedMethod: The method PHPUnit\Framework\MockObject\Builder\InvocationMocker::withConsecutive has been marked as deprecated (see https://psalm.dev/001)