major refactoring of tests and code + remove some features + add bett… #23
Annotations
8 errors and 2 warnings
build:
src/Route.php#L177
PHPDoc tag @param references unknown parameter: $additionalPatterns
|
build:
src/Route.php#L187
PHPDoc tag @param references unknown parameter: $additionalPatterns
|
build:
src/Router.php#L180
Access to an undefined property IngeniozIT\Router\Route|IngeniozIT\Router\RouteGroup::$name.
|
build:
src/Router.php#L181
Method IngeniozIT\Router\Router::findNamedRoute() should return IngeniozIT\Router\Route|null but returns IngeniozIT\Router\Route|IngeniozIT\Router\RouteGroup.
|
build:
tests/Features/AdditionalAttributesTest.php#L19
Parameter #1 $content of static method IngeniozIT\Router\Tests\RouterCase::response() expects string, mixed given.
|
build:
tests/Features/AdditionalAttributesTest.php#L59
Parameter #1 $content of static method IngeniozIT\Router\Tests\RouterCase::response() expects string, mixed given.
|
build:
tests/Features/AdditionalAttributesTest.php#L79
Parameter #1 $content of static method IngeniozIT\Router\Tests\RouterCase::response() expects string, mixed given.
|
build
Process completed with exit code 1.
|
build
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/.
|
build:
src/Router.php#L87
Escaped Mutant for Mutator "Throw_":
--- Original
+++ New
@@ @@
return $handler->process($request, $this);
}
if (!is_callable($handler)) {
- throw new InvalidRoute("Middleware callback is not callable.");
+ new InvalidRoute("Middleware callback is not callable.");
}
return $handler($request, $this);
}
|