diff --git a/build/psalm-baseline-ocp.xml b/build/psalm-baseline-ocp.xml index 25a44ab0141..3306f76e2ce 100644 --- a/build/psalm-baseline-ocp.xml +++ b/build/psalm-baseline-ocp.xml @@ -1,5 +1,5 @@ - + null|string @@ -22,6 +22,9 @@ + + new RouteConfig($this->container, $router, $routes) + \OC @@ -53,9 +56,6 @@ \OC - - - $resource['internalName'] @@ -78,11 +78,6 @@ $jobList - - - IAddressBook[] - - WidgetSetting @@ -213,17 +208,6 @@ \relative_modified_date($timestamp, null, $dateOnly) - - - \OC_User::getUser() - - - string - - - \OC - - \OC_Helper::computerFileSize($str) diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index 47cc8f2fe89..93547351f17 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1,5 +1,5 @@ - + $calendarData @@ -50,6 +50,9 @@ + + $ex + \Sabre\Uri\split($this->principalUri) @@ -121,6 +124,21 @@ Uri\split($this->principalInfo['uri']) + + + $arguments + + + + + $arg + + + + + $arguments + + File @@ -159,6 +177,9 @@ $this->objectData['calendardata'] + + $calendarData + @@ -195,11 +216,6 @@ dispatch dispatch dispatch - dispatch - dispatch - dispatch - dispatch - dispatch Uri\split($principalUri) @@ -222,6 +238,11 @@ calendarSearch + + + $principal + + $acl->defaultUsernamePath @@ -237,6 +258,11 @@ \Sabre\Uri\split($principalUrl) + + + $principalInfo + + $paths @@ -247,6 +273,10 @@ $canPublish $canShare + + $canPublish + $canShare + @@ -280,6 +310,11 @@ isFloating + + + @var VEvent $vevent + + $this->l10n->l('date', $dt, ['width' => 'medium']) @@ -411,6 +446,11 @@ $this->getKey() + + + $principal + + false @@ -429,6 +469,9 @@ null + + $addressBookId + (int)$addressBookId @@ -592,6 +635,9 @@ + + $e + $data @@ -809,6 +855,9 @@ ?string + + $search + $operator->arguments[0]->name @@ -845,6 +894,16 @@ \Sabre\Uri\split($principalUri) + + + $arguments + + + + + $arguments + + $publicCalendarRoot->disableListing @@ -890,7 +949,20 @@ $acl->defaultUsernamePath + + + $e + + + + + $e + + + + $e + int @@ -899,12 +971,19 @@ + + $e + int null + + $tagId + $tagName + @@ -913,6 +992,9 @@ null + + $objectName + @@ -962,11 +1044,8 @@ - $result + $this->scanFolder($output, '/' . $user) - - $result - @@ -1219,7 +1298,6 @@ $this - $this @@ -1531,6 +1609,11 @@ $password + + + $id + + (int) $remoteShare @@ -1599,6 +1682,10 @@ $this->sourceRootInfo + + $available + $target + $this->mountOptions @@ -2035,6 +2122,11 @@ is_array($list) + + + $gid + + $lastNumber + 1 @@ -2135,8 +2227,14 @@ - $result + $isUnmapped + + $result + + + bool + isset($qb) @@ -2190,6 +2288,9 @@ $users + + $uid + @@ -2291,6 +2392,9 @@ string + + $uid + @@ -2304,6 +2408,12 @@ [] + + $result + + + bool + $missingCheck @@ -2322,10 +2432,28 @@ isUserScopeEnabled + + + $arguments + + + + + $arguments + + + + + $arguments + + null|int + + null|int + null|int @@ -2344,6 +2472,9 @@ null|int + + null|int + null|int @@ -2366,6 +2497,9 @@ null|int + + null|int + null|int @@ -2414,9 +2548,6 @@ - - \DateTimeZone::listIdentifiers() - $levelNum @@ -2563,6 +2694,11 @@ dispatch + + + $affectedUser + + $this->filterClasses @@ -2597,11 +2733,6 @@ $group === null - - - 'version_compare' - - fetch @@ -2791,8 +2922,11 @@ - + getName + isBuiltin + isBuiltin + isBuiltin @@ -2920,6 +3054,14 @@ Color + + $hash + + + + + $userId + @@ -2973,12 +3115,23 @@ '' + + + $serializedCallable + + + + $serializedCallable + \Opis\Closure\unserialize($serializedCallable) + + $serializedCommand + \Opis\Closure\unserialize($serializedCommand) @@ -2992,6 +3145,9 @@ \DateTime|null + + $timestamp + !is_array($mentions[0]) @@ -3005,13 +3161,10 @@ - - $needsUpdate - $needsUpdate - - - $needsUpdate - + + $this->delete($key) + $this->set($key, $value) + $CONFIG $CONFIG @@ -3058,6 +3211,10 @@ null null + + $addressBook + $addressBook + @@ -3087,7 +3244,8 @@ $e->getCode() - + + $seqName $statement @@ -3143,6 +3301,10 @@ $alias + + $groupBys + $selects + @@ -3241,6 +3403,11 @@ dispatch + + + $providerId + + $parentData @@ -3257,6 +3424,9 @@ null null + + $searchQuery + @@ -3275,6 +3445,9 @@ $path + + $path + @@ -3305,6 +3478,9 @@ array + + $searchQuery + @@ -3493,6 +3669,9 @@ $this->getFileInfo()->getId() + + $type + dispatch @@ -3500,6 +3679,18 @@ $this->fileInfo + + + $newPath + + + + + $mime + $newPath + $pattern + + Node @@ -3581,11 +3772,6 @@ stream_for($handle) - - - $this->params['url'] - - string|false @@ -3595,7 +3781,7 @@ !$permissions - $result + $this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file) $storage->cache @@ -3695,13 +3881,15 @@ $result - + $helper->getFileSize($fullPath) + $result $space - + filesize free_space + rename $helper->getFileSize($fullPath) @@ -3789,17 +3977,19 @@ $result $result - $result + $this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file, false, $isRename) - + $newUnencryptedSize + $result $stat $this->storage->file_get_contents($path) $this->storage->filesize($path) $this->storage->getLocalFile($path) - + array + bool int string string @@ -3827,7 +4017,8 @@ string - + + $free 'ext' @@ -3853,6 +4044,11 @@ stream_flush + + + $mimetype + + $update->execute() @@ -3935,12 +4131,6 @@ $hide - - $users - - - int|bool - $user @@ -4083,6 +4273,11 @@ is_string($request->getMethod()) + + + $dummy + + @@ -4136,6 +4331,11 @@ $jobList + + + $id + + !($notification instanceof INotification) @@ -4268,10 +4468,23 @@ "$scope::$method" + + $string + dispatch + + + $arguments + + + + + $arguments + + $query->createFunction('(' . $subQuery->getSQL() . ')') @@ -4281,6 +4494,21 @@ $this->userToNotify + + + $out + + + + + $out + + + + + $out + + \OC_APP @@ -4386,6 +4614,24 @@ array + + $username + + + + + $username + + + + + $username + + + + + $username + @@ -4470,6 +4716,9 @@ null null + + $shareProviderClass + \OCA\Circles\ShareByCircleProvider @@ -4564,6 +4813,12 @@ false + + + $style + $style + + null @@ -4579,6 +4834,10 @@ $this->appendIfExist($this->serverroot, 'apps/'.$script.'.js') $this->appendIfExist($this->serverroot, 'core/'.$script.'.js') + + $script + $script + @@ -4764,11 +5023,6 @@ OC_DB_StatementWrapper - - - $this->fallback - - \OC\InsufficientStorageException @@ -4900,6 +5154,11 @@ $this->request->server + + + new RouteConfig($this->container, $router, $routes) + + ContainerExceptionInterface