Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Jan 17, 2024
2 parents 6d14fbf + 3418bde commit d024b99
Showing 1 changed file with 59 additions and 1 deletion.
60 changes: 59 additions & 1 deletion config/psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="dev-master@d12cdf6d429cb32e6934c61bf126329d27e56828">
<files psalm-version="dev-master@950293c6e74c6e9db842f537c5722755b1594313">
<file src="../src/Psl/Async/KeyedSemaphore.php">
<PossiblyNullReference>
<code>resume</code>
Expand Down Expand Up @@ -38,6 +38,59 @@
<code>string</code>
</InvalidFalsableReturnType>
</file>
<file src="../src/Psl/Filesystem/canonicalize.php">
<RiskyTruthyFalsyComparison>
<code>realpath($path)</code>
</RiskyTruthyFalsyComparison>
</file>
<file src="../src/Psl/IO/ReadHandleConvenienceMethodsTrait.php">
<MixedArgument>
<code><![CDATA[Str\format(
"Reached timeout before %s data could be read.",
($data->value === '') ? 'any' : 'all',
)]]></code>
<code><![CDATA[Str\format(
"%d bytes were requested, but only able to read %d bytes",
$size,
$length,
)]]></code>
</MixedArgument>
<UndefinedFunction>
<code><![CDATA[Str\format(
"Reached timeout before %s data could be read.",
($data->value === '') ? 'any' : 'all',
)]]></code>
<code><![CDATA[Str\format(
"%d bytes were requested, but only able to read %d bytes",
$size,
$length,
)]]></code>
</UndefinedFunction>
</file>
<file src="../src/Psl/IO/WriteHandleConvenienceMethodsTrait.php">
<MixedArgument>
<code><![CDATA[Str\format(
"Reached timeout before %s data could be written.",
($written->value === 0) ? 'any' : 'all',
)]]></code>
<code><![CDATA[Str\format(
"asked to write %d bytes, but only able to write %d bytes",
$original_size,
$original_size - strlen($bytes),
)]]></code>
</MixedArgument>
<UndefinedFunction>
<code><![CDATA[Str\format(
"Reached timeout before %s data could be written.",
($written->value === 0) ? 'any' : 'all',
)]]></code>
<code><![CDATA[Str\format(
"asked to write %d bytes, but only able to write %d bytes",
$original_size,
$original_size - strlen($bytes),
)]]></code>
</UndefinedFunction>
</file>
<file src="../src/Psl/Iter/random.php">
<TypeDoesNotContainType>
<code>$size === 0</code>
Expand Down Expand Up @@ -70,6 +123,11 @@
<code>string</code>
</InvalidFalsableReturnType>
</file>
<file src="../src/Psl/Str/detect_encoding.php">
<RiskyTruthyFalsyComparison>
<code>mb_detect_encoding($string, $encoding_list, true)</code>
</RiskyTruthyFalsyComparison>
</file>
<file src="../src/Psl/Str/ord.php">
<FalsableReturnStatement>
<code><![CDATA[mb_ord($character, $encoding->value)]]></code>
Expand Down

0 comments on commit d024b99

Please sign in to comment.