update readme #2
Annotations
10 errors and 1 warning
MixedAssignment:
src/Controller/InspectionController.php#L48
src/Controller/InspectionController.php:48:13: MixedAssignment: Unable to determine the type that $aggregateName is being assigned to (see https://psalm.dev/032)
|
InternalMethod:
src/Controller/InspectionController.php#L48
src/Controller/InspectionController.php:48:40: InternalMethod: The method Symfony\Component\HttpFoundation\Request::get is internal to Symfony but called from Patchlevel\EventSourcingAdminBundle\Controller\InspectionController::indexAction (see https://psalm.dev/175)
|
MixedAssignment:
src/Controller/InspectionController.php#L49
src/Controller/InspectionController.php:49:13: MixedAssignment: Unable to determine the type that $aggregateId is being assigned to (see https://psalm.dev/032)
|
InternalMethod:
src/Controller/InspectionController.php#L49
src/Controller/InspectionController.php:49:38: InternalMethod: The method Symfony\Component\HttpFoundation\Request::get is internal to Symfony but called from Patchlevel\EventSourcingAdminBundle\Controller\InspectionController::indexAction (see https://psalm.dev/175)
|
RiskyTruthyFalsyComparison:
src/Controller/StoreController.php#L56
src/Controller/StoreController.php:56:29: RiskyTruthyFalsyComparison: Operand of type null|scalar contains type scalar, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
ArgumentTypeCoercion:
src/Controller/StoreController.php#L56
src/Controller/StoreController.php:56:91: ArgumentTypeCoercion: Argument 1 of Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry::aggregateClass expects string, but parent type non-empty-scalar provided (see https://psalm.dev/193)
|
RiskyTruthyFalsyComparison:
src/Controller/StoreController.php#L57
src/Controller/StoreController.php:57:26: RiskyTruthyFalsyComparison: Operand of type null|scalar contains type scalar, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
ArgumentTypeCoercion:
src/Controller/StoreController.php#L57
src/Controller/StoreController.php:57:26: ArgumentTypeCoercion: Argument 2 of Patchlevel\EventSourcing\Store\Criteria::__construct expects null|string, but parent type non-empty-scalar|null provided (see https://psalm.dev/193)
|
UndefinedInterfaceMethod:
src/DependencyInjection/Configuration.php#L24
src/DependencyInjection/Configuration.php:24:11: UndefinedInterfaceMethod: Method Symfony\Component\Config\Definition\Builder\NodeParentInterface::end does not exist (see https://psalm.dev/181)
|
UndefinedClass:
src/DependencyInjection/PatchlevelEventSourcingAdminExtension.php#L94
src/DependencyInjection/PatchlevelEventSourcingAdminExtension.php:94:74: UndefinedClass: Class, interface or enum named Symfony\Component\ExpressionLanguage\ExpressionLanguage does not exist (see https://psalm.dev/019)
|
Static Analysis by Psalm (locked, 8.3, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|