diff options
author | Nextcloud-PR-Bot <nextcloud-pr-bot@users.noreply.github.com> | 2021-03-06 07:33:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-06 07:33:39 +0300 |
commit | a0ac2dd80c8f0d36d7b6aa2a6ccb762d6716bc34 (patch) | |
tree | 8a48ef3c8298ba2e80b3dfb68e13551d45b457bf /build | |
parent | 97d660927353b3bc5ba04210d975a009dc626e5c (diff) |
Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline.xml | 77 |
1 files changed, 4 insertions, 73 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index a25dfe604d0..d17a3c1d859 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1427,9 +1427,6 @@ <code>$e->getCode()</code> <code>$e->getCode()</code> </InvalidScalarArgument> - <NullableReturnStatement occurrences="1"> - <code>null</code> - </NullableReturnStatement> <ParamNameMismatch occurrences="2"> <code>$source</code> <code>$target</code> @@ -1602,10 +1599,6 @@ </InvalidDocblock> </file> <file src="apps/files_sharing/lib/External/Scanner.php"> - <InvalidNullableReturnType occurrences="2"> - <code>array</code> - <code>scan</code> - </InvalidNullableReturnType> <InvalidScalarArgument occurrences="1"> <code>$recursive</code> </InvalidScalarArgument> @@ -1631,14 +1624,6 @@ <code>$exception->getMessage()</code> </InvalidArgument> </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"> <InvalidScalarArgument occurrences="2"> <code>$itemSource</code> @@ -3166,28 +3151,6 @@ <code>!isset($info['contactsmenu']) || !isset($info['contactsmenu'])</code> </ParadoxicalCondition> </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"> <InvalidNullableReturnType occurrences="1"> <code>IEntry</code> @@ -3434,16 +3397,6 @@ <code>$path</code> </MoreSpecificImplementedParamType> </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"> <InvalidScalarArgument occurrences="4"> <code>$value</code> @@ -3453,9 +3406,6 @@ </InvalidScalarArgument> </file> <file src="lib/private/Files/Cache/Scanner.php"> - <InvalidNullableReturnType occurrences="1"> - <code>array</code> - </InvalidNullableReturnType> <InvalidReturnStatement occurrences="1"> <code>$existingChildren</code> </InvalidReturnStatement> @@ -3466,12 +3416,6 @@ <code>$path</code> <code>self::SCAN_RECURSIVE_INCOMPLETE</code> </InvalidScalarArgument> - <NullableReturnStatement occurrences="4"> - <code>null</code> - <code>null</code> - <code>null</code> - <code>null</code> - </NullableReturnStatement> <TypeDoesNotContainType occurrences="1"> <code>$data ?? $this->getData($file)</code> </TypeDoesNotContainType> @@ -3820,9 +3764,8 @@ <ImplementedReturnTypeMismatch occurrences="1"> <code>string|false</code> </ImplementedReturnTypeMismatch> - <InvalidNullableReturnType occurrences="2"> + <InvalidNullableReturnType occurrences="1"> <code>array</code> - <code>getMetaData</code> </InvalidNullableReturnType> <InvalidOperand occurrences="2"> <code>!$permissions</code> @@ -3840,9 +3783,8 @@ <code>$storage->updater</code> <code>$storage->updater</code> </NoInterfaceProperties> - <NullableReturnStatement occurrences="2"> + <NullableReturnStatement occurrences="1"> <code>$this->getStorageCache()->getAvailability()</code> - <code>null</code> </NullableReturnStatement> </file> <file src="lib/private/Files/Storage/DAV.php"> @@ -3926,9 +3868,6 @@ <ImplicitToStringCast occurrences="1"> <code>$file</code> </ImplicitToStringCast> - <InvalidNullableReturnType occurrences="1"> - <code>getMetaData</code> - </InvalidNullableReturnType> <InvalidOperand occurrences="1"> <code>$result</code> </InvalidOperand> @@ -3940,9 +3879,8 @@ <code>filesize</code> <code>free_space</code> </InvalidReturnType> - <NullableReturnStatement occurrences="2"> + <NullableReturnStatement occurrences="1"> <code>$helper->getFileSize($fullPath)</code> - <code>null</code> </NullableReturnStatement> <TypeDoesNotContainNull occurrences="2"> <code>$space === false || is_null($space)</code> @@ -3959,7 +3897,7 @@ </NoInterfaceProperties> </file> <file src="lib/private/Files/Storage/Wrapper/Availability.php"> - <InvalidNullableReturnType occurrences="35"> + <InvalidNullableReturnType occurrences="34"> <code>copy</code> <code>copyFromStorage</code> <code>file_exists</code> @@ -3973,7 +3911,6 @@ <code>getDirectDownload</code> <code>getETag</code> <code>getLocalFile</code> - <code>getMetaData</code> <code>getMimeType</code> <code>getOwner</code> <code>getPermissions</code> @@ -4025,9 +3962,6 @@ <code>$source</code> <code>$target</code> </InvalidArgument> - <InvalidNullableReturnType occurrences="1"> - <code>array</code> - </InvalidNullableReturnType> <InvalidOperand occurrences="3"> <code>$result</code> <code>$result</code> @@ -4053,9 +3987,6 @@ <code>$size</code> <code>$sourceStorage->filemtime($sourceInternalPath)</code> </InvalidScalarArgument> - <NullableReturnStatement occurrences="1"> - <code>null</code> - </NullableReturnStatement> </file> <file src="lib/private/Files/Storage/Wrapper/Jail.php"> <InvalidReturnStatement occurrences="1"> |