Roll back dependency patchlevel/event-sourcing-bundle to 3.0.0-rc2 #1
Annotations
10 errors and 1 warning
RiskyTruthyFalsyComparison:
src/Controller/InspectionController.php#L31
src/Controller/InspectionController.php:31:13: 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)
|
RiskyTruthyFalsyComparison:
src/Controller/InspectionController.php#L31
src/Controller/InspectionController.php:31:32: 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/InspectionController.php#L41
src/Controller/InspectionController.php:41:72: ArgumentTypeCoercion: Argument 1 of Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry::aggregateClass expects string, but parent type non-empty-scalar provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Controller/InspectionController.php#L43
src/Controller/InspectionController.php:43:61: ArgumentTypeCoercion: Argument 1 of Patchlevel\EventSourcing\Aggregate\CustomId::fromString expects string, but parent type non-empty-scalar provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Controller/InspectionController.php#L46
src/Controller/InspectionController.php:46:74: ArgumentTypeCoercion: Argument 1 of Patchlevel\EventSourcing\Metadata\AggregateRoot\AggregateRootRegistry::aggregateClass expects string, but parent type non-empty-scalar provided (see https://psalm.dev/193)
|
ArgumentTypeCoercion:
src/Controller/InspectionController.php#L47
src/Controller/InspectionController.php:47:26: ArgumentTypeCoercion: Argument 2 of Patchlevel\EventSourcing\Store\Criteria::__construct expects null|string, but parent type non-empty-scalar provided (see https://psalm.dev/193)
|
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)
|
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/.
|