Fix most SA errors, remove Trace feature, fix Header usage #215
Annotations
6 errors and 1 warning
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/Controller/EventController.php#L60
Parameter #2 $array of function array_map expects array, iterable<Patchlevel\EventSourcing\EventBus\ListenerDescriptor> given.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/Decorator/RequestIdDecorator.php#L20
Method Patchlevel\EventSourcingAdminBundle\Decorator\RequestIdDecorator::__invoke() has parameter $message with generic class Patchlevel\EventSourcing\Message\Message but does not specify its types: T
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/Decorator/RequestIdDecorator.php#L20
Method Patchlevel\EventSourcingAdminBundle\Decorator\RequestIdDecorator::__invoke() return type with generic class Patchlevel\EventSourcing\Message\Message does not specify its types: T
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/Twig/DumpExtension.php#L44
Method Patchlevel\EventSourcingAdminBundle\Twig\DumpExtension::dump() should return string but returns string|null.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest):
src/Twig/InspectionExtension.php#L75
Cannot cast mixed to string.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest)
Process completed with exit code 1.
|
Static Analysis by PHPStan (locked, 8.3, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|