Skip to content

Commit 688e88d

Browse files
committed
chore: add baseline
vendor/bin/psalm --set-baseline=psalm-baseline.xml
1 parent e9f0bc8 commit 688e88d

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

psalm-baseline.xml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<files psalm-version="5.4.0@62db5d4f6a7ae0a20f7cc5a4952d730272fc0863">
3+
<file src="src/Models/RememberModel.php">
4+
<ReservedWord occurrences="1">
5+
<code>$this-&gt;where(['user_id' =&gt; $user-&gt;id])-&gt;delete()</code>
6+
</ReservedWord>
7+
</file>
8+
<file src="src/Models/UserIdentityModel.php">
9+
<ReservedWord occurrences="1"/>
10+
</file>
11+
</files>

psalm.xml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
88
autoloader="psalm_autoload.php"
99
cacheDirectory="build/psalm/"
10+
errorBaseline="psalm-baseline.xml"
1011
>
1112
<projectFiles>
1213
<directory name="src/" />

0 commit comments

Comments
 (0)