Skip to content

Commit

Permalink
Fix: Run 'make baseline'
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Aug 1, 2023
1 parent 53bd9a5 commit 77fa31f
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions 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="5.11.0@c9b192ab8400fdaf04b2b13d110575adc879aa90">
<files psalm-version="5.14.1@b9d355e0829c397b9b3b47d0c0ed042a8a70284d">
<file src="src/Faker/Calculator/Luhn.php">
<InvalidReturnStatement>
<code>0</code>
Expand Down Expand Up @@ -141,19 +141,18 @@
</file>
<file src="src/Faker/Provider/Base.php">
<InvalidArgument>
<code>[static::class, 'randomDigit']</code>
<code><![CDATA[[static::class, 'randomDigit']]]></code>
<code><![CDATA[static function ($matches) {
// remove backslashes (that are not followed by another backslash) because they are escape characters
$match = preg_replace('/\\\(?!\\\)/', '', $matches[1]);
$randomElement = Base::randomElement(str_split($match));
//[.] should not be a random character, but a literal .
return str_replace('.', '\.', $randomElement);
}]]></code>
</InvalidArgument>
<UndefinedClass>
<code>\UnitEnum</code>
<code>\UnitEnum</code>
</UndefinedClass>
<UndefinedDocblockClass>
<code>Closure</code>
</UndefinedDocblockClass>
<UndefinedFunction>
<code>enum_exists($array)</code>
<code>enum_exists($array)</code>
</UndefinedFunction>
</file>
<file src="src/Faker/Provider/Biased.php">
<InvalidParamDefault>
Expand Down

0 comments on commit 77fa31f

Please sign in to comment.