Update psalm baseline

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2021-03-02 14:23:27 +01:00 committed by Vincent Petry
parent fdabe1172b
commit 7bb7f4d936
No known key found for this signature in database
GPG Key ID: E055D6A4D513575C
1 changed files with 3 additions and 24 deletions

View File

@ -761,8 +761,6 @@
<code>string[]</code> <code>string[]</code>
</InvalidReturnType> </InvalidReturnType>
<NullableReturnStatement occurrences="8"> <NullableReturnStatement occurrences="8">
<code>null</code>
<code>$this-&gt;circleToPrincipal($name)</code>
<code>null</code> <code>null</code>
<code>null</code> <code>null</code>
<code>null</code> <code>null</code>
@ -1230,7 +1228,6 @@
<code>bool</code> <code>bool</code>
<code>bool</code> <code>bool</code>
<code>bool</code> <code>bool</code>
<code>bool</code>
</InvalidReturnType> </InvalidReturnType>
</file> </file>
<file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php"> <file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php">
@ -2327,10 +2324,6 @@
<InvalidScalarArgument occurrences="1"> <InvalidScalarArgument occurrences="1">
<code>(int)$cacheBusterKey+1</code> <code>(int)$cacheBusterKey+1</code>
</InvalidScalarArgument> </InvalidScalarArgument>
<NullArgument occurrences="2">
<code>null</code>
<code>null</code>
</NullArgument>
</file> </file>
<file src="apps/theming/lib/Util.php"> <file src="apps/theming/lib/Util.php">
<InvalidReturnStatement occurrences="1"> <InvalidReturnStatement occurrences="1">
@ -2425,8 +2418,7 @@
<InvalidReturnType occurrences="1"> <InvalidReturnType occurrences="1">
<code>string[]</code> <code>string[]</code>
</InvalidReturnType> </InvalidReturnType>
<InvalidScalarArgument occurrences="4"> <InvalidScalarArgument occurrences="3">
<code>[$attr =&gt; $result['values']]</code>
<code>$key</code> <code>$key</code>
<code>$key</code> <code>$key</code>
<code>$e-&gt;getCode()</code> <code>$e-&gt;getCode()</code>
@ -2450,9 +2442,6 @@
<code>!is_null($attr) &amp;&amp; !is_array($attr)</code> <code>!is_null($attr) &amp;&amp; !is_array($attr)</code>
<code>isset($ldapRecord[$this-&gt;connection-&gt;$uuidAttr])</code> <code>isset($ldapRecord[$this-&gt;connection-&gt;$uuidAttr])</code>
</TypeDoesNotContainType> </TypeDoesNotContainType>
<UndefinedVariable occurrences="1">
<code>$uidsByDn</code>
</UndefinedVariable>
</file> </file>
<file src="apps/user_ldap/lib/AppInfo/Application.php"> <file src="apps/user_ldap/lib/AppInfo/Application.php">
<InvalidArgument occurrences="1"> <InvalidArgument occurrences="1">
@ -2481,8 +2470,7 @@
<ParadoxicalCondition occurrences="1"/> <ParadoxicalCondition occurrences="1"/>
</file> </file>
<file src="apps/user_ldap/lib/Group_LDAP.php"> <file src="apps/user_ldap/lib/Group_LDAP.php">
<InvalidArgument occurrences="2"> <InvalidArgument occurrences="1">
<code>'dn'</code>
<code>$this-&gt;cachedGroupsByMember[$uid]</code> <code>$this-&gt;cachedGroupsByMember[$uid]</code>
</InvalidArgument> </InvalidArgument>
<InvalidPropertyAssignmentValue occurrences="5"> <InvalidPropertyAssignmentValue occurrences="5">
@ -3104,7 +3092,7 @@
</file> </file>
<file src="core/routes.php"> <file src="core/routes.php">
<InvalidScope occurrences="2"> <InvalidScope occurrences="2">
<code>$this</code> <code>$this-&gt;create('core_ajax_update', '/core/ajax/update.php')</code>
<code>$this</code> <code>$this</code>
</InvalidScope> </InvalidScope>
</file> </file>
@ -4772,14 +4760,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>offsetGet</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>
@ -5514,7 +5494,6 @@
<code>$data</code> <code>$data</code>
</InvalidArgument> </InvalidArgument>
<InvalidScalarArgument occurrences="2"> <InvalidScalarArgument occurrences="2">
<code>$this-&gt;shareApiLinkDefaultExpireDays()</code>
<code>$this-&gt;shareApiLinkDefaultExpireDays()</code> <code>$this-&gt;shareApiLinkDefaultExpireDays()</code>
<code>$id</code> <code>$id</code>
</InvalidScalarArgument> </InvalidScalarArgument>