Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBadura committed Dec 12, 2023
1 parent d983bbc commit 152b7a2
Show file tree
Hide file tree
Showing 4 changed files with 380 additions and 262 deletions.
74 changes: 37 additions & 37 deletions baseline.xml
Original file line number Diff line number Diff line change
@@ -1,33 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.6.0@e784128902dfe01d489c4123d69918a9f3c1eac5">
<files psalm-version="5.17.0@c620f6e80d0abfca532b00bda366062aaedf6e5d">
<file src="src/Clock/FrozenClock.php">
<PossiblyFalsePropertyAssignmentValue>
<code>$this-&gt;frozenDateTime-&gt;modify(sprintf('+%s seconds', $seconds))</code>
<code><![CDATA[$this->frozenDateTime->modify(sprintf('+%s seconds', $seconds))]]></code>
</PossiblyFalsePropertyAssignmentValue>
</file>
<file src="src/Console/Command/ProjectionCommand.php">
<DeprecatedClass>
<code>MetadataAwareProjectionHandler</code>
<code>MetadataAwareProjectionHandler::class</code>
<code>new MetadataAwareProjectionHandler(
<code><![CDATA[new MetadataAwareProjectionHandler(
$projections,
$projectionHandler-&gt;metadataFactory()
)</code>
$projectionHandler->metadataFactory()
)]]></code>
</DeprecatedClass>
<DeprecatedInterface>
<code>ProjectionHandler</code>
<code>ProjectionHandler</code>
<code>ProjectionHandler</code>
<code>ProjectionHandler</code>
<code>non-empty-array&lt;class-string&lt;Projection&gt;&gt;</code>
<code>non-empty-array&lt;class-string&lt;Projection&gt;&gt;|null</code>
<code><![CDATA[non-empty-array<class-string<Projection>>]]></code>
<code><![CDATA[non-empty-array<class-string<Projection>>|null]]></code>
</DeprecatedInterface>
<InvalidOperand>
<code>$projectionHandler-&gt;projections()</code>
<code><![CDATA[$projectionHandler->projections()]]></code>
</InvalidOperand>
<RedundantFunctionCall>
<code>array_values</code>
</RedundantFunctionCall>
<ReservedWord>
<code>Projection</code>
</ReservedWord>
</file>
<file src="src/Console/Command/ProjectionRebuildCommand.php">
<DeprecatedClass>
Expand Down Expand Up @@ -62,13 +65,13 @@
</file>
<file src="src/Console/Worker/DefaultWorker.php">
<TypeDoesNotContainType>
<code>$this-&gt;shouldStop</code>
<code>$this-&gt;shouldStop</code>
<code><![CDATA[$this->shouldStop]]></code>
<code><![CDATA[$this->shouldStop]]></code>
</TypeDoesNotContainType>
</file>
<file src="src/Console/Worker/Listener/StopWorkerOnSigtermSignalListener.php">
<MoreSpecificReturnType>
<code>array&lt;class-string, string&gt;</code>
<code><![CDATA[array<class-string, string>]]></code>
</MoreSpecificReturnType>
</file>
<file src="src/EventBus/Message.php">
Expand All @@ -83,6 +86,9 @@
<DeprecatedClass>
<code>Normalize::class</code>
</DeprecatedClass>
<DocblockTypeContradiction>
<code>$reflectionType instanceof ReflectionIntersectionType</code>
</DocblockTypeContradiction>
</file>
<file src="src/Metadata/Event/AttributeEventMetadataFactory.php">
<DeprecatedClass>
Expand All @@ -92,28 +98,28 @@
<file src="src/Metadata/Projection/AttributeProjectionMetadataFactory.php">
<DeprecatedInterface>
<code>array</code>
<code>class-string&lt;Projection&gt;</code>
<code><![CDATA[class-string<Projection>]]></code>
<code>private array $projectionMetadata = [];</code>
</DeprecatedInterface>
</file>
<file src="src/Metadata/Projection/DuplicateCreateMethod.php">
<DeprecatedInterface>
<code>class-string&lt;Projection&gt;</code>
<code><![CDATA[class-string<Projection>]]></code>
</DeprecatedInterface>
</file>
<file src="src/Metadata/Projection/DuplicateDropMethod.php">
<DeprecatedInterface>
<code>class-string&lt;Projection&gt;</code>
<code><![CDATA[class-string<Projection>]]></code>
</DeprecatedInterface>
</file>
<file src="src/Metadata/Projection/DuplicateHandleMethod.php">
<DeprecatedInterface>
<code>class-string&lt;Projection&gt;</code>
<code><![CDATA[class-string<Projection>]]></code>
</DeprecatedInterface>
</file>
<file src="src/Metadata/Projection/ProjectionMetadataFactory.php">
<DeprecatedInterface>
<code>class-string&lt;Projection&gt;</code>
<code><![CDATA[class-string<Projection>]]></code>
</DeprecatedInterface>
</file>
<file src="src/Pipeline/Source/StoreSource.php">
Expand Down Expand Up @@ -144,16 +150,16 @@
<DeprecatedInterface>
<code>MetadataAwareProjectionHandler</code>
<code>iterable</code>
<code>iterable&lt;Projection&gt;</code>
<code>iterable&lt;Projection&gt;</code>
<code><![CDATA[iterable<Projection>]]></code>
<code><![CDATA[iterable<Projection>]]></code>
</DeprecatedInterface>
</file>
<file src="src/Projection/Projection/ProjectionCollection.php">
<InvalidReturnStatement>
<code>new ArrayIterator(array_values($this-&gt;projections))</code>
<code><![CDATA[new ArrayIterator(array_values($this->projections))]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code>ArrayIterator&lt;int, Projection&gt;</code>
<code><![CDATA[ArrayIterator<int, Projection>]]></code>
</InvalidReturnType>
</file>
<file src="src/Projection/ProjectionListener.php">
Expand All @@ -164,7 +170,7 @@
</file>
<file src="src/Projection/Projector/InMemoryProjectorRepository.php">
<InvalidOperand>
<code>$this-&gt;projectors</code>
<code><![CDATA[$this->projectors]]></code>
</InvalidOperand>
</file>
<file src="src/Projection/Projector/MetadataProjectorResolver.php">
Expand All @@ -181,17 +187,6 @@
<code>Projection</code>
</DeprecatedInterface>
</file>
<file src="src/Repository/DefaultRepository.php">
<MixedArgument>
<code>++$playhead</code>
</MixedArgument>
<MixedAssignment>
<code>$playhead</code>
</MixedAssignment>
<MixedOperand>
<code>$playhead</code>
</MixedOperand>
</file>
<file src="src/Schema/DoctrineSchemaDirector.php">
<DeprecatedMethod>
<code>createSchema</code>
Expand Down Expand Up @@ -233,13 +228,13 @@
</file>
<file src="src/Snapshot/DefaultSnapshotStore.php">
<MixedArgument>
<code>$data['payload']</code>
<code><![CDATA[$data['payload']]]></code>
</MixedArgument>
</file>
<file src="src/Store/DoctrineStore.php">
<MixedReturnTypeCoercion>
<code>$normalizedCustomHeaders</code>
<code>array&lt;string, mixed&gt;</code>
<code><![CDATA[array<string, mixed>]]></code>
</MixedReturnTypeCoercion>
</file>
<file src="src/Store/MultiTableStore.php">
Expand Down Expand Up @@ -366,6 +361,11 @@
<code>$value</code>
</MixedArgumentTypeCoercion>
</file>
<file src="tests/Unit/Fixture/ProfileWithBrokenApplyIntersection.php">
<ReservedWord>
<code><![CDATA[ProfileCreated&ProfileVisited $event]]></code>
</ReservedWord>
</file>
<file src="tests/Unit/Fixture/ProfileWithBrokenApplyNoType.php">
<MissingParamType>
<code>$event</code>
Expand All @@ -387,7 +387,7 @@
</file>
<file src="tests/Unit/Pipeline/Target/ProjectionHandlerTargetTest.php">
<DeprecatedClass>
<code>new ProjectionHandlerTarget($projectionHandler-&gt;reveal())</code>
<code><![CDATA[new ProjectionHandlerTarget($projectionHandler->reveal())]]></code>
</DeprecatedClass>
</file>
<file src="tests/Unit/Pipeline/Target/ProjectionTargetTest.php">
Expand Down Expand Up @@ -415,7 +415,7 @@
</file>
<file src="tests/Unit/Projection/ProjectionListenerTest.php">
<DeprecatedClass>
<code>new ProjectionListener($projectionRepository-&gt;reveal())</code>
<code><![CDATA[new ProjectionListener($projectionRepository->reveal())]]></code>
</DeprecatedClass>
</file>
<file src="tests/Unit/Projection/Projectionist/DefaultProjectionistTest.php">
Expand Down Expand Up @@ -497,7 +497,7 @@
</file>
<file src="tests/Unit/Schema/MigrationSchemaProviderTest.php">
<DeprecatedClass>
<code>new MigrationSchemaProvider($store-&gt;reveal())</code>
<code><![CDATA[new MigrationSchemaProvider($store->reveal())]]></code>
</DeprecatedClass>
</file>
</files>
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"doctrine/migrations": "^3.3.2",
"doctrine/orm": "^2.0.0",
"infection/infection": "^0.27.0",
"patchlevel/coding-standard": "^1.2.0",
"patchlevel/coding-standard": "^1.3.0",
"patchlevel/event-sourcing-psalm-plugin": "^2.1.0",
"phpbench/phpbench": "^1.2.8",
"phpspec/prophecy-phpunit": "^2.0.1",
Expand All @@ -46,7 +46,7 @@
"roave/infection-static-analysis-plugin": "^1.32.0",
"symfony/messenger": "^4.4.34|^5.4.0|^6.0.1",
"symfony/var-dumper": "^5.4.1|^6.0.1",
"vimeo/psalm": "^5.6.0"
"vimeo/psalm": "^5.17.0"
},
"suggest": {
"doctrine/migrations": "for schema migration support",
Expand Down
Loading

0 comments on commit 152b7a2

Please sign in to comment.