Skip to content

Commit

Permalink
Bump baseline
Browse files Browse the repository at this point in the history
Signed-off-by: Ion Bazan <[email protected]>
  • Loading branch information
IonBazan committed Dec 20, 2022
1 parent c44aab0 commit a6d9179
Showing 1 changed file with 12 additions and 28 deletions.
40 changes: 12 additions & 28 deletions psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,6 @@
</PropertyNotSetInConstructor>
</file>
<file src="src/Check/CpuPerformance.php">
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<InvalidScalarArgument occurrences="15">
<code>$a</code>
<code>$a</code>
Expand All @@ -183,14 +180,11 @@
<code>null</code>
<code>null</code>
</NullArgument>
<NullableReturnStatement occurrences="1">
<code>bcdiv(bcpow(bcadd($a, $b), 2), bcmul(4, $t), $precision)</code>
</NullableReturnStatement>
<PossiblyNullArgument occurrences="4">
<code>$b</code>
<code>$b</code>
<code>$b</code>
<code>$x</code>
<code>bcsqrt(2)</code>
</PossiblyNullArgument>
<PropertyNotSetInConstructor occurrences="1">
<code>CpuPerformance</code>
Expand All @@ -200,9 +194,6 @@
</RedundantCastGivenDocblockType>
</file>
<file src="src/Check/DirReadable.php">
<ArgumentTypeCoercion occurrences="1">
<code>$this-&gt;dir</code>
</ArgumentTypeCoercion>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$path</code>
</InvalidPropertyAssignmentValue>
Expand All @@ -223,14 +214,14 @@
<code>current($nonDirs)</code>
<code>current($unreadable)</code>
</MixedOperand>
<PossiblyInvalidArgument occurrences="1">
<code>$this-&gt;dir</code>
</PossiblyInvalidArgument>
<PropertyNotSetInConstructor occurrences="1">
<code>DirReadable</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Check/DirWritable.php">
<ArgumentTypeCoercion occurrences="1">
<code>$this-&gt;dir</code>
</ArgumentTypeCoercion>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$path</code>
</InvalidPropertyAssignmentValue>
Expand All @@ -249,6 +240,9 @@
<code>$nonDirs[]</code>
<code>$unwritable[]</code>
</MixedAssignment>
<PossiblyInvalidArgument occurrences="1">
<code>$this-&gt;dir</code>
</PossiblyInvalidArgument>
<PropertyNotSetInConstructor occurrences="1">
<code>DirWritable</code>
</PropertyNotSetInConstructor>
Expand All @@ -264,13 +258,10 @@
<InvalidScalarArgument occurrences="1">
<code>$free</code>
</InvalidScalarArgument>
<MixedArgument occurrences="6">
<MixedArgument occurrences="3">
<code>$a</code>
<code>$a</code>
<code>$k</code>
<code>$this-&gt;path</code>
<code>$this-&gt;path</code>
<code>$this-&gt;path</code>
</MixedArgument>
<MixedArgumentTypeCoercion occurrences="1"/>
<MixedAssignment occurrences="3">
Expand All @@ -281,9 +272,8 @@
<MixedInferredReturnType occurrences="1">
<code>int</code>
</MixedInferredReturnType>
<MixedOperand occurrences="3">
<MixedOperand occurrences="2">
<code>$bytes</code>
<code>$this-&gt;path</code>
<code>$x[$i]</code>
</MixedOperand>
<MixedReturnStatement occurrences="1">
Expand All @@ -302,12 +292,6 @@
<code>! is_float($free)</code>
<code>$free === false || ! is_float($free)</code>
</TypeDoesNotContainType>
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&gt;path</code>
</UndefinedThisPropertyAssignment>
<UndefinedThisPropertyFetch occurrences="1">
<code>$this-&gt;path</code>
</UndefinedThisPropertyFetch>
</file>
<file src="src/Check/DiskUsage.php">
<DocblockTypeContradiction occurrences="3">
Expand Down Expand Up @@ -341,9 +325,6 @@
</UndefinedMethod>
</file>
<file src="src/Check/ExtensionLoaded.php">
<ArgumentTypeCoercion occurrences="1">
<code>$this-&gt;extensions</code>
</ArgumentTypeCoercion>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$extensionName</code>
</InvalidPropertyAssignmentValue>
Expand Down Expand Up @@ -371,6 +352,9 @@
<code>$ext</code>
<code>$ext</code>
</MixedOperand>
<PossiblyInvalidArgument occurrences="1">
<code>$this-&gt;extensions</code>
</PossiblyInvalidArgument>
<PropertyNotSetInConstructor occurrences="1">
<code>ExtensionLoaded</code>
</PropertyNotSetInConstructor>
Expand Down

0 comments on commit a6d9179

Please sign in to comment.