Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
97d6609273
commit
a0ac2dd80c
|
@ -1427,9 +1427,6 @@
|
||||||
<code>$e->getCode()</code>
|
<code>$e->getCode()</code>
|
||||||
<code>$e->getCode()</code>
|
<code>$e->getCode()</code>
|
||||||
</InvalidScalarArgument>
|
</InvalidScalarArgument>
|
||||||
<NullableReturnStatement occurrences="1">
|
|
||||||
<code>null</code>
|
|
||||||
</NullableReturnStatement>
|
|
||||||
<ParamNameMismatch occurrences="2">
|
<ParamNameMismatch occurrences="2">
|
||||||
<code>$source</code>
|
<code>$source</code>
|
||||||
<code>$target</code>
|
<code>$target</code>
|
||||||
|
@ -1602,10 +1599,6 @@
|
||||||
</InvalidDocblock>
|
</InvalidDocblock>
|
||||||
</file>
|
</file>
|
||||||
<file src="apps/files_sharing/lib/External/Scanner.php">
|
<file src="apps/files_sharing/lib/External/Scanner.php">
|
||||||
<InvalidNullableReturnType occurrences="2">
|
|
||||||
<code>array</code>
|
|
||||||
<code>scan</code>
|
|
||||||
</InvalidNullableReturnType>
|
|
||||||
<InvalidScalarArgument occurrences="1">
|
<InvalidScalarArgument occurrences="1">
|
||||||
<code>$recursive</code>
|
<code>$recursive</code>
|
||||||
</InvalidScalarArgument>
|
</InvalidScalarArgument>
|
||||||
|
@ -1631,14 +1624,6 @@
|
||||||
<code>$exception->getMessage()</code>
|
<code>$exception->getMessage()</code>
|
||||||
</InvalidArgument>
|
</InvalidArgument>
|
||||||
</file>
|
</file>
|
||||||
<file src="apps/files_sharing/lib/Scanner.php">
|
|
||||||
<InvalidNullableReturnType occurrences="1">
|
|
||||||
<code>array</code>
|
|
||||||
</InvalidNullableReturnType>
|
|
||||||
<NullableReturnStatement occurrences="1">
|
|
||||||
<code>null</code>
|
|
||||||
</NullableReturnStatement>
|
|
||||||
</file>
|
|
||||||
<file src="apps/files_sharing/lib/ShareBackend/File.php">
|
<file src="apps/files_sharing/lib/ShareBackend/File.php">
|
||||||
<InvalidScalarArgument occurrences="2">
|
<InvalidScalarArgument occurrences="2">
|
||||||
<code>$itemSource</code>
|
<code>$itemSource</code>
|
||||||
|
@ -3166,28 +3151,6 @@
|
||||||
<code>!isset($info['contactsmenu']) || !isset($info['contactsmenu'])</code>
|
<code>!isset($info['contactsmenu']) || !isset($info['contactsmenu'])</code>
|
||||||
</ParadoxicalCondition>
|
</ParadoxicalCondition>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Contacts/ContactsMenu/ContactsStore.php">
|
|
||||||
<InvalidIterator occurrences="1">
|
|
||||||
<code>$mailAddresses</code>
|
|
||||||
</InvalidIterator>
|
|
||||||
</file>
|
|
||||||
<file src="lib/private/Contacts/ContactsMenu/Entry.php">
|
|
||||||
<ImplementedReturnTypeMismatch occurrences="1">
|
|
||||||
<code>string</code>
|
|
||||||
</ImplementedReturnTypeMismatch>
|
|
||||||
<InvalidNullableReturnType occurrences="1">
|
|
||||||
<code>string</code>
|
|
||||||
</InvalidNullableReturnType>
|
|
||||||
<InvalidReturnStatement occurrences="1">
|
|
||||||
<code>$this->emailAddresses</code>
|
|
||||||
</InvalidReturnStatement>
|
|
||||||
<InvalidReturnType occurrences="1">
|
|
||||||
<code>string</code>
|
|
||||||
</InvalidReturnType>
|
|
||||||
<NullableReturnStatement occurrences="1">
|
|
||||||
<code>$this->avatar</code>
|
|
||||||
</NullableReturnStatement>
|
|
||||||
</file>
|
|
||||||
<file src="lib/private/Contacts/ContactsMenu/Manager.php">
|
<file src="lib/private/Contacts/ContactsMenu/Manager.php">
|
||||||
<InvalidNullableReturnType occurrences="1">
|
<InvalidNullableReturnType occurrences="1">
|
||||||
<code>IEntry</code>
|
<code>IEntry</code>
|
||||||
|
@ -3434,16 +3397,6 @@
|
||||||
<code>$path</code>
|
<code>$path</code>
|
||||||
</MoreSpecificImplementedParamType>
|
</MoreSpecificImplementedParamType>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Files/Cache/LocalRootScanner.php">
|
|
||||||
<InvalidNullableReturnType occurrences="2">
|
|
||||||
<code>scan</code>
|
|
||||||
<code>scanFile</code>
|
|
||||||
</InvalidNullableReturnType>
|
|
||||||
<NullableReturnStatement occurrences="2">
|
|
||||||
<code>null</code>
|
|
||||||
<code>null</code>
|
|
||||||
</NullableReturnStatement>
|
|
||||||
</file>
|
|
||||||
<file src="lib/private/Files/Cache/QuerySearchHelper.php">
|
<file src="lib/private/Files/Cache/QuerySearchHelper.php">
|
||||||
<InvalidScalarArgument occurrences="4">
|
<InvalidScalarArgument occurrences="4">
|
||||||
<code>$value</code>
|
<code>$value</code>
|
||||||
|
@ -3453,9 +3406,6 @@
|
||||||
</InvalidScalarArgument>
|
</InvalidScalarArgument>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Files/Cache/Scanner.php">
|
<file src="lib/private/Files/Cache/Scanner.php">
|
||||||
<InvalidNullableReturnType occurrences="1">
|
|
||||||
<code>array</code>
|
|
||||||
</InvalidNullableReturnType>
|
|
||||||
<InvalidReturnStatement occurrences="1">
|
<InvalidReturnStatement occurrences="1">
|
||||||
<code>$existingChildren</code>
|
<code>$existingChildren</code>
|
||||||
</InvalidReturnStatement>
|
</InvalidReturnStatement>
|
||||||
|
@ -3466,12 +3416,6 @@
|
||||||
<code>$path</code>
|
<code>$path</code>
|
||||||
<code>self::SCAN_RECURSIVE_INCOMPLETE</code>
|
<code>self::SCAN_RECURSIVE_INCOMPLETE</code>
|
||||||
</InvalidScalarArgument>
|
</InvalidScalarArgument>
|
||||||
<NullableReturnStatement occurrences="4">
|
|
||||||
<code>null</code>
|
|
||||||
<code>null</code>
|
|
||||||
<code>null</code>
|
|
||||||
<code>null</code>
|
|
||||||
</NullableReturnStatement>
|
|
||||||
<TypeDoesNotContainType occurrences="1">
|
<TypeDoesNotContainType occurrences="1">
|
||||||
<code>$data ?? $this->getData($file)</code>
|
<code>$data ?? $this->getData($file)</code>
|
||||||
</TypeDoesNotContainType>
|
</TypeDoesNotContainType>
|
||||||
|
@ -3820,9 +3764,8 @@
|
||||||
<ImplementedReturnTypeMismatch occurrences="1">
|
<ImplementedReturnTypeMismatch occurrences="1">
|
||||||
<code>string|false</code>
|
<code>string|false</code>
|
||||||
</ImplementedReturnTypeMismatch>
|
</ImplementedReturnTypeMismatch>
|
||||||
<InvalidNullableReturnType occurrences="2">
|
<InvalidNullableReturnType occurrences="1">
|
||||||
<code>array</code>
|
<code>array</code>
|
||||||
<code>getMetaData</code>
|
|
||||||
</InvalidNullableReturnType>
|
</InvalidNullableReturnType>
|
||||||
<InvalidOperand occurrences="2">
|
<InvalidOperand occurrences="2">
|
||||||
<code>!$permissions</code>
|
<code>!$permissions</code>
|
||||||
|
@ -3840,9 +3783,8 @@
|
||||||
<code>$storage->updater</code>
|
<code>$storage->updater</code>
|
||||||
<code>$storage->updater</code>
|
<code>$storage->updater</code>
|
||||||
</NoInterfaceProperties>
|
</NoInterfaceProperties>
|
||||||
<NullableReturnStatement occurrences="2">
|
<NullableReturnStatement occurrences="1">
|
||||||
<code>$this->getStorageCache()->getAvailability()</code>
|
<code>$this->getStorageCache()->getAvailability()</code>
|
||||||
<code>null</code>
|
|
||||||
</NullableReturnStatement>
|
</NullableReturnStatement>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Files/Storage/DAV.php">
|
<file src="lib/private/Files/Storage/DAV.php">
|
||||||
|
@ -3926,9 +3868,6 @@
|
||||||
<ImplicitToStringCast occurrences="1">
|
<ImplicitToStringCast occurrences="1">
|
||||||
<code>$file</code>
|
<code>$file</code>
|
||||||
</ImplicitToStringCast>
|
</ImplicitToStringCast>
|
||||||
<InvalidNullableReturnType occurrences="1">
|
|
||||||
<code>getMetaData</code>
|
|
||||||
</InvalidNullableReturnType>
|
|
||||||
<InvalidOperand occurrences="1">
|
<InvalidOperand occurrences="1">
|
||||||
<code>$result</code>
|
<code>$result</code>
|
||||||
</InvalidOperand>
|
</InvalidOperand>
|
||||||
|
@ -3940,9 +3879,8 @@
|
||||||
<code>filesize</code>
|
<code>filesize</code>
|
||||||
<code>free_space</code>
|
<code>free_space</code>
|
||||||
</InvalidReturnType>
|
</InvalidReturnType>
|
||||||
<NullableReturnStatement occurrences="2">
|
<NullableReturnStatement occurrences="1">
|
||||||
<code>$helper->getFileSize($fullPath)</code>
|
<code>$helper->getFileSize($fullPath)</code>
|
||||||
<code>null</code>
|
|
||||||
</NullableReturnStatement>
|
</NullableReturnStatement>
|
||||||
<TypeDoesNotContainNull occurrences="2">
|
<TypeDoesNotContainNull occurrences="2">
|
||||||
<code>$space === false || is_null($space)</code>
|
<code>$space === false || is_null($space)</code>
|
||||||
|
@ -3959,7 +3897,7 @@
|
||||||
</NoInterfaceProperties>
|
</NoInterfaceProperties>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Files/Storage/Wrapper/Availability.php">
|
<file src="lib/private/Files/Storage/Wrapper/Availability.php">
|
||||||
<InvalidNullableReturnType occurrences="35">
|
<InvalidNullableReturnType occurrences="34">
|
||||||
<code>copy</code>
|
<code>copy</code>
|
||||||
<code>copyFromStorage</code>
|
<code>copyFromStorage</code>
|
||||||
<code>file_exists</code>
|
<code>file_exists</code>
|
||||||
|
@ -3973,7 +3911,6 @@
|
||||||
<code>getDirectDownload</code>
|
<code>getDirectDownload</code>
|
||||||
<code>getETag</code>
|
<code>getETag</code>
|
||||||
<code>getLocalFile</code>
|
<code>getLocalFile</code>
|
||||||
<code>getMetaData</code>
|
|
||||||
<code>getMimeType</code>
|
<code>getMimeType</code>
|
||||||
<code>getOwner</code>
|
<code>getOwner</code>
|
||||||
<code>getPermissions</code>
|
<code>getPermissions</code>
|
||||||
|
@ -4025,9 +3962,6 @@
|
||||||
<code>$source</code>
|
<code>$source</code>
|
||||||
<code>$target</code>
|
<code>$target</code>
|
||||||
</InvalidArgument>
|
</InvalidArgument>
|
||||||
<InvalidNullableReturnType occurrences="1">
|
|
||||||
<code>array</code>
|
|
||||||
</InvalidNullableReturnType>
|
|
||||||
<InvalidOperand occurrences="3">
|
<InvalidOperand occurrences="3">
|
||||||
<code>$result</code>
|
<code>$result</code>
|
||||||
<code>$result</code>
|
<code>$result</code>
|
||||||
|
@ -4053,9 +3987,6 @@
|
||||||
<code>$size</code>
|
<code>$size</code>
|
||||||
<code>$sourceStorage->filemtime($sourceInternalPath)</code>
|
<code>$sourceStorage->filemtime($sourceInternalPath)</code>
|
||||||
</InvalidScalarArgument>
|
</InvalidScalarArgument>
|
||||||
<NullableReturnStatement occurrences="1">
|
|
||||||
<code>null</code>
|
|
||||||
</NullableReturnStatement>
|
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Files/Storage/Wrapper/Jail.php">
|
<file src="lib/private/Files/Storage/Wrapper/Jail.php">
|
||||||
<InvalidReturnStatement occurrences="1">
|
<InvalidReturnStatement occurrences="1">
|
||||||
|
|
Loading…
Reference in New Issue