Update psalm baseline
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
e155943a3b
commit
05919a27b8
|
@ -760,7 +760,7 @@
|
||||||
<InvalidReturnType occurrences="1">
|
<InvalidReturnType occurrences="1">
|
||||||
<code>string[]</code>
|
<code>string[]</code>
|
||||||
</InvalidReturnType>
|
</InvalidReturnType>
|
||||||
<NullableReturnStatement occurrences="9">
|
<NullableReturnStatement occurrences="8">
|
||||||
<code>null</code>
|
<code>null</code>
|
||||||
<code>$this->circleToPrincipal($name)</code>
|
<code>$this->circleToPrincipal($name)</code>
|
||||||
<code>null</code>
|
<code>null</code>
|
||||||
|
@ -1211,25 +1211,17 @@
|
||||||
<code>$qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
<code>$qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
||||||
<code>$qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
<code>$qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
||||||
</ImplicitToStringCast>
|
</ImplicitToStringCast>
|
||||||
<InvalidArrayAccess occurrences="2">
|
|
||||||
<code>$token</code>
|
|
||||||
<code>$remoteId</code>
|
|
||||||
</InvalidArrayAccess>
|
|
||||||
<InvalidArrayOffset occurrences="1">
|
|
||||||
<code>list($token, $remoteId)</code>
|
|
||||||
</InvalidArrayOffset>
|
|
||||||
<InvalidReturnStatement occurrences="1">
|
<InvalidReturnStatement occurrences="1">
|
||||||
<code>$shares</code>
|
<code>$shares</code>
|
||||||
</InvalidReturnStatement>
|
</InvalidReturnStatement>
|
||||||
<InvalidReturnType occurrences="1">
|
<InvalidReturnType occurrences="1">
|
||||||
<code>getSharesInFolder</code>
|
<code>getSharesInFolder</code>
|
||||||
</InvalidReturnType>
|
</InvalidReturnType>
|
||||||
<InvalidScalarArgument occurrences="6">
|
<InvalidScalarArgument occurrences="5">
|
||||||
<code>$shareId</code>
|
<code>$shareId</code>
|
||||||
<code>$shareId</code>
|
<code>$shareId</code>
|
||||||
<code>$shareId</code>
|
<code>$shareId</code>
|
||||||
<code>$shareId</code>
|
<code>$shareId</code>
|
||||||
<code>$share->getId()</code>
|
|
||||||
<code>(int)$data['id']</code>
|
<code>(int)$data['id']</code>
|
||||||
</InvalidScalarArgument>
|
</InvalidScalarArgument>
|
||||||
</file>
|
</file>
|
||||||
|
@ -1248,8 +1240,7 @@
|
||||||
<InvalidReturnType occurrences="1">
|
<InvalidReturnType occurrences="1">
|
||||||
<code>string</code>
|
<code>string</code>
|
||||||
</InvalidReturnType>
|
</InvalidReturnType>
|
||||||
<InvalidScalarArgument occurrences="7">
|
<InvalidScalarArgument occurrences="6">
|
||||||
<code>$remoteId</code>
|
|
||||||
<code>$id</code>
|
<code>$id</code>
|
||||||
<code>$id</code>
|
<code>$id</code>
|
||||||
<code>$id</code>
|
<code>$id</code>
|
||||||
|
@ -3397,9 +3388,6 @@
|
||||||
<code>strtolower</code>
|
<code>strtolower</code>
|
||||||
</RedundantCondition>
|
</RedundantCondition>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/AppFramework/ScopedPsrLogger.php">
|
|
||||||
<InvalidArgument occurrences="1"/>
|
|
||||||
</file>
|
|
||||||
<file src="lib/private/AppFramework/Services/AppConfig.php">
|
<file src="lib/private/AppFramework/Services/AppConfig.php">
|
||||||
<MoreSpecificImplementedParamType occurrences="1">
|
<MoreSpecificImplementedParamType occurrences="1">
|
||||||
<code>$default</code>
|
<code>$default</code>
|
||||||
|
@ -4790,14 +4778,6 @@
|
||||||
<code>true</code>
|
<code>true</code>
|
||||||
</InvalidReturnType>
|
</InvalidReturnType>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Files/Stream/Encryption.php">
|
|
||||||
<InvalidScalarArgument occurrences="1">
|
|
||||||
<code>$position</code>
|
|
||||||
</InvalidScalarArgument>
|
|
||||||
<UndefinedInterfaceMethod occurrences="1">
|
|
||||||
<code>$cacheEntry</code>
|
|
||||||
</UndefinedInterfaceMethod>
|
|
||||||
</file>
|
|
||||||
<file src="lib/private/Files/Stream/SeekableHttpStream.php">
|
<file src="lib/private/Files/Stream/SeekableHttpStream.php">
|
||||||
<FalsableReturnStatement occurrences="3">
|
<FalsableReturnStatement occurrences="3">
|
||||||
<code>false</code>
|
<code>false</code>
|
||||||
|
@ -5526,7 +5506,7 @@
|
||||||
<code>'OCP\Share::postUnshareFromSelf'</code>
|
<code>'OCP\Share::postUnshareFromSelf'</code>
|
||||||
<code>$data</code>
|
<code>$data</code>
|
||||||
</InvalidArgument>
|
</InvalidArgument>
|
||||||
<InvalidScalarArgument occurrences="3">
|
<InvalidScalarArgument occurrences="2">
|
||||||
<code>$this->shareApiLinkDefaultExpireDays()</code>
|
<code>$this->shareApiLinkDefaultExpireDays()</code>
|
||||||
<code>$this->shareApiLinkDefaultExpireDays()</code>
|
<code>$this->shareApiLinkDefaultExpireDays()</code>
|
||||||
<code>$id</code>
|
<code>$id</code>
|
||||||
|
|
Loading…
Reference in New Issue