Skip to content

Commit

Permalink
Be more strict
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Mar 23, 2023
1 parent a9dd97c commit 7e78356
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .psalm/baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,13 @@
<ArgumentTypeCoercion>
<code>$line</code>
</ArgumentTypeCoercion>
<MixedReturnTypeCoercion>
<code><![CDATA[Generator<int, array<string, int|float|string>>]]></code>
</MixedReturnTypeCoercion>
</file>
<file src="src/schema/ColumnDefinition.php">
<MixedAssignment>
<code><![CDATA[$output[$this->name]]]></code>
</MixedAssignment>
</file>
</files>
3 changes: 3 additions & 0 deletions .psalm/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
resolveFromConfigFile="false"
errorLevel="1"
errorBaseline=".psalm/baseline.xml"
findUnusedBaselineEntry="true"
findUnusedCode="false"
findUnusedPsalmSuppress="true"
strictBinaryOperands="true"
>
<projectFiles>
<directory name="src" />
Expand Down

0 comments on commit 7e78356

Please sign in to comment.