Skip to content

Commit

Permalink
chore: Fix psalm
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <[email protected]>
  • Loading branch information
Pytal committed Mar 22, 2024
1 parent 2003f15 commit 2962467
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
8 changes: 6 additions & 2 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,21 @@
<issueHandlers>
<UndefinedClass>
<errorLevel type="suppress">
<referencedClass name="Doctrine\DBAL\Types\Types" />
<referencedClass name="OCA\DAV\Events\SabrePluginAddEvent" />
<referencedClass name="OCA\Files_Sharing\Event\BeforeTemplateRenderedEvent" />
<referencedClass name="OCA\Files_Sharing\Event\ShareLinkAccessedEvent" />
<referencedClass name="Doctrine\DBAL\Types\Types" />
<referencedClass name="OCA\Files\Event\LoadSidebar" />
<referencedClass name="Sabre\DAV\ServerPlugin" />
<referencedClass name="Sabre\Xml\XmlSerializable" />
</errorLevel>
</UndefinedClass>
<UndefinedDocblockClass>
<errorLevel type="suppress">
<referencedClass name="Doctrine\DBAL\Schema\Table" />
<referencedClass name="OCA\DAV\Events\SabrePluginAddEvent" />
<referencedClass name="OCA\Files_Sharing\Event\BeforeTemplateRenderedEvent" />
<referencedClass name="OCA\Files_Sharing\Event\ShareLinkAccessedEvent" />
<referencedClass name="Doctrine\DBAL\Schema\Table" />
<referencedClass name="OCA\Files\Event\LoadSidebar" />
</errorLevel>
</UndefinedDocblockClass>
Expand Down
11 changes: 11 additions & 0 deletions tests/psalm-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,15 @@
<code>$event</code>
</ImplementedParamTypeMismatch>
</file>
<file src="lib/Listener/SabrePluginAddListener.php">
<InvalidTemplateParam>
<code>IEventListener</code>
</InvalidTemplateParam>
<ImplementedParamTypeMismatch>
<code>$event</code>
</ImplementedParamTypeMismatch>
<MissingDependency>
<code>PropFindPlugin</code>
</MissingDependency>
</file>
</files>

0 comments on commit 2962467

Please sign in to comment.