Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lib/Db/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* @method setChecksum(?string $checksum): void
*/
class Document extends Entity implements \JsonSerializable {
public $id = null;
// TODO: Remove obsolete field `currentVersion`
protected int $currentVersion = 0;
protected int $lastSavedVersion = 0;
Expand Down
1 change: 1 addition & 0 deletions lib/Db/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* @method void setDocumentId(int $documentId)
*/
class Session extends Entity implements JsonSerializable {
public $id;
protected ?string $userId = null;
protected string $token = '';
protected string $color = '';
Expand Down
1 change: 1 addition & 0 deletions lib/Db/Step.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class Step extends Entity implements JsonSerializable {
*/
public const VERSION_STORED_IN_ID = 2147483647;

public $id = null;
protected string $data = '';
protected int $version = 0;
protected int $sessionId = 0;
Expand Down
17 changes: 1 addition & 16 deletions tests/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="6.14.3@d0b040a91f280f071c1abcb1b77ce3822058725a">
<files psalm-version="6.13.1@1e3b7f0a8ab32b23197b91107adc0a7ed8a05b51">
<file src="lib/Controller/WorkspaceController.php">
<UndefinedInterfaceMethod>
<code><![CDATA[open]]></code>
Expand All @@ -10,21 +10,6 @@
<code><![CDATA[ServerPlugin]]></code>
</UndefinedClass>
</file>
<file src="lib/Db/Document.php">
<PropertyNotSetInConstructor>
<code><![CDATA[Document]]></code>
</PropertyNotSetInConstructor>
</file>
<file src="lib/Db/Session.php">
<PropertyNotSetInConstructor>
<code><![CDATA[Session]]></code>
</PropertyNotSetInConstructor>
</file>
<file src="lib/Db/Step.php">
<PropertyNotSetInConstructor>
<code><![CDATA[Step]]></code>
</PropertyNotSetInConstructor>
</file>
<file src="lib/DirectEditing/TextDirectEditor.php">
<UndefinedInterfaceMethod>
<code><![CDATA[getToken]]></code>
Expand Down
Loading