mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
d364edcf6a
commit
cb4ccf98af
1 changed files with 2 additions and 48 deletions
|
|
@ -1394,18 +1394,9 @@
|
|||
</InvalidReturnType>
|
||||
</file>
|
||||
<file src="apps/files_external/lib/Lib/Storage/SMB.php">
|
||||
<InvalidArgument occurrences="1">
|
||||
<code>$files</code>
|
||||
</InvalidArgument>
|
||||
<InvalidNullableReturnType occurrences="1">
|
||||
<code>\Icewind\SMB\IFileInfo</code>
|
||||
</InvalidNullableReturnType>
|
||||
<InvalidPropertyAssignmentValue occurrences="1">
|
||||
<code>new CappedMemoryCache()</code>
|
||||
</InvalidPropertyAssignmentValue>
|
||||
<InvalidReturnType occurrences="1">
|
||||
<code>\Icewind\SMB\IFileInfo[]</code>
|
||||
</InvalidReturnType>
|
||||
<InvalidScalarArgument occurrences="7">
|
||||
<code>$e->getCode()</code>
|
||||
<code>$e->getCode()</code>
|
||||
|
|
@ -1930,24 +1921,6 @@
|
|||
<InvalidReturnType occurrences="1">
|
||||
<code>string[]</code>
|
||||
</InvalidReturnType>
|
||||
<InvalidScalarArgument occurrences="1">
|
||||
<code>$e->getCode()</code>
|
||||
</InvalidScalarArgument>
|
||||
<NullArgument occurrences="1">
|
||||
<code>$cookie</code>
|
||||
</NullArgument>
|
||||
<RedundantCondition occurrences="3">
|
||||
<code>!is_null($limit)</code>
|
||||
<code>$limit === 0</code>
|
||||
<code>is_array($result)</code>
|
||||
</RedundantCondition>
|
||||
<TypeDoesNotContainNull occurrences="1">
|
||||
<code>is_null($findings)</code>
|
||||
</TypeDoesNotContainNull>
|
||||
<TypeDoesNotContainType occurrences="2">
|
||||
<code>!is_null($attr) && !is_array($attr)</code>
|
||||
<code>count($usedNames) === 0</code>
|
||||
</TypeDoesNotContainType>
|
||||
</file>
|
||||
<file src="apps/user_ldap/lib/AppInfo/Application.php">
|
||||
<InvalidArgument occurrences="1">
|
||||
|
|
@ -1957,16 +1930,7 @@
|
|||
<code>dispatch</code>
|
||||
</TooManyArguments>
|
||||
</file>
|
||||
<file src="apps/user_ldap/lib/Configuration.php">
|
||||
<InvalidScalarArgument occurrences="1">
|
||||
<code>time()</code>
|
||||
</InvalidScalarArgument>
|
||||
</file>
|
||||
<file src="apps/user_ldap/lib/Connection.php">
|
||||
<InvalidScalarArgument occurrences="2">
|
||||
<code>LDAP_OPT_PROTOCOL_VERSION</code>
|
||||
<code>LDAP_OPT_REFERRALS</code>
|
||||
</InvalidScalarArgument>
|
||||
<ParadoxicalCondition occurrences="1"/>
|
||||
</file>
|
||||
<file src="apps/user_ldap/lib/Group_LDAP.php">
|
||||
|
|
@ -2057,8 +2021,7 @@
|
|||
<InvalidReturnType occurrences="1">
|
||||
<code>null</code>
|
||||
</InvalidReturnType>
|
||||
<InvalidScalarArgument occurrences="3">
|
||||
<code>$this->getHomePath($ldapEntry[$attr][0])</code>
|
||||
<InvalidScalarArgument occurrences="2">
|
||||
<code>1</code>
|
||||
<code>true</code>
|
||||
</InvalidScalarArgument>
|
||||
|
|
@ -2067,9 +2030,6 @@
|
|||
<ImplementedReturnTypeMismatch occurrences="1">
|
||||
<code>string|false</code>
|
||||
</ImplementedReturnTypeMismatch>
|
||||
<InvalidScalarArgument occurrences="1">
|
||||
<code>$path</code>
|
||||
</InvalidScalarArgument>
|
||||
<MoreSpecificImplementedParamType occurrences="2">
|
||||
<code>$limit</code>
|
||||
<code>$offset</code>
|
||||
|
|
@ -2096,15 +2056,9 @@
|
|||
<code>private function detectGroupMemberAssoc() {</code>
|
||||
<code>private function getAttributeValuesFromEntry($result, $attribute, &$known) {</code>
|
||||
</InvalidDocblock>
|
||||
<InvalidScalarArgument occurrences="8">
|
||||
<InvalidScalarArgument occurrences="2">
|
||||
<code>$port</code>
|
||||
<code>$port</code>
|
||||
<code>LDAP_OPT_NETWORK_TIMEOUT</code>
|
||||
<code>LDAP_OPT_NETWORK_TIMEOUT</code>
|
||||
<code>LDAP_OPT_PROTOCOL_VERSION</code>
|
||||
<code>LDAP_OPT_PROTOCOL_VERSION</code>
|
||||
<code>LDAP_OPT_REFERRALS</code>
|
||||
<code>LDAP_OPT_REFERRALS</code>
|
||||
</InvalidScalarArgument>
|
||||
<RedundantCondition occurrences="1">
|
||||
<code>!isset($item['cn']) && !is_array($item['cn'])</code>
|
||||
|
|
|
|||
Loading…
Reference in a new issue