Skip to content

Commit

Permalink
fix static analyser
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBadura committed Jan 2, 2025
1 parent 66ba412 commit 63a63f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
</file>
<file src="src/CommandBus/Handler/CreateAggregateHandler.php">
<InvalidOperand>
<code><![CDATA[ParameterResolver::resolve($reflectionMethod, $this->container)]]></code>
<code><![CDATA[$this->parameterResolver->resolve($reflectionMethod, $command)]]></code>
</InvalidOperand>
</file>
<file src="src/CommandBus/Handler/UpdateAggregateHandler.php">
<InvalidOperand>
<code><![CDATA[ParameterResolver::resolve($reflectionMethod, $this->container)]]></code>
<code><![CDATA[$this->parameterResolver->resolve($reflectionMethod, $command)]]></code>
</InvalidOperand>
</file>
<file src="src/Console/DoctrineHelper.php">
Expand Down Expand Up @@ -230,10 +230,12 @@
<InvalidArrayAccess>
<code><![CDATA[$result[0]]]></code>
<code><![CDATA[$result[0]]]></code>
<code><![CDATA[$result[0]]]></code>
</InvalidArrayAccess>
<MixedMethodCall>
<code><![CDATA[callable]]></code>
<code><![CDATA[callable]]></code>
<code><![CDATA[callable]]></code>
</MixedMethodCall>
</file>
<file src="tests/Unit/CommandBus/DefaultCommandBusTest.php">
Expand Down
2 changes: 1 addition & 1 deletion deptrac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ deptrac:
- Attribute
- MetadataAggregate
Attribute:
- Aggregate
Clock:
CommandBus:
- Aggregate
- Attribute
- MetadataAggregate
- Repository
Console:
- Aggregate
Expand Down

0 comments on commit 63a63f3

Please sign in to comment.