Update psalm baseline

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2022-01-12 08:38:51 +01:00
parent 6e89dd48bc
commit f62e87cffa

View File

@@ -113,6 +113,7 @@
</UndefinedClass> </UndefinedClass>
</file> </file>
<file src="lib/Db/CardMapper.php"> <file src="lib/Db/CardMapper.php">
<InvalidArgument occurrences="1"/>
<InvalidScalarArgument occurrences="1"> <InvalidScalarArgument occurrences="1">
<code>$entity-&gt;getId()</code> <code>$entity-&gt;getId()</code>
</InvalidScalarArgument> </InvalidScalarArgument>
@@ -250,10 +251,11 @@
</RedundantCondition> </RedundantCondition>
</file> </file>
<file src="lib/Service/FilesAppService.php"> <file src="lib/Service/FilesAppService.php">
<MissingDependency occurrences="3"> <MissingDependency occurrences="4">
<code>$this-&gt;rootFolder</code> <code>$this-&gt;rootFolder</code>
<code>$this-&gt;rootFolder</code> <code>$this-&gt;rootFolder</code>
<code>IRootFolder</code> <code>IRootFolder</code>
<code>ShareNotFound</code>
</MissingDependency> </MissingDependency>
</file> </file>
<file src="lib/Service/PermissionService.php"> <file src="lib/Service/PermissionService.php">
@@ -267,6 +269,27 @@
<code>BadRquestException</code> <code>BadRquestException</code>
</UndefinedClass> </UndefinedClass>
</file> </file>
<file src="lib/Sharing/DeckShareProvider.php">
<InvalidReturnStatement occurrences="1">
<code>$shares</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>getSharesInFolder</code>
</InvalidReturnType>
<InvalidThrow occurrences="1">
<code>throw new GenericShareException('Already shared', $this-&gt;l-&gt;t('Path is already shared with this card'), 403);</code>
</InvalidThrow>
<MissingDependency occurrences="8">
<code>GenericShareException</code>
<code>GenericShareException</code>
<code>ShareNotFound</code>
<code>ShareNotFound</code>
<code>ShareNotFound</code>
<code>ShareNotFound</code>
<code>ShareNotFound</code>
<code>ShareNotFound</code>
</MissingDependency>
</file>
<file src="lib/Sharing/Listener.php"> <file src="lib/Sharing/Listener.php">
<InvalidArgument occurrences="1"> <InvalidArgument occurrences="1">
<code>[self::class, 'listenPreShare']</code> <code>[self::class, 'listenPreShare']</code>