Skip to content

Commit 501641c

Browse files
committed
Update baseline
1 parent d519a13 commit 501641c

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

psalm.baseline.xml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -125,35 +125,26 @@
125125
<file src="src/Faker/ORM/Spot/Populator.php">
126126
<UndefinedClass>
127127
<code><![CDATA[$this->locator]]></code>
128-
<code>Locator</code>
129128
</UndefinedClass>
130129
<UndefinedDocblockClass>
131130
<code>Locator</code>
132131
</UndefinedDocblockClass>
133132
</file>
134133
<file src="src/Faker/Provider/Base.php">
135134
<InvalidArgument>
136-
<code>[static::class, 'randomDigit']</code>
137-
<code>static function ($matches) {
135+
<code><![CDATA[[static::class, 'randomDigit']]]></code>
136+
<code><![CDATA[static function ($matches) {
138137
// remove backslashes (that are not followed by another backslash) because they are escape characters
139138
$match = preg_replace('/\\\(?!\\\)/', '', $matches[1]);
140139
$randomElement = Base::randomElement(str_split($match));
141140
142141
//[.] should not be a random character, but a literal .
143142
return str_replace('.', '\.', $randomElement);
144-
}</code>
143+
}]]></code>
145144
</InvalidArgument>
146-
<UndefinedClass>
147-
<code>\UnitEnum</code>
148-
<code>\UnitEnum</code>
149-
</UndefinedClass>
150145
<UndefinedDocblockClass>
151146
<code>Closure</code>
152147
</UndefinedDocblockClass>
153-
<UndefinedFunction>
154-
<code>enum_exists($array)</code>
155-
<code>enum_exists($array)</code>
156-
</UndefinedFunction>
157148
</file>
158149
<file src="src/Faker/Provider/Biased.php">
159150
<InvalidParamDefault>

0 commit comments

Comments
 (0)