diff options
author | nextcloud-command <nextcloud-command@users.noreply.github.com> | 2022-06-21 04:20:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-21 04:20:18 +0000 |
commit | 92ef84b63581bf4b728c9d39c36113f4da08e396 (patch) | |
tree | 3f6771257e8344f385cd312c5e271c7b9b33b65a /build | |
parent | 20fc8d8f30012edcd9f1d4e92dd4704bc5b77492 (diff) | |
download | nextcloud-server-92ef84b63581bf4b728c9d39c36113f4da08e396.tar.gz nextcloud-server-92ef84b63581bf4b728c9d39c36113f4da08e396.zip |
Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline.xml | 48 |
1 files changed, 2 insertions, 46 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 1e27a2496c7..1ebdcf7d15f 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -136,16 +136,6 @@ </ParamNameMismatch> </file> <file src="apps/dav/lib/CalDAV/CalDavBackend.php"> - <InvalidArgument occurrences="8"> - <code>'\OCA\DAV\CalDAV\CalDavBackend::createCachedCalendarObject'</code> - <code>'\OCA\DAV\CalDAV\CalDavBackend::createSubscription'</code> - <code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCachedCalendarObject'</code> - <code>'\OCA\DAV\CalDAV\CalDavBackend::deleteSubscription'</code> - <code>'\OCA\DAV\CalDAV\CalDavBackend::publishCalendar'</code> - <code>'\OCA\DAV\CalDAV\CalDavBackend::updateCachedCalendarObject'</code> - <code>'\OCA\DAV\CalDAV\CalDavBackend::updateShares'</code> - <code>'\OCA\DAV\CalDAV\CalDavBackend::updateSubscription'</code> - </InvalidArgument> <InvalidNullableReturnType occurrences="2"> <code>array</code> <code>array</code> @@ -161,16 +151,6 @@ <RedundantCast occurrences="1"> <code>(int)$calendarId</code> </RedundantCast> - <TooManyArguments occurrences="8"> - <code>dispatch</code> - <code>dispatch</code> - <code>dispatch</code> - <code>dispatch</code> - <code>dispatch</code> - <code>dispatch</code> - <code>dispatch</code> - <code>dispatch</code> - </TooManyArguments> <UndefinedFunction occurrences="4"> <code>Uri\split($principalUri)</code> <code>Uri\split($row['principaluri'])</code> @@ -341,9 +321,6 @@ </InvalidArgument> </file> <file src="apps/dav/lib/CardDAV/AddressBookImpl.php"> - <InvalidArgument occurrences="1"> - <code>$id</code> - </InvalidArgument> <InvalidScalarArgument occurrences="2"> <code>$this->getKey()</code> <code>$this->getKey()</code> @@ -358,16 +335,6 @@ <FalsableReturnStatement occurrences="1"> <code>false</code> </FalsableReturnStatement> - <InvalidArgument occurrences="3"> - <code>'\OCA\DAV\CardDAV\CardDavBackend::createCard'</code> - <code>'\OCA\DAV\CardDAV\CardDavBackend::deleteCard'</code> - <code>'\OCA\DAV\CardDAV\CardDavBackend::updateCard'</code> - </InvalidArgument> - <TooManyArguments occurrences="3"> - <code>dispatch</code> - <code>dispatch</code> - <code>dispatch</code> - </TooManyArguments> <TypeDoesNotContainType occurrences="1"> <code>$addressBooks[$row['id']][$readOnlyPropertyName] === 0</code> </TypeDoesNotContainType> @@ -1732,14 +1699,6 @@ <code>0</code> </InvalidScalarArgument> </file> - <file src="apps/updatenotification/lib/ResetTokenBackgroundJob.php"> - <InvalidOperand occurrences="1"> - <code>$this->config->getAppValue('core', 'updater.secret.created', $this->timeFactory->getTime())</code> - </InvalidOperand> - <InvalidScalarArgument occurrences="1"> - <code>$this->timeFactory->getTime()</code> - </InvalidScalarArgument> - </file> <file src="apps/updatenotification/lib/Settings/Admin.php"> <InvalidScalarArgument occurrences="1"> <code>$lastUpdateCheckTimestamp</code> @@ -3366,16 +3325,13 @@ <code>$result</code> <code>$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file, false, $isRename)</code> </InvalidOperand> - <InvalidReturnStatement occurrences="6"> + <InvalidReturnStatement occurrences="4"> <code>$newUnencryptedSize</code> <code>$result</code> - <code>$stat</code> <code>$this->storage->file_get_contents($path)</code> <code>$this->storage->filesize($path)</code> - <code>$this->storage->getLocalFile($path)</code> </InvalidReturnStatement> - <InvalidReturnType occurrences="5"> - <code>array</code> + <InvalidReturnType occurrences="3"> <code>bool</code> <code>int</code> <code>string</code> |