Skip to content

Commit bdc4847

Browse files
committed
chore(psalm): add errors to baseline
Psalm expects the non-null id to be initialized in the constructor. But entity classes have properties which are typed but not set in constructor, because we’re only supposed to build them with static factory function fromRow or so. Signed-off-by: Max <[email protected]>
1 parent fa0f1c3 commit bdc4847

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

tests/psalm-baseline.xml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<files psalm-version="6.13.1@1e3b7f0a8ab32b23197b91107adc0a7ed8a05b51">
2+
<files psalm-version="6.14.3@d0b040a91f280f071c1abcb1b77ce3822058725a">
33
<file src="lib/Controller/WorkspaceController.php">
44
<UndefinedInterfaceMethod>
55
<code><![CDATA[open]]></code>
@@ -10,6 +10,21 @@
1010
<code><![CDATA[ServerPlugin]]></code>
1111
</UndefinedClass>
1212
</file>
13+
<file src="lib/Db/Document.php">
14+
<PropertyNotSetInConstructor>
15+
<code><![CDATA[Document]]></code>
16+
</PropertyNotSetInConstructor>
17+
</file>
18+
<file src="lib/Db/Session.php">
19+
<PropertyNotSetInConstructor>
20+
<code><![CDATA[Session]]></code>
21+
</PropertyNotSetInConstructor>
22+
</file>
23+
<file src="lib/Db/Step.php">
24+
<PropertyNotSetInConstructor>
25+
<code><![CDATA[Step]]></code>
26+
</PropertyNotSetInConstructor>
27+
</file>
1328
<file src="lib/DirectEditing/TextDirectEditor.php">
1429
<UndefinedInterfaceMethod>
1530
<code><![CDATA[getToken]]></code>

0 commit comments

Comments
 (0)