Skip to content

Commit 4207448

Browse files
committed
Regenerate the baseline
1 parent 501641c commit 4207448

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

psalm.baseline.xml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,26 +125,35 @@
125125
<file src="src/Faker/ORM/Spot/Populator.php">
126126
<UndefinedClass>
127127
<code><![CDATA[$this->locator]]></code>
128+
<code>?Locator</code>
128129
</UndefinedClass>
129130
<UndefinedDocblockClass>
130131
<code>Locator</code>
131132
</UndefinedDocblockClass>
132133
</file>
133134
<file src="src/Faker/Provider/Base.php">
134135
<InvalidArgument>
135-
<code><![CDATA[[static::class, 'randomDigit']]]></code>
136-
<code><![CDATA[static function ($matches) {
136+
<code>[static::class, 'randomDigit']</code>
137+
<code>static function ($matches) {
137138
// remove backslashes (that are not followed by another backslash) because they are escape characters
138139
$match = preg_replace('/\\\(?!\\\)/', '', $matches[1]);
139140
$randomElement = Base::randomElement(str_split($match));
140141

141142
//[.] should not be a random character, but a literal .
142143
return str_replace('.', '\.', $randomElement);
143-
}]]></code>
144+
}</code>
144145
</InvalidArgument>
146+
<UndefinedClass>
147+
<code>\UnitEnum</code>
148+
<code>\UnitEnum</code>
149+
</UndefinedClass>
145150
<UndefinedDocblockClass>
146151
<code>Closure</code>
147152
</UndefinedDocblockClass>
153+
<UndefinedFunction>
154+
<code>enum_exists($array)</code>
155+
<code>enum_exists($array)</code>
156+
</UndefinedFunction>
148157
</file>
149158
<file src="src/Faker/Provider/Biased.php">
150159
<InvalidParamDefault>

0 commit comments

Comments
 (0)