<?xml version="1.0" encoding="UTF-8"?> <files psalm-version="4.8.1@f73f2299dbc59a3e6c4d66cff4605176e728ee69"> <file src="3rdparty/sabre/dav/lib/CalDAV/Calendar.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$calendarData</code> </MoreSpecificImplementedParamType> </file> <file src="3rdparty/sabre/dav/lib/CalDAV/CalendarHome.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$data</code> </MoreSpecificImplementedParamType> </file> <file src="3rdparty/sabre/dav/lib/CalDAV/Principal/User.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$data</code> </MoreSpecificImplementedParamType> </file> <file src="3rdparty/sabre/dav/lib/CardDAV/AddressBook.php"> <LessSpecificImplementedReturnType occurrences="1"> <code>array</code> </LessSpecificImplementedReturnType> <MoreSpecificImplementedParamType occurrences="1"> <code>$vcardData</code> </MoreSpecificImplementedParamType> </file> <file src="3rdparty/sabre/dav/lib/CardDAV/AddressBookHome.php"> <InvalidPropertyAssignmentValue occurrences="1"> <code>$principalUri</code> </InvalidPropertyAssignmentValue> <MoreSpecificImplementedParamType occurrences="1"> <code>$data</code> </MoreSpecificImplementedParamType> </file> <file src="3rdparty/sabre/dav/lib/DAVACL/AbstractPrincipalCollection.php"> <LessSpecificImplementedReturnType occurrences="1"> <code>array</code> </LessSpecificImplementedReturnType> </file> <file src="apps/cloud_federation_api/lib/Controller/RequestHandlerController.php"> <InvalidScalarArgument occurrences="1"> <code>$e->getCode()</code> </InvalidScalarArgument> <TypeDoesNotContainType occurrences="1"> <code>!is_array($notification)</code> </TypeDoesNotContainType> </file> <file src="apps/comments/lib/Search/Result.php"> <InvalidScalarArgument occurrences="1"> <code>(int) $comment->getId()</code> </InvalidScalarArgument> </file> <file src="apps/contactsinteraction/lib/AddressBook.php"> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($this->principalUri)</code> </UndefinedFunction> </file> <file src="apps/dav/appinfo/v1/caldav.php"> <TooManyArguments occurrences="1"> <code>new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud')</code> </TooManyArguments> <UndefinedGlobalVariable occurrences="1"> <code>$baseuri</code> </UndefinedGlobalVariable> </file> <file src="apps/dav/appinfo/v1/carddav.php"> <TooManyArguments occurrences="1"> <code>new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud')</code> </TooManyArguments> <UndefinedGlobalVariable occurrences="1"> <code>$baseuri</code> </UndefinedGlobalVariable> </file> <file src="apps/dav/appinfo/v1/publicwebdav.php"> <InternalMethod occurrences="2"> <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($previousLog)</code> <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code> </InternalMethod> <UndefinedGlobalVariable occurrences="1"> <code>$baseuri</code> </UndefinedGlobalVariable> </file> <file src="apps/dav/appinfo/v1/webdav.php"> <InvalidArgument occurrences="1"> <code>'OCA\DAV\Connector\Sabre::addPlugin'</code> </InvalidArgument> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> <UndefinedGlobalVariable occurrences="1"> <code>$baseuri</code> </UndefinedGlobalVariable> </file> <file src="apps/dav/appinfo/v2/direct.php"> <UndefinedGlobalVariable occurrences="1"> <code>$baseuri</code> </UndefinedGlobalVariable> </file> <file src="apps/dav/appinfo/v2/remote.php"> <UndefinedGlobalVariable occurrences="1"> <code>$baseuri</code> </UndefinedGlobalVariable> </file> <file src="apps/dav/bin/chunkperf.php"> <InvalidOperand occurrences="1"> <code>$argv[5]</code> </InvalidOperand> <InvalidScalarArgument occurrences="1"> <code>$chunkSize</code> </InvalidScalarArgument> <MissingFile occurrences="1"> <code>require '../../../../3rdparty/autoload.php'</code> </MissingFile> </file> <file src="apps/dav/lib/AppInfo/Application.php"> <UndefinedInterfaceMethod occurrences="1"> <code>getAppDataDir</code> </UndefinedInterfaceMethod> </file> <file src="apps/dav/lib/Avatars/AvatarHome.php"> <UndefinedFunction occurrences="1"> <code>Uri\split($this->principalInfo['uri'])</code> </UndefinedFunction> </file> <file src="apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php"> <ParamNameMismatch occurrences="1"> <code>$arguments</code> </ParamNameMismatch> </file> <file src="apps/dav/lib/BackgroundJob/EventReminderJob.php"> <ParamNameMismatch occurrences="1"> <code>$arg</code> </ParamNameMismatch> </file> <file src="apps/dav/lib/BackgroundJob/GenerateBirthdayCalendarBackgroundJob.php"> <ParamNameMismatch occurrences="1"> <code>$arguments</code> </ParamNameMismatch> </file> <file src="apps/dav/lib/BackgroundJob/UploadCleanup.php"> <InvalidArgument occurrences="1"> <code>File</code> </InvalidArgument> </file> <file src="apps/dav/lib/CalDAV/BirthdayService.php"> <UndefinedMethod occurrences="2"> <code>setDateTime</code> <code>setDateTime</code> </UndefinedMethod> <UndefinedPropertyFetch occurrences="4"> <code>$existingBirthday->VEVENT->DTSTART</code> <code>$existingBirthday->VEVENT->SUMMARY</code> <code>$newCalendarData->VEVENT->DTSTART</code> <code>$newCalendarData->VEVENT->SUMMARY</code> </UndefinedPropertyFetch> </file> <file src="apps/dav/lib/CalDAV/CachedSubscription.php"> <LessSpecificImplementedReturnType occurrences="1"> <code>array</code> </LessSpecificImplementedReturnType> <MoreSpecificImplementedParamType occurrences="1"> <code>$calendarData</code> </MoreSpecificImplementedParamType> <ParamNameMismatch occurrences="1"> <code>$calendarData</code> </ParamNameMismatch> </file> <file src="apps/dav/lib/CalDAV/CachedSubscriptionObject.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>string|void</code> </ImplementedReturnTypeMismatch> <NullableReturnStatement occurrences="1"> <code>$this->objectData['calendardata']</code> </NullableReturnStatement> <ParamNameMismatch occurrences="1"> <code>$calendarData</code> </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> </InvalidNullableReturnType> <MoreSpecificImplementedParamType occurrences="2"> <code>$objectData</code> <code>$uris</code> </MoreSpecificImplementedParamType> <NullableReturnStatement occurrences="2"> <code>null</code> <code>null</code> </NullableReturnStatement> <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> <code>Uri\split($row['principaluri'])</code> <code>Uri\split($row['principaluri'])</code> </UndefinedFunction> </file> <file src="apps/dav/lib/CalDAV/CalendarHome.php"> <InvalidNullableReturnType occurrences="1"> <code>INode</code> </InvalidNullableReturnType> <LessSpecificImplementedReturnType occurrences="1"> <code>INode</code> </LessSpecificImplementedReturnType> <NullableReturnStatement occurrences="1"> <code>$calendarPlugin->getCalendarInCalendarHome($this->principalInfo['uri'], $calendarUri)</code> </NullableReturnStatement> <UndefinedInterfaceMethod occurrences="1"> <code>calendarSearch</code> </UndefinedInterfaceMethod> </file> <file src="apps/dav/lib/CalDAV/CalendarRoot.php"> <ParamNameMismatch occurrences="1"> <code>$principal</code> </ParamNameMismatch> </file> <file src="apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php"> <UndefinedPropertyAssignment occurrences="1"> <code>$acl->defaultUsernamePath</code> </UndefinedPropertyAssignment> </file> <file src="apps/dav/lib/CalDAV/Plugin.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>string|null</code> </ImplementedReturnTypeMismatch> <UndefinedFunction occurrences="3"> <code>\Sabre\Uri\split($principalUrl)</code> <code>\Sabre\Uri\split($principalUrl)</code> <code>\Sabre\Uri\split($principalUrl)</code> </UndefinedFunction> </file> <file src="apps/dav/lib/CalDAV/Principal/Collection.php"> <ParamNameMismatch occurrences="1"> <code>$principalInfo</code> </ParamNameMismatch> </file> <file src="apps/dav/lib/CalDAV/PublicCalendar.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$paths</code> </MoreSpecificImplementedParamType> </file> <file src="apps/dav/lib/CalDAV/Publishing/PublishPlugin.php"> <InvalidOperand occurrences="2"> <code>$canPublish</code> <code>$canShare</code> </InvalidOperand> <InvalidScalarArgument occurrences="2"> <code>$canPublish</code> <code>$canShare</code> </InvalidScalarArgument> </file> <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php"> <UndefinedMethod occurrences="3"> <code>hasTime</code> <code>isFloating</code> <code>isFloating</code> </UndefinedMethod> </file> <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php"> <FalsableReturnStatement occurrences="4"> <code>$l10n->l('date', $dt, ['width' => 'medium'])</code> <code>$l10n->l('datetime', $dt, ['width' => 'medium|short'])</code> <code>$l10n->l('time', $dt, ['width' => 'short'])</code> <code>$l10n->l('weekdayName', $dt, ['width' => 'abbreviated'])</code> </FalsableReturnStatement> <InvalidReturnStatement occurrences="4"> <code>$l10n->l('date', $dt, ['width' => 'medium'])</code> <code>$l10n->l('datetime', $dt, ['width' => 'medium|short'])</code> <code>$l10n->l('time', $dt, ['width' => 'short'])</code> <code>$l10n->l('weekdayName', $dt, ['width' => 'abbreviated'])</code> </InvalidReturnStatement> <InvalidReturnType occurrences="4"> <code>string</code> <code>string</code> <code>string</code> <code>string</code> </InvalidReturnType> <UndefinedMethod occurrences="3"> <code>getDateTime</code> <code>getDateTime</code> <code>isFloating</code> </UndefinedMethod> </file> <file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/PushProvider.php"> <PossiblyInvalidDocblockTag occurrences="1"> <code>@var VEvent $vevent</code> </PossiblyInvalidDocblockTag> </file> <file src="apps/dav/lib/CalDAV/Reminder/Notifier.php"> <FalsableReturnStatement occurrences="4"> <code>$this->l10n->l('date', $dt, ['width' => 'medium'])</code> <code>$this->l10n->l('datetime', $dt, ['width' => 'medium|short'])</code> <code>$this->l10n->l('time', $dt, ['width' => 'short'])</code> <code>$this->l10n->l('weekdayName', $dt, ['width' => 'abbreviated'])</code> </FalsableReturnStatement> <InvalidReturnStatement occurrences="4"> <code>$this->l10n->l('date', $dt, ['width' => 'medium'])</code> <code>$this->l10n->l('datetime', $dt, ['width' => 'medium|short'])</code> <code>$this->l10n->l('time', $dt, ['width' => 'short'])</code> <code>$this->l10n->l('weekdayName', $dt, ['width' => 'abbreviated'])</code> </InvalidReturnStatement> <InvalidReturnType occurrences="4"> <code>string</code> <code>string</code> <code>string</code> <code>string</code> </InvalidReturnType> </file> <file src="apps/dav/lib/CalDAV/Reminder/ReminderService.php"> <UndefinedMethod occurrences="3"> <code>getDateInterval</code> <code>getDateTime</code> <code>getDateTime</code> </UndefinedMethod> <UndefinedPropertyFetch occurrences="1"> <code>$valarm->parent->UID</code> </UndefinedPropertyFetch> </file> <file src="apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>null|string</code> </ImplementedReturnTypeMismatch> <InvalidNullableReturnType occurrences="1"> <code>array</code> </InvalidNullableReturnType> <InvalidReturnStatement occurrences="1"> <code>$principals</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string[]</code> </InvalidReturnType> <NullableReturnStatement occurrences="2"> <code>null</code> <code>null</code> </NullableReturnStatement> <UndefinedFunction occurrences="2"> <code>\Sabre\Uri\split($path)</code> <code>\Sabre\Uri\split($path)</code> </UndefinedFunction> </file> <file src="apps/dav/lib/CalDAV/Schedule/IMipPlugin.php"> <ImplicitToStringCast occurrences="2"> <code>$vevent->LOCATION</code> <code>$vevent->SUMMARY</code> </ImplicitToStringCast> <InvalidNullableReturnType occurrences="1"> <code>string</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>$lang->getValue()</code> </NullableReturnStatement> <UndefinedMethod occurrences="10"> <code>getDateTime</code> <code>getDateTime</code> <code>getDateTime</code> <code>getDateTime</code> <code>getDateTime</code> <code>hasTime</code> <code>hasTime</code> <code>isFloating</code> <code>isFloating</code> <code>isFloating</code> </UndefinedMethod> <UndefinedPropertyFetch occurrences="1"> <code>$iTipMessage->message->VEVENT->SUMMARY</code> </UndefinedPropertyFetch> </file> <file src="apps/dav/lib/CalDAV/Schedule/Plugin.php"> <InvalidArgument occurrences="2"> <code>[$aclPlugin, 'propFind']</code> <code>[$aclPlugin, 'propFind']</code> </InvalidArgument> <UndefinedFunction occurrences="1"> <code>split($principalUrl)</code> </UndefinedFunction> <UndefinedInterfaceMethod occurrences="2"> <code>get</code> <code>getChildren</code> </UndefinedInterfaceMethod> <UndefinedMethod occurrences="5"> <code>getDateTime</code> <code>hasTime</code> <code>isFloating</code> <code>isFloating</code> <code>principalSearch</code> </UndefinedMethod> </file> <file src="apps/dav/lib/CalDAV/Search/SearchPlugin.php"> <InvalidNullableReturnType occurrences="1"> <code>bool</code> </InvalidNullableReturnType> </file> <file src="apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php"> <InvalidReturnStatement occurrences="1"/> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> </file> <file src="apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php"> <TypeDoesNotContainType occurrences="3"> <code>!is_array($newProps['filters']['comps'])</code> <code>!is_array($newProps['filters']['params'])</code> <code>!is_array($newProps['filters']['props'])</code> </TypeDoesNotContainType> </file> <file src="apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php"> <InvalidArgument occurrences="1"> <code>$webcalData</code> </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> </InvalidScalarArgument> </file> <file src="apps/dav/lib/CardDAV/AddressBookRoot.php"> <ParamNameMismatch occurrences="1"> <code>$principal</code> </ParamNameMismatch> </file> <file src="apps/dav/lib/CardDAV/CardDavBackend.php"> <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> <InvalidNullableReturnType occurrences="1"> <code>array</code> </InvalidNullableReturnType> <MoreSpecificImplementedParamType occurrences="1"> <code>$uris</code> </MoreSpecificImplementedParamType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> <ParamNameMismatch occurrences="1"> <code>$addressBookId</code> </ParamNameMismatch> <RedundantCast occurrences="1"> <code>(int)$addressBookId</code> </RedundantCast> <TooManyArguments occurrences="3"> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> </TooManyArguments> <TypeDoesNotContainType occurrences="1"> <code>$addressBooks[$row['id']][$readOnlyPropertyName] === 0</code> </TypeDoesNotContainType> <UndefinedFunction occurrences="2"> <code>\Sabre\Uri\split($principalUri)</code> <code>\Sabre\Uri\split($row['principaluri'])</code> </UndefinedFunction> </file> <file src="apps/dav/lib/CardDAV/MultiGetExportPlugin.php"> <InvalidNullableReturnType occurrences="1"> <code>bool</code> </InvalidNullableReturnType> </file> <file src="apps/dav/lib/CardDAV/PhotoCache.php"> <InvalidNullableReturnType occurrences="1"> <code>string</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>$type</code> </NullableReturnStatement> <UndefinedFunction occurrences="1"> <code>\Sabre\URI\parse($val)</code> </UndefinedFunction> </file> <file src="apps/dav/lib/CardDAV/Plugin.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>string|null</code> </ImplementedReturnTypeMismatch> <UndefinedFunction occurrences="3"> <code>\Sabre\Uri\split($principal)</code> <code>\Sabre\Uri\split($principal)</code> <code>\Sabre\Uri\split($principal)</code> </UndefinedFunction> </file> <file src="apps/dav/lib/CardDAV/SyncService.php"> <InvalidScalarArgument occurrences="1"> <code>$targetBookId</code> </InvalidScalarArgument> </file> <file src="apps/dav/lib/CardDAV/UserAddressBooks.php"> <InvalidArgument occurrences="2"> <code>$this->principalUri</code> <code>$this->principalUri</code> </InvalidArgument> </file> <file src="apps/dav/lib/CardDAV/Xml/Groups.php"> <InvalidPropertyAssignmentValue occurrences="1"> <code>$groups</code> </InvalidPropertyAssignmentValue> </file> <file src="apps/dav/lib/Comments/CommentNode.php"> <InvalidNullableReturnType occurrences="1"> <code>int</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> </file> <file src="apps/dav/lib/Comments/CommentsPlugin.php"> <InvalidScalarArgument occurrences="2"> <code>$args['datetime']</code> <code>200</code> </InvalidScalarArgument> <NullArgument occurrences="1"> <code>null</code> </NullArgument> <UndefinedFunction occurrences="1"> <code>\Sabre\HTTP\toDate($value)</code> </UndefinedFunction> </file> <file src="apps/dav/lib/Comments/EntityCollection.php"> <InvalidArgument occurrences="1"> <code>$value</code> </InvalidArgument> </file> <file src="apps/dav/lib/Comments/EntityTypeCollection.php"> <TypeDoesNotContainType occurrences="1"> <code>!is_string($name)</code> </TypeDoesNotContainType> </file> <file src="apps/dav/lib/Comments/RootCollection.php"> <InvalidArgument occurrences="1"> <code>CommentsEntityEvent::EVENT_ENTITY</code> </InvalidArgument> <InvalidNullableReturnType occurrences="2"> <code>\Sabre\DAV\INode[]</code> <code>int</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="2"> <code>$this->entityTypeCollections</code> <code>null</code> </NullableReturnStatement> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="apps/dav/lib/Connector/LegacyDAVACL.php"> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($principal)</code> </UndefinedFunction> </file> <file src="apps/dav/lib/Connector/Sabre/AnonymousOptionsPlugin.php"> <InvalidNullableReturnType occurrences="1"> <code>bool</code> </InvalidNullableReturnType> </file> <file src="apps/dav/lib/Connector/Sabre/AppEnabledPlugin.php"> <InvalidReturnType occurrences="1"> <code>bool</code> </InvalidReturnType> </file> <file src="apps/dav/lib/Connector/Sabre/BearerAuth.php"> <UndefinedInterfaceMethod occurrences="1"> <code>tryTokenLogin</code> </UndefinedInterfaceMethod> </file> <file src="apps/dav/lib/Connector/Sabre/CommentPropertiesPlugin.php"> <InvalidScalarArgument occurrences="1"> <code>$node->getId()</code> </InvalidScalarArgument> </file> <file src="apps/dav/lib/Connector/Sabre/Directory.php"> <InvalidPropertyAssignmentValue occurrences="1"> <code>$nodes</code> </InvalidPropertyAssignmentValue> <InvalidReturnStatement occurrences="1"> <code>$this->dirContent</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>\Sabre\DAV\INode[]</code> </InvalidReturnType> <InvalidScalarArgument occurrences="1"> <code>$e->getCode()</code> </InvalidScalarArgument> <NullArgument occurrences="3"> <code>null</code> <code>null</code> <code>null</code> </NullArgument> <ParamNameMismatch occurrences="1"> <code>$fullSourcePath</code> </ParamNameMismatch> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($sourceNode->getPath())</code> </UndefinedFunction> <UndefinedInterfaceMethod occurrences="1"> <code>$info</code> </UndefinedInterfaceMethod> </file> <file src="apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php"> <TooManyArguments occurrences="1"> <code>new SupportedLock(true)</code> </TooManyArguments> </file> <file src="apps/dav/lib/Connector/Sabre/File.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$data</code> </MoreSpecificImplementedParamType> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($this->path)</code> </UndefinedFunction> <UndefinedInterfaceMethod occurrences="1"> <code>writeStream</code> </UndefinedInterfaceMethod> </file> <file src="apps/dav/lib/Connector/Sabre/FilesPlugin.php"> <UndefinedFunction occurrences="3"> <code>\Sabre\Uri\split($destination)</code> <code>\Sabre\Uri\split($filePath)</code> <code>\Sabre\Uri\split($source)</code> </UndefinedFunction> </file> <file src="apps/dav/lib/Connector/Sabre/FilesReportPlugin.php"> <InvalidNullableReturnType occurrences="1"> <code>bool</code> </InvalidNullableReturnType> <InvalidScalarArgument occurrences="2"> <code>0</code> <code>200</code> </InvalidScalarArgument> <NullableReturnStatement occurrences="1"> <code>$resultFileIds</code> </NullableReturnStatement> <TooManyArguments occurrences="1"> <code>new PreconditionFailed('Cannot filter by non-existing tag', 0, $e)</code> </TooManyArguments> <UndefinedClass occurrences="1"> <code>\OCA\Circles\Api\v1\Circles</code> </UndefinedClass> <UndefinedInterfaceMethod occurrences="2"> <code>getById</code> <code>getPath</code> </UndefinedInterfaceMethod> </file> <file src="apps/dav/lib/Connector/Sabre/Node.php"> <InvalidArgument occurrences="1"> <code>$this</code> </InvalidArgument> <InvalidNullableReturnType occurrences="2"> <code>int</code> <code>integer</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="2"> <code>$this->info->getId()</code> <code>$this->info->getId()</code> </NullableReturnStatement> <UndefinedFunction occurrences="2"> <code>\Sabre\Uri\split($name)</code> <code>\Sabre\Uri\split($this->path)</code> </UndefinedFunction> </file> <file src="apps/dav/lib/Connector/Sabre/ObjectTree.php"> <UndefinedFunction occurrences="3"> <code>\Sabre\Uri\split($destinationPath)</code> <code>\Sabre\Uri\split($destinationPath)</code> <code>\Sabre\Uri\split($path)</code> </UndefinedFunction> </file> <file src="apps/dav/lib/Connector/Sabre/Principal.php"> <InvalidNullableReturnType occurrences="1"> <code>array</code> </InvalidNullableReturnType> <InvalidReturnStatement occurrences="1"> <code>$principals</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string[]</code> </InvalidReturnType> <NullableReturnStatement occurrences="8"> <code>null</code> <code>null</code> <code>null</code> <code>null</code> <code>null</code> <code>null</code> <code>null</code> </NullableReturnStatement> <UndefinedClass occurrences="2"> <code>\OCA\Circles\Api\v1\Circles</code> <code>\OCA\Circles\Api\v1\Circles</code> </UndefinedClass> <UndefinedFunction occurrences="4"> <code>\Sabre\Uri\split($path)</code> <code>\Sabre\Uri\split($prefix)</code> <code>\Sabre\Uri\split($principal)</code> <code>\Sabre\Uri\split($principal)</code> </UndefinedFunction> </file> <file src="apps/dav/lib/Connector/Sabre/QuotaPlugin.php"> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($path)</code> </UndefinedFunction> <UndefinedInterfaceMethod occurrences="2"> <code>getPath</code> <code>getPath</code> </UndefinedInterfaceMethod> </file> <file src="apps/dav/lib/Connector/Sabre/ServerFactory.php"> <TooManyArguments occurrences="1"> <code>new \OCA\DAV\Connector\Sabre\QuotaPlugin($view, true)</code> </TooManyArguments> </file> <file src="apps/dav/lib/Connector/Sabre/ShareTypeList.php"> <InvalidScalarArgument occurrences="1"> <code>$shareType</code> </InvalidScalarArgument> </file> <file src="apps/dav/lib/Connector/Sabre/ShareeList.php"> <InvalidScalarArgument occurrences="1"> <code>$share->getShareType()</code> </InvalidScalarArgument> </file> <file src="apps/dav/lib/Connector/Sabre/SharesPlugin.php"> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($sabreNode->getPath())</code> </UndefinedFunction> <UndefinedPropertyAssignment occurrences="1"> <code>$server->xml->namespacesMap</code> </UndefinedPropertyAssignment> <UndefinedPropertyFetch occurrences="1"> <code>$server->xml->namespacesMap</code> </UndefinedPropertyFetch> </file> <file src="apps/dav/lib/Connector/Sabre/TagsPlugin.php"> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> <UndefinedInterfaceMethod occurrences="1"> <code>getId</code> </UndefinedInterfaceMethod> </file> <file src="apps/dav/lib/Controller/InvitationResponseController.php"> <InvalidScalarArgument occurrences="1"> <code>$guests</code> </InvalidScalarArgument> <UndefinedPropertyAssignment occurrences="1"> <code>$vEvent->DTSTAMP</code> </UndefinedPropertyAssignment> <UndefinedPropertyFetch occurrences="1"> <code>$vEvent->{'ATTENDEE'}</code> </UndefinedPropertyFetch> </file> <file src="apps/dav/lib/DAV/CustomPropertiesBackend.php"> <InvalidArgument occurrences="1"> <code>$whereValues</code> </InvalidArgument> </file> <file src="apps/dav/lib/DAV/GroupPrincipalBackend.php"> <InvalidNullableReturnType occurrences="2"> <code>array</code> <code>string</code> </InvalidNullableReturnType> <InvalidReturnStatement occurrences="1"> <code>$principals</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string[]</code> <code>string[]</code> </InvalidReturnType> <MoreSpecificImplementedParamType occurrences="1"> <code>$members</code> </MoreSpecificImplementedParamType> <NullableReturnStatement occurrences="7"> <code>null</code> <code>null</code> <code>null</code> <code>null</code> <code>null</code> <code>null</code> <code>null</code> </NullableReturnStatement> </file> <file src="apps/dav/lib/DAV/Sharing/Backend.php"> <InvalidArrayOffset occurrences="4"> <code>$element['href']</code> <code>$element['href']</code> <code>$element['href']</code> <code>$element['readOnly']</code> </InvalidArrayOffset> </file> <file src="apps/dav/lib/DAV/SystemPrincipalBackend.php"> <InvalidNullableReturnType occurrences="1"> <code>array</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($principal)</code> </UndefinedFunction> </file> <file src="apps/dav/lib/Direct/Server.php"> <UndefinedThisPropertyAssignment occurrences="1"> <code>$this->enablePropfindDepthInfinityf</code> </UndefinedThisPropertyAssignment> </file> <file src="apps/dav/lib/Files/BrowserErrorPagePlugin.php"> <InvalidScalarArgument occurrences="1"> <code>$body</code> </InvalidScalarArgument> </file> <file src="apps/dav/lib/Files/FileSearchBackend.php"> <InvalidArgument occurrences="2"> <code>$argument</code> <code>$operator->arguments</code> </InvalidArgument> <InvalidReturnStatement occurrences="1"> <code>$value</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>?string</code> </InvalidReturnType> <ParamNameMismatch occurrences="1"> <code>$search</code> </ParamNameMismatch> <UndefinedDocblockClass occurrences="1"> <code>$operator->arguments[0]->name</code> </UndefinedDocblockClass> <UndefinedPropertyFetch occurrences="1"> <code>$operator->arguments[0]->name</code> </UndefinedPropertyFetch> </file> <file src="apps/dav/lib/Files/FilesHome.php"> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($this->principalInfo['uri'])</code> </UndefinedFunction> </file> <file src="apps/dav/lib/Files/LazySearchBackend.php"> <InvalidReturnStatement occurrences="1"> <code>$this->backend->getArbiterPath()</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>isValidScope</code> </InvalidReturnType> </file> <file src="apps/dav/lib/Files/RootCollection.php"> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($principalInfo['uri'])</code> </UndefinedFunction> </file> <file src="apps/dav/lib/HookManager.php"> <InvalidPropertyAssignmentValue occurrences="2"> <code>$this->usersToDelete</code> <code>$this->usersToDelete</code> </InvalidPropertyAssignmentValue> </file> <file src="apps/dav/lib/Listener/CalendarDeletionDefaultUpdaterListener.php"> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($principalUri)</code> </UndefinedFunction> </file> <file src="apps/dav/lib/Migration/BuildCalendarSearchIndexBackgroundJob.php"> <ParamNameMismatch occurrences="1"> <code>$arguments</code> </ParamNameMismatch> </file> <file src="apps/dav/lib/Migration/BuildSocialSearchIndexBackgroundJob.php"> <ParamNameMismatch occurrences="1"> <code>$arguments</code> </ParamNameMismatch> </file> <file src="apps/dav/lib/RootCollection.php"> <UndefinedPropertyAssignment occurrences="1"> <code>$publicCalendarRoot->disableListing</code> </UndefinedPropertyAssignment> </file> <file src="apps/dav/lib/Search/EventsSearchProvider.php"> <FalsableReturnStatement occurrences="1"> <code>$this->l10n->l('date', $startDateTime, ['width' => 'medium'])</code> </FalsableReturnStatement> <InvalidPropertyAssignmentValue occurrences="1"/> <InvalidReturnStatement occurrences="1"> <code>$this->l10n->l('date', $startDateTime, ['width' => 'medium'])</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> <UndefinedMethod occurrences="5"> <code>getDateTime</code> <code>getDateTime</code> <code>hasTime</code> <code>isFloating</code> <code>isFloating</code> </UndefinedMethod> </file> <file src="apps/dav/lib/Search/TasksSearchProvider.php"> <UndefinedMethod occurrences="3"> <code>getDateTime</code> <code>getDateTime</code> <code>hasTime</code> </UndefinedMethod> </file> <file src="apps/dav/lib/Server.php"> <InvalidArgument occurrences="2"> <code>'OCA\DAV\Connector\Sabre::addPlugin'</code> <code>'OCA\DAV\Connector\Sabre::authInit'</code> </InvalidArgument> <TooManyArguments occurrences="2"> <code>dispatch</code> <code>dispatch</code> </TooManyArguments> <UndefinedPropertyAssignment occurrences="1"> <code>$acl->defaultUsernamePath</code> </UndefinedPropertyAssignment> </file> <file src="apps/dav/lib/SystemTag/SystemTagsByIdCollection.php"> <InvalidNullableReturnType occurrences="1"> <code>int</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> </file> <file src="apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php"> <InvalidNullableReturnType occurrences="1"> <code>int</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> <ParamNameMismatch occurrences="2"> <code>$tagId</code> <code>$tagName</code> </ParamNameMismatch> </file> <file src="apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php"> <InvalidNullableReturnType occurrences="1"> <code>int</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> <ParamNameMismatch occurrences="1"> <code>$objectName</code> </ParamNameMismatch> </file> <file src="apps/dav/lib/SystemTag/SystemTagsRelationsCollection.php"> <InvalidArgument occurrences="1"> <code>SystemTagsEntityEvent::EVENT_ENTITY</code> </InvalidArgument> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="apps/dav/lib/Traits/PrincipalProxyTrait.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$members</code> </MoreSpecificImplementedParamType> <UndefinedFunction occurrences="9"> <code>\Sabre\Uri\split($member)</code> <code>\Sabre\Uri\split($principal)</code> <code>\Sabre\Uri\split($principal)</code> <code>\Sabre\Uri\split($principalUri)</code> <code>\Sabre\Uri\split($principalUri)</code> <code>\Sabre\Uri\split($principalUri)</code> <code>\Sabre\Uri\split($principalUri)</code> <code>\Sabre\Uri\split($principalUri)</code> <code>\Sabre\Uri\split($realPrincipalUri)</code> </UndefinedFunction> </file> <file src="apps/dav/lib/Upload/AssemblyStream.php"> <FalsableReturnStatement occurrences="1"> <code>false</code> </FalsableReturnStatement> <InvalidPropertyAssignmentValue occurrences="1"> <code>$this->currentStream</code> </InvalidPropertyAssignmentValue> <InvalidReturnStatement occurrences="1"> <code>$context</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>array</code> </InvalidReturnType> <NullArgument occurrences="1"> <code>null</code> </NullArgument> </file> <file src="apps/dav/lib/Upload/UploadHome.php"> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($this->principalInfo['uri'])</code> </UndefinedFunction> </file> <file src="apps/encryption/lib/Command/ScanLegacyFormat.php"> <InvalidOperand occurrences="1"> <code>$this->scanFolder($output, '/' . $user)</code> </InvalidOperand> </file> <file src="apps/encryption/lib/Crypto/Crypt.php"> <RedundantCondition occurrences="1"> <code>$userSession</code> </RedundantCondition> <TypeDoesNotContainType occurrences="2"> <code>get_class($res) === 'OpenSSLAsymmetricKey'</code> <code>is_object($res)</code> </TypeDoesNotContainType> </file> <file src="apps/encryption/lib/Crypto/EncryptAll.php"> <UndefinedInterfaceMethod occurrences="3"> <code>setHtmlBody</code> <code>setPlainBody</code> <code>setSubject</code> </UndefinedInterfaceMethod> </file> <file src="apps/encryption/lib/Crypto/Encryption.php"> <FalsableReturnStatement occurrences="1"> <code>$result</code> </FalsableReturnStatement> <ImplementedParamTypeMismatch occurrences="2"> <code>$position</code> <code>$position</code> </ImplementedParamTypeMismatch> <InvalidNullableReturnType occurrences="1"> <code>boolean</code> </InvalidNullableReturnType> </file> <file src="apps/encryption/lib/KeyManager.php"> <InvalidScalarArgument occurrences="3"> <code>time()</code> <code>time()</code> <code>time()</code> </InvalidScalarArgument> <InvalidThrow occurrences="1"> <code>throw $exception;</code> </InvalidThrow> <RedundantCondition occurrences="1"> <code>$userSession</code> </RedundantCondition> </file> <file src="apps/encryption/lib/Recovery.php"> <InvalidScalarArgument occurrences="3"> <code>0</code> <code>0</code> <code>1</code> </InvalidScalarArgument> <RedundantCondition occurrences="1"> <code>$userSession</code> </RedundantCondition> </file> <file src="apps/encryption/lib/Session.php"> <TooManyArguments occurrences="1"> <code>new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0)</code> </TooManyArguments> </file> <file src="apps/encryption/lib/Util.php"> <RedundantCondition occurrences="1"> <code>$userSession</code> </RedundantCondition> </file> <file src="apps/federatedfilesharing/lib/Controller/RequestHandlerController.php"> <InvalidScalarArgument occurrences="7"> <code>$id</code> <code>$id</code> <code>$id</code> <code>$id</code> <code>$id</code> <code>$id</code> <code>$remoteId</code> </InvalidScalarArgument> <TypeDoesNotContainNull occurrences="3"> <code>$permission === null</code> <code>$remoteId === null</code> </TypeDoesNotContainNull> </file> <file src="apps/federatedfilesharing/lib/FederatedShareProvider.php"> <InvalidScalarArgument occurrences="5"> <code>$shareId</code> <code>$shareId</code> <code>$shareId</code> <code>$shareId</code> <code>(int)$data['id']</code> </InvalidScalarArgument> </file> <file src="apps/federatedfilesharing/lib/Notifications.php"> <InvalidReturnType occurrences="3"> <code>bool</code> <code>bool</code> <code>bool</code> </InvalidReturnType> </file> <file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php"> <InvalidReturnStatement occurrences="1"> <code>$shareId</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> <InvalidScalarArgument occurrences="5"> <code>$id</code> <code>$id</code> <code>$id</code> <code>$id</code> <code>(int)$share['id']</code> </InvalidScalarArgument> </file> <file src="apps/federatedfilesharing/lib/Settings/Personal.php"> <InvalidNullableReturnType occurrences="1"> <code>string</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> </file> <file src="apps/federation/lib/TrustedServers.php"> <InvalidArgument occurrences="1"> <code>'OCP\Federation\TrustedServerEvent::remove'</code> </InvalidArgument> <InvalidClass occurrences="1"> <code>dbHandler</code> </InvalidClass> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="apps/files/ajax/download.php"> <InvalidArgument occurrences="1"> <code>$files_list</code> </InvalidArgument> </file> <file src="apps/files/ajax/list.php"> <TypeDoesNotContainType occurrences="1"> <code>!$dirInfo->getType() === 'dir'</code> </TypeDoesNotContainType> </file> <file src="apps/files/appinfo/routes.php"> <InvalidScope occurrences="2"> <code>$this</code> <code>$this</code> </InvalidScope> </file> <file src="apps/files/lib/Activity/Provider.php"> <FalsableReturnStatement occurrences="1"> <code>$this->fileEncrypted[$fileId]</code> </FalsableReturnStatement> <InvalidScalarArgument occurrences="1"> <code>$id</code> </InvalidScalarArgument> <TypeDoesNotContainType occurrences="7"> <code>$this->fileIsEncrypted</code> <code>$this->fileIsEncrypted</code> <code>$this->fileIsEncrypted</code> <code>$this->fileIsEncrypted</code> <code>$this->fileIsEncrypted</code> <code>$this->fileIsEncrypted</code> <code>$this->fileIsEncrypted</code> </TypeDoesNotContainType> </file> <file src="apps/files/lib/App.php"> <InvalidScalarArgument occurrences="1"> <code>10 * 1024 * 1024</code> </InvalidScalarArgument> </file> <file src="apps/files/lib/Command/Scan.php"> <NullArgument occurrences="1"> <code>null</code> </NullArgument> </file> <file src="apps/files/lib/Command/ScanAppData.php"> <NullArgument occurrences="2"> <code>null</code> <code>null</code> </NullArgument> </file> <file src="apps/files/lib/Command/TransferOwnership.php"> <InvalidReturnStatement occurrences="1"> <code>$e->getCode() !== 0 ? $e->getCode() : 1</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>int</code> </InvalidReturnType> </file> <file src="apps/files/lib/Controller/DirectEditingController.php"> <InvalidArgument occurrences="1"> <code>$templateId</code> </InvalidArgument> <UndefinedInterfaceMethod occurrences="2"> <code>getTemplates</code> <code>open</code> </UndefinedInterfaceMethod> </file> <file src="apps/files/lib/Controller/ViewController.php"> <InvalidScalarArgument occurrences="1"> <code>$fileId</code> </InvalidScalarArgument> <UndefinedInterfaceMethod occurrences="3"> <code>getById</code> <code>getRelativePath</code> <code>getRelativePath</code> </UndefinedInterfaceMethod> </file> <file src="apps/files/lib/Helper.php"> <UndefinedInterfaceMethod occurrences="13"> <code>$file</code> <code>$i</code> <code>$i</code> <code>$i</code> <code>$i</code> <code>$i</code> <code>$i</code> <code>$i</code> <code>$i</code> <code>$i</code> <code>$i</code> <code>$i</code> <code>$i</code> </UndefinedInterfaceMethod> </file> <file src="apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php"> <InvalidArgument occurrences="1"> <code>$legacyEvent</code> </InvalidArgument> </file> <file src="apps/files/lib/Service/DirectEditingService.php"> <UndefinedInterfaceMethod occurrences="1"> <code>getEditors</code> </UndefinedInterfaceMethod> </file> <file src="apps/files/lib/Service/OwnershipTransferService.php"> <InvalidIterator occurrences="1"> <code>$encryptedFiles</code> </InvalidIterator> <TypeDoesNotContainType occurrences="1"> <code>empty($encryptedFiles)</code> </TypeDoesNotContainType> <UndefinedInterfaceMethod occurrences="1"> <code>isReadyForUser</code> </UndefinedInterfaceMethod> </file> <file src="apps/files/lib/Service/TagService.php"> <InvalidArgument occurrences="1"> <code>self::class . '::' . $eventName</code> </InvalidArgument> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="apps/files_external/appinfo/routes.php"> <InvalidScope occurrences="1"> <code>$this</code> </InvalidScope> </file> <file src="apps/files_external/lib/Command/Applicable.php"> <InvalidArgument occurrences="1"> <code>$mountId</code> </InvalidArgument> </file> <file src="apps/files_external/lib/Command/Config.php"> <InvalidArgument occurrences="1"> <code>$mountId</code> </InvalidArgument> </file> <file src="apps/files_external/lib/Command/Delete.php"> <InvalidArgument occurrences="2"> <code>$mountId</code> <code>$mountId</code> </InvalidArgument> <NullArgument occurrences="1"> <code>null</code> </NullArgument> </file> <file src="apps/files_external/lib/Command/Notify.php"> <InvalidArgument occurrences="2"> <code>$input->getArgument('mount_id')</code> <code>$storage</code> </InvalidArgument> <InvalidReturnStatement occurrences="1"/> <InvalidReturnType occurrences="1"> <code>int</code> </InvalidReturnType> <InvalidScalarArgument occurrences="1"> <code>\OC_Util::normalizeUnicode($parent)</code> </InvalidScalarArgument> <UndefinedInterfaceMethod occurrences="1"> <code>isConnected</code> </UndefinedInterfaceMethod> </file> <file src="apps/files_external/lib/Command/Verify.php"> <InvalidArgument occurrences="1"> <code>$mountId</code> </InvalidArgument> <InvalidScalarArgument occurrences="2"> <code>$e->getCode()</code> <code>$status</code> </InvalidScalarArgument> </file> <file src="apps/files_external/lib/Config/ConfigAdapter.php"> <UndefinedClass occurrences="1"> <code>new $objectClass($objectStore)</code> </UndefinedClass> </file> <file src="apps/files_external/lib/Controller/StoragesController.php"> <InvalidScalarArgument occurrences="4"> <code>$e->getCode()</code> <code>$status</code> <code>$this->service->getVisibilityType()</code> <code>$this->service->getVisibilityType()</code> </InvalidScalarArgument> </file> <file src="apps/files_external/lib/Controller/UserGlobalStoragesController.php"> <UndefinedMethod occurrences="1"> <code>getUniqueStorages</code> </UndefinedMethod> </file> <file src="apps/files_external/lib/Lib/Backend/Backend.php"> <InvalidReturnType occurrences="1"> <code>self</code> </InvalidReturnType> </file> <file src="apps/files_external/lib/Lib/DefinitionParameter.php"> <InvalidReturnStatement occurrences="1"/> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> </file> <file src="apps/files_external/lib/Lib/FrontendDefinitionTrait.php"> <UndefinedClass occurrences="2"> <code>FrontendDefinitionTrait</code> <code>FrontendDefinitionTrait</code> </UndefinedClass> </file> <file src="apps/files_external/lib/Lib/IdentifierTrait.php"> <UndefinedDocblockClass occurrences="2"> <code>$this->deprecateTo</code> <code>IdentifierTrait</code> </UndefinedDocblockClass> </file> <file src="apps/files_external/lib/Lib/LegacyDependencyCheckPolyfill.php"> <TooManyArguments occurrences="1"> <code>new MissingDependency($module, $this)</code> </TooManyArguments> </file> <file src="apps/files_external/lib/Lib/PriorityTrait.php"> <UndefinedClass occurrences="2"> <code>PriorityTrait</code> <code>PriorityTrait</code> </UndefinedClass> </file> <file src="apps/files_external/lib/Lib/Storage/AmazonS3.php"> <UndefinedMagicMethod occurrences="1"> <code>clearBucket</code> </UndefinedMagicMethod> </file> <file src="apps/files_external/lib/Lib/Storage/SFTP.php"> <InternalMethod occurrences="1"> <code>put</code> </InternalMethod> <ParamNameMismatch occurrences="2"> <code>$source</code> <code>$target</code> </ParamNameMismatch> </file> <file src="apps/files_external/lib/Lib/Storage/SFTPReadStream.php"> <InvalidArgument occurrences="2"> <code>$this->handle</code> <code>$this->handle</code> </InvalidArgument> <InvalidNullableReturnType occurrences="1"> <code>stream_close</code> </InvalidNullableReturnType> <InvalidPropertyAssignmentValue occurrences="1"> <code>substr($response, 4)</code> </InvalidPropertyAssignmentValue> <InvalidReturnStatement occurrences="1"> <code>$context</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>array</code> </InvalidReturnType> </file> <file src="apps/files_external/lib/Lib/Storage/SFTPWriteStream.php"> <InvalidArgument occurrences="2"> <code>$this->handle</code> <code>$this->handle</code> </InvalidArgument> <InvalidNullableReturnType occurrences="1"> <code>stream_close</code> </InvalidNullableReturnType> <InvalidPropertyAssignmentValue occurrences="1"> <code>substr($response, 4)</code> </InvalidPropertyAssignmentValue> <InvalidReturnStatement occurrences="1"> <code>$context</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>array</code> </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> <code>$e->getCode()</code> <code>$e->getCode()</code> <code>$e->getCode()</code> <code>$e->getCode()</code> <code>$e->getCode()</code> </InvalidScalarArgument> <ParamNameMismatch occurrences="2"> <code>$source</code> <code>$target</code> </ParamNameMismatch> <TooManyArguments occurrences="2"> <code>rename</code> <code>rename</code> </TooManyArguments> </file> <file src="apps/files_external/lib/Lib/Storage/Swift.php"> <InvalidArgument occurrences="1"> <code>$object->lastModified</code> </InvalidArgument> <InvalidNullableReturnType occurrences="2"> <code>filetype</code> <code>fopen</code> </InvalidNullableReturnType> </file> <file src="apps/files_external/lib/Migration/DummyUserSession.php"> <InvalidReturnType occurrences="1"> <code>login</code> </InvalidReturnType> </file> <file src="apps/files_external/lib/MountConfig.php"> <InternalMethod occurrences="4"> <code>decrypt</code> <code>encrypt</code> <code>setIV</code> <code>setIV</code> </InternalMethod> <InvalidNullableReturnType occurrences="1"> <code>string</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>$message</code> </NullableReturnStatement> <TooManyArguments occurrences="1"> <code>test</code> </TooManyArguments> </file> <file src="apps/files_external/lib/Service/BackendService.php"> <InvalidArgument occurrences="1"> <code>'OCA\\Files_External::loadAdditionalBackends'</code> </InvalidArgument> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="apps/files_external/lib/Service/DBConfigService.php"> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> </file> <file src="apps/files_external/lib/Service/GlobalStoragesService.php"> <InvalidReturnStatement occurrences="1"> <code>BackendService::VISIBILITY_ADMIN</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> </file> <file src="apps/files_external/lib/Service/LegacyStoragesService.php"> <InvalidScalarArgument occurrences="1"> <code>$configId</code> </InvalidScalarArgument> </file> <file src="apps/files_external/lib/Service/StoragesService.php"> <InvalidScalarArgument occurrences="2"> <code>$this->getVisibilityType()</code> <code>$this->getVisibilityType()</code> </InvalidScalarArgument> <UndefinedInterfaceMethod occurrences="1"> <code>getStorageCache</code> </UndefinedInterfaceMethod> </file> <file src="apps/files_external/lib/Service/UserStoragesService.php"> <InvalidReturnStatement occurrences="1"> <code>BackendService::VISIBILITY_PERSONAL</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> </file> <file src="apps/files_external/templates/settings.php"> <UndefinedVariable occurrences="1"> <code>$_</code> </UndefinedVariable> </file> <file src="apps/files_sharing/lib/Cache.php"> <FalsableReturnStatement occurrences="1"> <code>false</code> </FalsableReturnStatement> <NullArgument occurrences="1"> <code>null</code> </NullArgument> </file> <file src="apps/files_sharing/lib/Capabilities.php"> <InvalidScalarArgument occurrences="1"> <code>Constants::PERMISSION_ALL</code> </InvalidScalarArgument> </file> <file src="apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php"> <UndefinedInterfaceMethod occurrences="1"> <code>getUserFolder</code> </UndefinedInterfaceMethod> </file> <file src="apps/files_sharing/lib/Controller/ShareAPIController.php"> <InvalidScalarArgument occurrences="3"> <code>$code</code> <code>$code</code> <code>Constants::PERMISSION_ALL</code> </InvalidScalarArgument> <UndefinedClass occurrences="2"> <code>\OCA\Circles\Api\v1\Circles</code> <code>\OCA\Circles\Api\v1\Circles</code> </UndefinedClass> <UndefinedDocblockClass occurrences="4"> <code>$this->getRoomShareHelper()</code> <code>$this->getRoomShareHelper()</code> <code>$this->getRoomShareHelper()</code> <code>\OCA\Talk\Share\Helper\ShareAPIController</code> </UndefinedDocblockClass> </file> <file src="apps/files_sharing/lib/Controller/ShareController.php"> <InvalidArgument occurrences="1"> <code>$files_list</code> </InvalidArgument> <InvalidScalarArgument occurrences="3"> <code>$freeSpace</code> <code>$maxUploadFilesize</code> <code>$maxUploadFilesize</code> </InvalidScalarArgument> <NullArgument occurrences="1"> <code>null</code> </NullArgument> </file> <file src="apps/files_sharing/lib/Controller/ShareInfoController.php"> <NullArgument occurrences="1"> <code>$password</code> </NullArgument> </file> <file src="apps/files_sharing/lib/External/Cache.php"> <ParamNameMismatch occurrences="1"> <code>$id</code> </ParamNameMismatch> </file> <file src="apps/files_sharing/lib/External/Manager.php"> <InvalidScalarArgument occurrences="1"> <code>(int) $remoteShare</code> </InvalidScalarArgument> </file> <file src="apps/files_sharing/lib/External/Mount.php"> <InvalidDocblock occurrences="1"> <code>public function removeMount() {</code> </InvalidDocblock> </file> <file src="apps/files_sharing/lib/External/Scanner.php"> <InvalidScalarArgument occurrences="1"> <code>$recursive</code> </InvalidScalarArgument> <MoreSpecificImplementedParamType occurrences="1"> <code>$cacheData</code> </MoreSpecificImplementedParamType> </file> <file src="apps/files_sharing/lib/External/Storage.php"> <InvalidReturnStatement occurrences="1"> <code>$this->getPermissions($path) & Constants::PERMISSION_SHARE</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>isSharable</code> </InvalidReturnType> </file> <file src="apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php"> <InvalidArgument occurrences="1"> <code>$legacyEvent</code> </InvalidArgument> </file> <file src="apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php"> <InvalidArgument occurrences="1"> <code>$exception->getMessage()</code> </InvalidArgument> </file> <file src="apps/files_sharing/lib/ShareBackend/File.php"> <InvalidScalarArgument occurrences="2"> <code>$itemSource</code> <code>$itemSource</code> </InvalidScalarArgument> <MoreSpecificImplementedParamType occurrences="1"> <code>$shareWith</code> </MoreSpecificImplementedParamType> </file> <file src="apps/files_sharing/lib/ShareBackend/Folder.php"> <UndefinedInterfaceMethod occurrences="1"> <code>fetchRow</code> </UndefinedInterfaceMethod> </file> <file src="apps/files_sharing/lib/SharedMount.php"> <InvalidReturnType occurrences="1"> <code>bool</code> </InvalidReturnType> </file> <file src="apps/files_sharing/lib/SharedStorage.php"> <FalsableReturnStatement occurrences="1"> <code>$this->sourceRootInfo</code> </FalsableReturnStatement> <InvalidNullableReturnType occurrences="1"> <code>ICacheEntry</code> </InvalidNullableReturnType> <InvalidReturnStatement occurrences="1"> <code>new FailedCache()</code> </InvalidReturnStatement> <NullableReturnStatement occurrences="1"> <code>$this->sourceRootInfo</code> </NullableReturnStatement> <ParamNameMismatch occurrences="2"> <code>$available</code> <code>$target</code> </ParamNameMismatch> <UndefinedThisPropertyAssignment occurrences="1"> <code>$this->mountOptions</code> </UndefinedThisPropertyAssignment> </file> <file src="apps/files_sharing/lib/Updater.php"> <UndefinedMethod occurrences="1"> <code>moveMount</code> </UndefinedMethod> </file> <file src="apps/files_sharing/list.php"> <InvalidArgument occurrences="1"> <code>'\OCP\Collaboration\Resources::loadAdditionalScripts'</code> </InvalidArgument> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="apps/files_trashbin/lib/Hooks.php"> <InvalidScalarArgument occurrences="1"> <code>$user</code> </InvalidScalarArgument> </file> <file src="apps/files_trashbin/lib/Sabre/AbstractTrash.php"> <InvalidNullableReturnType occurrences="1"> <code>int</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>$this->data->getId()</code> </NullableReturnStatement> </file> <file src="apps/files_trashbin/lib/Sabre/AbstractTrashFolder.php"> <InvalidReturnStatement occurrences="1"> <code>$entry</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>ITrash</code> </InvalidReturnType> </file> <file src="apps/files_trashbin/lib/Sabre/RestoreFolder.php"> <InvalidNullableReturnType occurrences="1"> <code>getChild</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> </file> <file src="apps/files_trashbin/lib/Sabre/RootCollection.php"> <MismatchingDocblockReturnType occurrences="1"> <code>INode</code> </MismatchingDocblockReturnType> </file> <file src="apps/files_trashbin/lib/Sabre/TrashHome.php"> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($this->principalInfo['uri'])</code> </UndefinedFunction> </file> <file src="apps/files_trashbin/lib/Sabre/TrashRoot.php"> <InvalidReturnStatement occurrences="1"> <code>$entry</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>ITrash</code> </InvalidReturnType> </file> <file src="apps/files_trashbin/lib/Storage.php"> <InvalidArgument occurrences="1"> <code>'OCA\Files_Trashbin::moveToTrash'</code> </InvalidArgument> <InvalidOperand occurrences="1"> <code>$this->mountPoint</code> </InvalidOperand> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="apps/files_trashbin/lib/Trash/LegacyTrashBackend.php"> <ParadoxicalCondition occurrences="1"> <code>null</code> </ParadoxicalCondition> <RedundantCondition occurrences="1"> <code>$trashFiles</code> </RedundantCondition> <UndefinedInterfaceMethod occurrences="2"> <code>$file</code> <code>getById</code> </UndefinedInterfaceMethod> </file> <file src="apps/files_trashbin/lib/Trashbin.php"> <FalsableReturnStatement occurrences="1"> <code>false</code> </FalsableReturnStatement> <InvalidScalarArgument occurrences="5"> <code>$timestamp</code> <code>$timestamp</code> <code>$uid</code> <code>$user</code> <code>$user</code> </InvalidScalarArgument> </file> <file src="apps/files_versions/appinfo/routes.php"> <InvalidScope occurrences="2"> <code>$this</code> <code>$this</code> </InvalidScope> </file> <file src="apps/files_versions/lib/Sabre/RestoreFolder.php"> <InvalidNullableReturnType occurrences="1"> <code>getChild</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> </file> <file src="apps/files_versions/lib/Sabre/RootCollection.php"> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($principalInfo['uri'])</code> </UndefinedFunction> </file> <file src="apps/files_versions/lib/Sabre/VersionHome.php"> <InvalidNullableReturnType occurrences="1"> <code>getChild</code> </InvalidNullableReturnType> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($this->principalInfo['uri'])</code> </UndefinedFunction> </file> <file src="apps/files_versions/lib/Storage.php"> <InvalidScalarArgument occurrences="2"> <code>$timestamp</code> <code>$uid</code> </InvalidScalarArgument> </file> <file src="apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php"> <InvalidScalarArgument occurrences="1"> <code>$this->retries + 1</code> </InvalidScalarArgument> </file> <file src="apps/oauth2/lib/Controller/OauthApiController.php"> <NoInterfaceProperties occurrences="1"> <code>$this->request->server</code> </NoInterfaceProperties> </file> <file src="apps/oauth2/lib/Db/AccessTokenMapper.php"> <InvalidCatch occurrences="1"/> </file> <file src="apps/oauth2/lib/Db/ClientMapper.php"> <InvalidCatch occurrences="2"/> </file> <file src="apps/provisioning_api/lib/Controller/UsersController.php"> <InvalidScalarArgument occurrences="1"> <code>$quota</code> </InvalidScalarArgument> <TypeDoesNotContainNull occurrences="2"> <code>$groupid === null</code> <code>$groupid === null</code> </TypeDoesNotContainNull> </file> <file src="apps/settings/lib/AppInfo/Application.php"> <InvalidScalarArgument occurrences="1"> <code>\OC_User::getUser()</code> </InvalidScalarArgument> <UndefinedInterfaceMethod occurrences="1"> <code>getSettingsManager</code> </UndefinedInterfaceMethod> </file> <file src="apps/settings/lib/Controller/AppSettingsController.php"> <UndefinedInterfaceMethod occurrences="1"> <code>ignoreNextcloudRequirementForApp</code> </UndefinedInterfaceMethod> </file> <file src="apps/settings/lib/Controller/CheckSetupController.php"> <InvalidArgument occurrences="3"> <code>IDBConnection::CHECK_MISSING_COLUMNS_EVENT</code> <code>IDBConnection::CHECK_MISSING_INDEXES_EVENT</code> <code>IDBConnection::CHECK_MISSING_PRIMARY_KEYS_EVENT</code> </InvalidArgument> <InvalidOperand occurrences="1"> <code>$lastCronRun</code> </InvalidOperand> <InvalidScalarArgument occurrences="2"> <code>$lastCronRun</code> <code>0</code> </InvalidScalarArgument> <TooManyArguments occurrences="3"> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> </TooManyArguments> </file> <file src="apps/settings/lib/Hooks.php"> <InvalidArrayOffset occurrences="1"> <code>[$user->getEMailAddress() => $user->getDisplayName()]</code> </InvalidArrayOffset> </file> <file src="apps/settings/lib/Settings/Admin/Security.php"> <UndefinedInterfaceMethod occurrences="1"> <code>isReady</code> </UndefinedInterfaceMethod> </file> <file src="apps/settings/lib/Settings/Admin/Sharing.php"> <InvalidScalarArgument occurrences="1"> <code>Constants::PERMISSION_ALL</code> </InvalidScalarArgument> <NullArgument occurrences="1"> <code>null</code> </NullArgument> </file> <file src="apps/settings/lib/Settings/Personal/PersonalInfo.php"> <InvalidScalarArgument occurrences="1"> <code>$uid</code> </InvalidScalarArgument> </file> <file src="apps/sharebymail/lib/ShareByMailProvider.php"> <InvalidScalarArgument occurrences="4"> <code>$share->getId()</code> <code>$shareId</code> <code>$shareId</code> <code>(int)$data['id']</code> </InvalidScalarArgument> </file> <file src="apps/systemtags/lib/Activity/Listener.php"> <InvalidScalarArgument occurrences="2"> <code>$event->getObjectId()</code> <code>$event->getObjectId()</code> </InvalidScalarArgument> </file> <file src="apps/testing/lib/Controller/LockingController.php"> <InvalidScalarArgument occurrences="5"> <code>$this->config->getAppValue('testing', $lock)</code> <code>$this->config->getAppValue('testing', $lock)</code> <code>$this->config->getAppValue('testing', $lock)</code> <code>$type</code> <code>$type</code> </InvalidScalarArgument> </file> <file src="apps/theming/lib/Controller/IconController.php"> <InvalidReturnStatement occurrences="1"> <code>$response</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>FileDisplayResponse|NotFoundResponse</code> </InvalidReturnType> <RedundantCondition occurrences="3"> <code>$iconFile !== false</code> <code>$iconFile !== false</code> <code>$iconFile !== false</code> </RedundantCondition> </file> <file src="apps/theming/lib/ImageManager.php"> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> </file> <file src="apps/theming/lib/ThemingDefaults.php"> <InvalidReturnStatement occurrences="1"> <code>\OCP\Util::sanitizeHTML($this->config->getAppValue('theming', 'slogan', parent::getSlogan($lang)))</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>getSlogan</code> </InvalidReturnType> <InvalidScalarArgument occurrences="1"> <code>(int)$cacheBusterKey + 1</code> </InvalidScalarArgument> </file> <file src="apps/theming/lib/Util.php"> <InvalidReturnStatement occurrences="1"> <code>0</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>int[]</code> </InvalidReturnType> <RedundantCondition occurrences="1"> <code>$folder !== null</code> </RedundantCondition> </file> <file src="apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php"> <InvalidArgument occurrences="1"> <code>bool</code> </InvalidArgument> </file> <file src="apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php"> <InvalidArgument occurrences="1"> <code>bool</code> </InvalidArgument> </file> <file src="apps/updatenotification/lib/Controller/AdminController.php"> <InvalidScalarArgument occurrences="2"> <code>$this->timeFactory->getTime()</code> <code>0</code> </InvalidScalarArgument> </file> <file src="apps/updatenotification/lib/Notification/BackgroundJob.php"> <InvalidPropertyAssignmentValue occurrences="1"> <code>$this->users</code> </InvalidPropertyAssignmentValue> <InvalidScalarArgument occurrences="3"> <code>$errors</code> <code>0</code> <code>0</code> </InvalidScalarArgument> </file> <file src="apps/updatenotification/lib/Notification/Notifier.php"> <InvalidScalarArgument occurrences="1"> <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> </InvalidScalarArgument> </file> <file src="apps/user_ldap/ajax/getNewServerConfigPrefix.php"> <InvalidScalarArgument occurrences="1"> <code>$ln + 1</code> </InvalidScalarArgument> </file> <file src="apps/user_ldap/appinfo/routes.php"> <InvalidScope occurrences="1"> <code>$this</code> </InvalidScope> </file> <file src="apps/user_ldap/lib/Access.php"> <FalsableReturnStatement occurrences="1"> <code>$this->countUsers($filter)</code> </FalsableReturnStatement> <InvalidArgument occurrences="1"> <code>$record</code> </InvalidArgument> <InvalidArrayOffset occurrences="1"> <code>[$attr => $result['values']]</code> </InvalidArrayOffset> <InvalidReturnStatement occurrences="2"> <code>$uuid</code> <code>$values</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string[]</code> </InvalidReturnType> <InvalidScalarArgument occurrences="3"> <code>$e->getCode()</code> <code>$key</code> <code>$key</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="2"> <code>!$attribute === null</code> <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"> <code>'OCA\\User_LDAP\\User\\User::postLDAPBackendAdded'</code> </InvalidArgument> <TooManyArguments occurrences="1"> <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"> <InvalidArgument occurrences="1"> <code>$this->cachedGroupsByMember[$uid]</code> </InvalidArgument> <InvalidPropertyAssignmentValue occurrences="5"> <code>$this->cachedGroupsByMember</code> <code>$this->cachedNestedGroups</code> <code>new CappedMemoryCache()</code> <code>new CappedMemoryCache()</code> <code>new CappedMemoryCache()</code> </InvalidPropertyAssignmentValue> <InvalidReturnStatement occurrences="1"> <code>$groupName</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>bool</code> </InvalidReturnType> <InvalidScalarArgument occurrences="2"> <code>$groupID</code> <code>$groupID</code> </InvalidScalarArgument> <RedundantCondition occurrences="2"> <code>is_array($groupDNs)</code> <code>is_array($list)</code> </RedundantCondition> </file> <file src="apps/user_ldap/lib/Group_Proxy.php"> <ParamNameMismatch occurrences="1"> <code>$gid</code> </ParamNameMismatch> </file> <file src="apps/user_ldap/lib/Helper.php"> <InvalidScalarArgument occurrences="1"> <code>$lastNumber + 1</code> </InvalidScalarArgument> </file> <file src="apps/user_ldap/lib/ILDAPWrapper.php"> <UndefinedDocblockClass occurrences="1"> <code>Resource</code> </UndefinedDocblockClass> </file> <file src="apps/user_ldap/lib/Jobs/CleanUp.php"> <InvalidScalarArgument occurrences="3"> <code>$newOffset</code> <code>0</code> <code>50</code> </InvalidScalarArgument> </file> <file src="apps/user_ldap/lib/Jobs/Sync.php"> <InvalidOperand occurrences="2"> <code>$i</code> <code>$lastChange</code> </InvalidOperand> <InvalidScalarArgument occurrences="5"> <code>$interval</code> <code>0</code> <code>0</code> <code>self::MIN_INTERVAL</code> </InvalidScalarArgument> <MoreSpecificImplementedParamType occurrences="1"> <code>$argument</code> </MoreSpecificImplementedParamType> <NullArgument occurrences="1"> <code>null</code> </NullArgument> </file> <file src="apps/user_ldap/lib/Jobs/UpdateGroups.php"> <InvalidReturnStatement occurrences="1"> <code>\OC::$server->getConfig()->getAppValue('user_ldap', 'bgjRefreshInterval', 3600)</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>int</code> </InvalidReturnType> <InvalidScalarArgument occurrences="1"> <code>3600</code> </InvalidScalarArgument> </file> <file src="apps/user_ldap/lib/LDAP.php"> <ImplementedParamTypeMismatch occurrences="22"> <code>$baseDN</code> <code>$baseDN</code> <code>$link</code> <code>$link</code> <code>$link</code> <code>$link</code> <code>$link</code> <code>$link</code> <code>$link</code> <code>$link</code> <code>$link</code> <code>$link</code> <code>$link</code> <code>$link</code> <code>$link</code> <code>$link</code> <code>$resource</code> <code>$result</code> <code>$result</code> <code>$result</code> <code>$result</code> <code>$result</code> </ImplementedParamTypeMismatch> <InvalidArgument occurrences="1"> <code>$baseDN</code> </InvalidArgument> <LessSpecificImplementedReturnType occurrences="13"> <code>array|mixed</code> <code>array|mixed</code> <code>bool|mixed</code> <code>bool|mixed</code> <code>bool|mixed</code> <code>mixed</code> <code>mixed</code> <code>mixed</code> <code>mixed</code> <code>mixed</code> <code>mixed|string</code> <code>mixed|true</code> <code>mixed|true</code> </LessSpecificImplementedReturnType> <UndefinedDocblockClass occurrences="1"> <code>Resource</code> </UndefinedDocblockClass> </file> <file src="apps/user_ldap/lib/LogWrapper.php"> <InvalidReturnType occurrences="1"> <code>bool</code> </InvalidReturnType> </file> <file src="apps/user_ldap/lib/Mapping/AbstractMapping.php"> <InvalidOperand occurrences="1"> <code>$isUnmapped</code> </InvalidOperand> <InvalidReturnStatement occurrences="1"> <code>$result</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>bool</code> </InvalidReturnType> <RedundantCondition occurrences="1"> <code>isset($qb)</code> </RedundantCondition> <TypeDoesNotContainNull occurrences="1"> <code>isset($qb)</code> </TypeDoesNotContainNull> </file> <file src="apps/user_ldap/lib/Proxy.php"> <InvalidDocblock occurrences="1"> <code>protected function handleRequest($id, $method, $parameters, $passOnWhen = false) {</code> </InvalidDocblock> </file> <file src="apps/user_ldap/lib/User/Manager.php"> <InvalidDocblock occurrences="1"> <code>public function setLdapAccess(Access $access) {</code> </InvalidDocblock> </file> <file src="apps/user_ldap/lib/User/User.php"> <FalsableReturnStatement occurrences="1"> <code>$this->avatarImage</code> </FalsableReturnStatement> <InvalidPropertyAssignmentValue occurrences="1"> <code>$this->refreshedFeatures</code> </InvalidPropertyAssignmentValue> <InvalidReturnType occurrences="2"> <code>null</code> <code>null</code> </InvalidReturnType> <InvalidScalarArgument occurrences="3"> <code>$this->getHomePath($ldapEntry[$attr][0])</code> <code>1</code> <code>true</code> </InvalidScalarArgument> </file> <file src="apps/user_ldap/lib/User_LDAP.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>string|false</code> </ImplementedReturnTypeMismatch> <InvalidScalarArgument occurrences="1"> <code>$path</code> </InvalidScalarArgument> <MoreSpecificImplementedParamType occurrences="2"> <code>$limit</code> <code>$offset</code> </MoreSpecificImplementedParamType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> </file> <file src="apps/user_ldap/lib/User_Proxy.php"> <InvalidReturnStatement occurrences="1"> <code>$users</code> </InvalidReturnStatement> <ParamNameMismatch occurrences="1"> <code>$uid</code> </ParamNameMismatch> </file> <file src="apps/user_ldap/lib/Wizard.php"> <FalsableReturnStatement occurrences="2"> <code>false</code> <code>false</code> </FalsableReturnStatement> <InvalidArgument occurrences="4"> <code>$attributes</code> <code>$er</code> <code>$er</code> <code>$er</code> </InvalidArgument> <InvalidDocblock occurrences="3"> <code>private function checkAgentRequirements() {</code> <code>private function detectGroupMemberAssoc() {</code> <code>private function getAttributeValuesFromEntry($result, $attribute, &$known) {</code> </InvalidDocblock> <InvalidScalarArgument occurrences="8"> <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> </RedundantCondition> <TypeDoesNotContainType occurrences="1"> <code>$total === false</code> </TypeDoesNotContainType> </file> <file src="apps/user_status/lib/AppInfo/Application.php"> <UndefinedInterfaceMethod occurrences="1"> <code>registerProvider</code> </UndefinedInterfaceMethod> </file> <file src="apps/user_status/lib/Db/UserStatusMapper.php"> <MoreSpecificImplementedParamType occurrences="1"/> </file> <file src="apps/user_status/lib/Service/StatusService.php"> <MismatchingDocblockParamType occurrences="1"> <code>string|null</code> </MismatchingDocblockParamType> </file> <file src="apps/workflowengine/lib/Check/AbstractStringCheck.php"> <NullArgument occurrences="1"> <code>null</code> </NullArgument> </file> <file src="apps/workflowengine/lib/Check/FileMimeType.php"> <InvalidScalarArgument occurrences="1"> <code>$path</code> </InvalidScalarArgument> </file> <file src="apps/workflowengine/lib/Check/FileSize.php"> <FalsableReturnStatement occurrences="1"> <code>$this->size</code> </FalsableReturnStatement> <InvalidPropertyAssignmentValue occurrences="1"> <code>$size</code> </InvalidPropertyAssignmentValue> <InvalidReturnStatement occurrences="1"> <code>$this->size</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> </file> <file src="apps/workflowengine/lib/Check/RequestRemoteAddress.php"> <InvalidScalarArgument occurrences="4"> <code>$decodedValue[1]</code> <code>$decodedValue[1]</code> <code>$decodedValue[1]</code> <code>$decodedValue[1]</code> </InvalidScalarArgument> </file> <file src="apps/workflowengine/lib/Check/RequestTime.php"> <InvalidScalarArgument occurrences="2"> <code>$hour1</code> <code>$minute1</code> </InvalidScalarArgument> </file> <file src="apps/workflowengine/lib/Check/TFileCheck.php"> <InvalidArgument occurrences="1"> <code>['app' => Application::APP_ID, 'class' => get_class($subject)]</code> </InvalidArgument> </file> <file src="apps/workflowengine/lib/Controller/AWorkflowController.php"> <InvalidScalarArgument occurrences="3"> <code>$e->getCode()</code> <code>$e->getCode()</code> <code>$e->getCode()</code> </InvalidScalarArgument> </file> <file src="apps/workflowengine/lib/Entity/File.php"> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> <ParamNameMismatch occurrences="1"> <code>$uid</code> </ParamNameMismatch> </file> <file src="apps/workflowengine/lib/Manager.php"> <InvalidArgument occurrences="3"> <code>IManager::EVENT_NAME_REG_CHECK</code> <code>IManager::EVENT_NAME_REG_ENTITY</code> <code>IManager::EVENT_NAME_REG_OPERATION</code> </InvalidArgument> <InvalidOperand occurrences="1"> <code>$result</code> </InvalidOperand> <InvalidPropertyAssignmentValue occurrences="1"> <code>[]</code> </InvalidPropertyAssignmentValue> <InvalidReturnStatement occurrences="1"> <code>$result</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>bool</code> </InvalidReturnType> <InvalidScalarArgument occurrences="1"> <code>$missingCheck</code> </InvalidScalarArgument> <TooManyArguments occurrences="3"> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> </TooManyArguments> </file> <file src="apps/workflowengine/lib/Service/RuleMatcher.php"> <UndefinedInterfaceMethod occurrences="5"> <code>getAllConfiguredScopesForOperation</code> <code>getChecks</code> <code>getOperations</code> <code>getOperations</code> <code>isUserScopeEnabled</code> </UndefinedInterfaceMethod> </file> <file src="core/BackgroundJobs/BackgroundCleanupUpdaterBackupsJob.php"> <ParamNameMismatch occurrences="1"> <code>$arguments</code> </ParamNameMismatch> </file> <file src="core/BackgroundJobs/CheckForUserCertificates.php"> <ParamNameMismatch occurrences="1"> <code>$arguments</code> </ParamNameMismatch> </file> <file src="core/BackgroundJobs/LookupServerSendCheckBackgroundJob.php"> <ParamNameMismatch occurrences="1"> <code>$arguments</code> </ParamNameMismatch> </file> <file src="core/Command/App/GetPath.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>null|int</code> </ImplementedReturnTypeMismatch> <InvalidReturnType occurrences="1"> <code>null|int</code> </InvalidReturnType> <MismatchingDocblockReturnType occurrences="1"> <code>null|int</code> </MismatchingDocblockReturnType> </file> <file src="core/Command/App/Install.php"> <TypeDoesNotContainType occurrences="1"> <code>$result === false</code> </TypeDoesNotContainType> </file> <file src="core/Command/App/ListApps.php"> <LessSpecificImplementedReturnType occurrences="1"> <code>array</code> </LessSpecificImplementedReturnType> </file> <file src="core/Command/Config/App/GetConfig.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>null|int</code> </ImplementedReturnTypeMismatch> <InvalidReturnType occurrences="1"> <code>null|int</code> </InvalidReturnType> <MismatchingDocblockReturnType occurrences="1"> <code>null|int</code> </MismatchingDocblockReturnType> </file> <file src="core/Command/Config/Import.php"> <InvalidScalarArgument occurrences="2"> <code>0</code> <code>1</code> </InvalidScalarArgument> </file> <file src="core/Command/Config/ListConfigs.php"> <FalsableReturnStatement occurrences="1"> <code>$this->appConfig->getValues($app, false)</code> </FalsableReturnStatement> <TooManyArguments occurrences="1"> <code>getFilteredValues</code> </TooManyArguments> </file> <file src="core/Command/Config/System/GetConfig.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>null|int</code> </ImplementedReturnTypeMismatch> <InvalidReturnType occurrences="1"> <code>null|int</code> </InvalidReturnType> <MismatchingDocblockReturnType occurrences="1"> <code>null|int</code> </MismatchingDocblockReturnType> </file> <file src="core/Command/Db/AddMissingColumns.php"> <InvalidArgument occurrences="1"> <code>IDBConnection::ADD_MISSING_COLUMNS_EVENT</code> </InvalidArgument> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="core/Command/Db/AddMissingIndices.php"> <InvalidArgument occurrences="1"> <code>IDBConnection::ADD_MISSING_INDEXES_EVENT</code> </InvalidArgument> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="core/Command/Db/AddMissingPrimaryKeys.php"> <InvalidArgument occurrences="1"> <code>IDBConnection::ADD_MISSING_PRIMARY_KEYS_EVENT</code> </InvalidArgument> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="core/Command/Db/ConvertType.php"> <InvalidScalarArgument occurrences="2"> <code>0</code> <code>1</code> </InvalidScalarArgument> </file> <file src="core/Command/Encryption/Enable.php"> <NullArgument occurrences="1"> <code>null</code> </NullArgument> </file> <file src="core/Command/Log/File.php"> <InvalidReturnStatement occurrences="1"> <code>[0]</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string[]</code> </InvalidReturnType> </file> <file src="core/Command/Log/Manage.php"> <InvalidScalarArgument occurrences="1"> <code>$levelNum</code> </InvalidScalarArgument> </file> <file src="core/Command/Maintenance/DataFingerprint.php"> <InvalidScalarArgument occurrences="1"> <code>$this->timeFactory->getTime()</code> </InvalidScalarArgument> </file> <file src="core/Command/Maintenance/Mimetype/GenerateMimetypeFileBuilder.php"> <InvalidArrayAccess occurrences="1"> <code>$k[0]</code> </InvalidArrayAccess> </file> <file src="core/Command/Maintenance/Mimetype/UpdateDB.php"> <UndefinedInterfaceMethod occurrences="2"> <code>getAllMappings</code> <code>updateFilecache</code> </UndefinedInterfaceMethod> </file> <file src="core/Command/Maintenance/Mimetype/UpdateJS.php"> <UndefinedInterfaceMethod occurrences="1"> <code>getAllAliases</code> </UndefinedInterfaceMethod> </file> <file src="core/Command/Maintenance/Repair.php"> <InvalidScalarArgument occurrences="6"> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>0</code> </InvalidScalarArgument> </file> <file src="core/Command/Preview/Repair.php"> <UndefinedInterfaceMethod occurrences="2"> <code>section</code> <code>section</code> </UndefinedInterfaceMethod> </file> <file src="core/Command/Preview/ResetRenderedTexts.php"> <InvalidReturnStatement occurrences="1"> <code>[]</code> </InvalidReturnStatement> </file> <file src="core/Command/Upgrade.php"> <InvalidScalarArgument occurrences="11"> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>1</code> <code>1</code> <code>1</code> <code>1</code> </InvalidScalarArgument> </file> <file src="core/Command/User/Setting.php"> <InvalidScalarArgument occurrences="1"> <code>$input->getOption('default-value')</code> </InvalidScalarArgument> </file> <file src="core/Controller/ClientFlowLoginV2Controller.php"> <TypeDoesNotContainType occurrences="1"> <code>!is_string($stateToken)</code> </TypeDoesNotContainType> </file> <file src="core/Controller/CollaborationResourcesController.php"> <UndefinedInterfaceMethod occurrences="1"> <code>searchCollections</code> </UndefinedInterfaceMethod> </file> <file src="core/Controller/SvgController.php"> <TypeDoesNotContainNull occurrences="1"> <code>$svg === null</code> </TypeDoesNotContainNull> </file> <file src="core/Controller/UnifiedSearchController.php"> <NullArgument occurrences="1"> <code>null</code> </NullArgument> <UndefinedInterfaceMethod occurrences="1"> <code>findMatchingRoute</code> </UndefinedInterfaceMethod> </file> <file src="core/Middleware/TwoFactorMiddleware.php"> <NoInterfaceProperties occurrences="1"> <code>$this->request->server</code> </NoInterfaceProperties> </file> <file src="core/ajax/update.php"> <InvalidScalarArgument occurrences="12"> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>1</code> <code>1</code> <code>1</code> <code>1</code> </InvalidScalarArgument> </file> <file src="core/routes.php"> <InvalidScope occurrences="2"> <code>$this</code> <code>$this</code> </InvalidScope> </file> <file src="core/templates/layout.public.php"> <UndefinedInterfaceMethod occurrences="1"> <code>getIcon</code> </UndefinedInterfaceMethod> </file> <file src="lib/autoloader.php"> <RedundantCondition occurrences="1"> <code>$this->memoryCache</code> </RedundantCondition> </file> <file src="lib/base.php"> <InternalMethod occurrences="2"> <code>getAppsNeedingUpgrade</code> <code>getIncompatibleApps</code> </InternalMethod> <InvalidArgument occurrences="1"> <code>$restrictions</code> </InvalidArgument> <RedundantCondition occurrences="1"> <code>((array)$request->getParam('appid')) !== ''</code> </RedundantCondition> </file> <file src="lib/private/Accounts/AccountManager.php"> <InvalidArgument occurrences="1"> <code>'OC\AccountManager::userUpdated'</code> </InvalidArgument> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="lib/private/Activity/Event.php"> <ParamNameMismatch occurrences="1"> <code>$affectedUser</code> </ParamNameMismatch> </file> <file src="lib/private/Activity/Manager.php"> <InvalidPropertyAssignmentValue occurrences="3"> <code>$this->filterClasses</code> <code>$this->providerClasses</code> <code>$this->settingsClasses</code> </InvalidPropertyAssignmentValue> <TypeDoesNotContainType occurrences="1"> <code>!is_string($currentUserId) && $currentUserId !== null</code> </TypeDoesNotContainType> </file> <file src="lib/private/AllConfig.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$key</code> </MoreSpecificImplementedParamType> </file> <file src="lib/private/App/AppManager.php"> <InvalidArgument occurrences="3"> <code>ManagerEvent::EVENT_APP_DISABLE</code> <code>ManagerEvent::EVENT_APP_ENABLE</code> <code>ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS</code> </InvalidArgument> <LessSpecificImplementedReturnType occurrences="2"> <code>array</code> <code>array</code> </LessSpecificImplementedReturnType> <TooManyArguments occurrences="3"> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> </TooManyArguments> <TypeDoesNotContainNull occurrences="1"> <code>$group === null</code> </TypeDoesNotContainNull> </file> <file src="lib/private/App/AppStore/Fetcher/Fetcher.php"> <TooManyArguments occurrences="1"> <code>fetch</code> </TooManyArguments> </file> <file src="lib/private/App/DependencyAnalyzer.php"> <InvalidNullableReturnType occurrences="1"> <code>bool</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>version_compare($first, $second, $operator)</code> </NullableReturnStatement> </file> <file src="lib/private/App/InfoParser.php"> <InvalidArrayOffset occurrences="2"> <code>$array[$element][]</code> <code>$array[$element][]</code> </InvalidArrayOffset> <InvalidReturnStatement occurrences="1"> <code>(string)$xml</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>array</code> </InvalidReturnType> </file> <file src="lib/private/App/Platform.php"> <UndefinedThisPropertyAssignment occurrences="1"> <code>$this->config</code> </UndefinedThisPropertyAssignment> <UndefinedThisPropertyFetch occurrences="1"> <code>$this->config</code> </UndefinedThisPropertyFetch> </file> <file src="lib/private/App/PlatformRepository.php"> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> <UndefinedThisPropertyAssignment occurrences="1"> <code>$this->packages</code> </UndefinedThisPropertyAssignment> </file> <file src="lib/private/AppConfig.php"> <FalsableReturnStatement occurrences="1"> <code>$values</code> </FalsableReturnStatement> <NullableReturnStatement occurrences="1"> <code>$default</code> </NullableReturnStatement> </file> <file src="lib/private/AppFramework/Bootstrap/Coordinator.php"> <InvalidPropertyAssignmentValue occurrences="1"> <code>$this->bootedApps</code> </InvalidPropertyAssignmentValue> </file> <file src="lib/private/AppFramework/Bootstrap/FunctionInjector.php"> <UndefinedMethod occurrences="1"> <code>getName</code> </UndefinedMethod> </file> <file src="lib/private/AppFramework/DependencyInjection/DIContainer.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>boolean|null</code> </ImplementedReturnTypeMismatch> <InvalidReturnStatement occurrences="1"> <code>$this->server</code> </InvalidReturnStatement> <InvalidReturnType occurrences="2"> <code>\OCP\IServerContainer</code> <code>mixed</code> </InvalidReturnType> <UndefinedInterfaceMethod occurrences="1"> <code>getAppDataDir</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/AppFramework/Http/Dispatcher.php"> <InvalidScalarArgument occurrences="1"> <code>$throwable->getCode()</code> </InvalidScalarArgument> <NoInterfaceProperties occurrences="1"> <code>$this->request->method</code> </NoInterfaceProperties> <NullArgument occurrences="1"> <code>null</code> </NullArgument> </file> <file src="lib/private/AppFramework/Http/Output.php"> <InvalidReturnStatement occurrences="2"> <code>@readfile($path)</code> <code>http_response_code()</code> </InvalidReturnStatement> <InvalidReturnType occurrences="2"> <code>bool</code> <code>int</code> </InvalidReturnType> </file> <file src="lib/private/AppFramework/Http/Request.php"> <NullableReturnStatement occurrences="9"> <code>$host</code> <code>$name</code> <code>$remoteAddress</code> <code>$this->getOverwriteHost()</code> <code>$this->method</code> <code>$uri</code> <code>isset($this->cookies[$key]) ? $this->cookies[$key] : null</code> <code>isset($this->env[$key]) ? $this->env[$key] : null</code> <code>isset($this->files[$key]) ? $this->files[$key] : null</code> </NullableReturnStatement> <RedundantCondition occurrences="1"> <code>\is_array($params)</code> </RedundantCondition> <UndefinedFunction occurrences="1"> <code>\Sabre\Uri\split($scriptName)</code> </UndefinedFunction> </file> <file src="lib/private/AppFramework/Logger.php"> <InvalidReturnType occurrences="1"> <code>log</code> </InvalidReturnType> </file> <file src="lib/private/AppFramework/Middleware/AdditionalScriptsMiddleware.php"> <InvalidArgument occurrences="2"> <code>TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS</code> <code>TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS_LOGGEDIN</code> </InvalidArgument> <TooManyArguments occurrences="2"> <code>dispatch</code> <code>dispatch</code> </TooManyArguments> </file> <file src="lib/private/AppFramework/Middleware/OCSMiddleware.php"> <InternalMethod occurrences="1"> <code>setOCSVersion</code> </InternalMethod> <InvalidScalarArgument occurrences="1"> <code>$code</code> </InvalidScalarArgument> </file> <file src="lib/private/AppFramework/Middleware/Security/CORSMiddleware.php"> <InvalidScalarArgument occurrences="1"> <code>$exception->getCode()</code> </InvalidScalarArgument> <NoInterfaceProperties occurrences="2"> <code>$this->request->server</code> <code>$this->request->server</code> </NoInterfaceProperties> </file> <file src="lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php"> <InvalidScalarArgument occurrences="6"> <code>$anonLimit</code> <code>$anonPeriod</code> <code>$exception->getCode()</code> <code>$exception->getCode()</code> <code>$userLimit</code> <code>$userPeriod</code> </InvalidScalarArgument> </file> <file src="lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php"> <InvalidScalarArgument occurrences="2"> <code>$exception->getCode()</code> <code>$exception->getCode()</code> </InvalidScalarArgument> <NoInterfaceProperties occurrences="1"> <code>$this->request->server</code> </NoInterfaceProperties> <UndefinedClass occurrences="1"> <code>\OCA\Talk\Controller\PageController</code> </UndefinedClass> </file> <file src="lib/private/AppFramework/OCS/V1Response.php"> <InvalidScalarArgument occurrences="1"> <code>$meta</code> </InvalidScalarArgument> </file> <file src="lib/private/AppFramework/OCS/V2Response.php"> <InvalidScalarArgument occurrences="1"> <code>$meta</code> </InvalidScalarArgument> </file> <file src="lib/private/AppFramework/Routing/RouteConfig.php"> <InvalidArrayOffset occurrences="1"> <code>$action['url-postfix']</code> </InvalidArrayOffset> </file> <file src="lib/private/AppFramework/Services/AppConfig.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$default</code> </MoreSpecificImplementedParamType> </file> <file src="lib/private/AppFramework/Utility/SimpleContainer.php"> <UndefinedMethod occurrences="1"> <code>getName</code> </UndefinedMethod> </file> <file src="lib/private/Archive/TAR.php"> <InvalidReturnStatement occurrences="1"> <code>$this->tar->extractInString($path)</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> <UndefinedDocblockClass occurrences="1"> <code>$this->tar->extractInString($path)</code> </UndefinedDocblockClass> </file> <file src="lib/private/Archive/ZIP.php"> <ImplementedReturnTypeMismatch occurrences="2"> <code>boolean|null</code> <code>boolean|null</code> </ImplementedReturnTypeMismatch> </file> <file src="lib/private/Authentication/LoginCredentials/Store.php"> <RedundantCondition occurrences="1"> <code>$trySession</code> </RedundantCondition> </file> <file src="lib/private/Authentication/Token/DefaultToken.php"> <UndefinedMethod occurrences="14"> <code>parent::getExpires()</code> <code>parent::getLastCheck()</code> <code>parent::getLoginName()</code> <code>parent::getName()</code> <code>parent::getPassword()</code> <code>parent::getRemember()</code> <code>parent::getScope()</code> <code>parent::setExpires($expires)</code> <code>parent::setLastCheck($time)</code> <code>parent::setName($name)</code> <code>parent::setPassword($password)</code> <code>parent::setScope((string)$scope)</code> <code>parent::setScope(json_encode($scope))</code> <code>parent::setToken($token)</code> </UndefinedMethod> </file> <file src="lib/private/Authentication/Token/PublicKeyToken.php"> <UndefinedMethod occurrences="16"> <code>parent::getExpires()</code> <code>parent::getLastCheck()</code> <code>parent::getLoginName()</code> <code>parent::getName()</code> <code>parent::getPassword()</code> <code>parent::getRemember()</code> <code>parent::getScope()</code> <code>parent::setExpires($expires)</code> <code>parent::setLastCheck($time)</code> <code>parent::setName($name)</code> <code>parent::setPassword($password)</code> <code>parent::setPasswordInvalid($invalid)</code> <code>parent::setScope((string)$scope)</code> <code>parent::setScope(json_encode($scope))</code> <code>parent::setToken($token)</code> <code>parent::setType(IToken::WIPE_TOKEN)</code> </UndefinedMethod> </file> <file src="lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php"> <InvalidReturnStatement occurrences="2"> <code>$providers</code> </InvalidReturnStatement> <InvalidReturnType occurrences="2"> <code>int[]</code> <code>string[]</code> </InvalidReturnType> </file> <file src="lib/private/Authentication/TwoFactorAuth/Manager.php"> <InvalidArgument occurrences="2"> <code>IProvider::EVENT_FAILED</code> <code>IProvider::EVENT_SUCCESS</code> </InvalidArgument> <InvalidReturnStatement occurrences="1"> <code>$providerStates</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string[]</code> </InvalidReturnType> <InvalidScalarArgument occurrences="2"> <code>$this->timeFactory->getTime()</code> <code>$tokenId</code> </InvalidScalarArgument> <TooManyArguments occurrences="2"> <code>dispatch</code> <code>dispatch</code> </TooManyArguments> </file> <file src="lib/private/Authentication/TwoFactorAuth/ProviderSet.php"> <InvalidArgument occurrences="1"> <code>$this->providers</code> </InvalidArgument> <InvalidPropertyAssignmentValue occurrences="2"> <code>$this->providers</code> <code>[]</code> </InvalidPropertyAssignmentValue> <InvalidReturnStatement occurrences="1"> <code>$this->providers</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>IProvider[]</code> </InvalidReturnType> <UndefinedInterfaceMethod occurrences="1"> <code>$this->providers</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Authentication/TwoFactorAuth/Registry.php"> <InvalidArrayAccess occurrences="1"> <code>$provider['provider_id']</code> </InvalidArrayAccess> </file> <file src="lib/private/Authentication/WebAuthn/CredentialRepository.php"> <InvalidCatch occurrences="2"/> </file> <file src="lib/private/Avatar/Avatar.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>Color</code> </ImplementedReturnTypeMismatch> <InvalidReturnStatement occurrences="1"> <code>$finalPalette[$this->hashToInt($hash, $steps * 3)]</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>Color</code> </InvalidReturnType> <ParamNameMismatch occurrences="1"> <code>$hash</code> </ParamNameMismatch> </file> <file src="lib/private/Avatar/AvatarManager.php"> <ParamNameMismatch occurrences="1"> <code>$userId</code> </ParamNameMismatch> </file> <file src="lib/private/Avatar/GuestAvatar.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>InMemoryFile</code> </ImplementedReturnTypeMismatch> </file> <file src="lib/private/Avatar/PlaceholderAvatar.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>ISimpleFile</code> </ImplementedReturnTypeMismatch> <InvalidScalarArgument occurrences="1"> <code>$data</code> </InvalidScalarArgument> </file> <file src="lib/private/Avatar/UserAvatar.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>ISimpleFile</code> </ImplementedReturnTypeMismatch> <InvalidScalarArgument occurrences="3"> <code>$data</code> <code>$data</code> <code>(int) $this->config->getUserValue($this->user->getUID(), 'avatar', 'version', 0) + 1</code> </InvalidScalarArgument> </file> <file src="lib/private/BackgroundJob/JobList.php"> <InvalidScalarArgument occurrences="1"> <code>$job->getId()</code> </InvalidScalarArgument> </file> <file src="lib/private/BackgroundJob/QueuedJob.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$jobList</code> </MoreSpecificImplementedParamType> </file> <file src="lib/private/Cache/CappedMemoryCache.php"> <InvalidReturnType occurrences="1"> <code>set</code> </InvalidReturnType> </file> <file src="lib/private/Cache/File.php"> <LessSpecificImplementedReturnType occurrences="2"> <code>bool|mixed</code> <code>bool|mixed</code> </LessSpecificImplementedReturnType> </file> <file src="lib/private/Collaboration/Resources/Manager.php"> <RedundantCondition occurrences="1"> <code>$user instanceof IUser</code> </RedundantCondition> <TypeDoesNotContainType occurrences="1"> <code>''</code> </TypeDoesNotContainType> </file> <file src="lib/private/Command/CallableJob.php"> <ParamNameMismatch occurrences="1"> <code>$serializedCallable</code> </ParamNameMismatch> </file> <file src="lib/private/Command/ClosureJob.php"> <ParamNameMismatch occurrences="1"> <code>$serializedCallable</code> </ParamNameMismatch> <UndefinedFunction occurrences="1"> <code>\Opis\Closure\unserialize($serializedCallable)</code> </UndefinedFunction> </file> <file src="lib/private/Command/CommandJob.php"> <ParamNameMismatch occurrences="1"> <code>$serializedCommand</code> </ParamNameMismatch> <UndefinedFunction occurrences="1"> <code>\Opis\Closure\unserialize($serializedCommand)</code> </UndefinedFunction> </file> <file src="lib/private/Command/CronBus.php"> <UndefinedFunction occurrences="1"> <code>\Opis\Closure\serialize($command)</code> </UndefinedFunction> </file> <file src="lib/private/Comments/Comment.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>\DateTime|null</code> </ImplementedReturnTypeMismatch> <ParamNameMismatch occurrences="1"> <code>$timestamp</code> </ParamNameMismatch> <TypeDoesNotContainType occurrences="1"> <code>!is_array($mentions[0])</code> </TypeDoesNotContainType> </file> <file src="lib/private/Comments/Manager.php"> <InvalidDocblock occurrences="1"> <code>public function getForObjectSince(</code> </InvalidDocblock> <NullArgument occurrences="1"> <code>null</code> </NullArgument> </file> <file src="lib/private/Config.php"> <InvalidOperand occurrences="2"> <code>$this->delete($key)</code> <code>$this->set($key, $value)</code> </InvalidOperand> <UndefinedVariable occurrences="2"> <code>$CONFIG</code> <code>$CONFIG</code> </UndefinedVariable> </file> <file src="lib/private/Console/Application.php"> <InvalidArgument occurrences="1"> <code>ConsoleEvent::EVENT_RUN</code> </InvalidArgument> <NoInterfaceProperties occurrences="1"> <code>$this->request->server</code> </NoInterfaceProperties> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> <UndefinedThisPropertyAssignment occurrences="1"> <code>$this->application</code> </UndefinedThisPropertyAssignment> <UndefinedThisPropertyFetch occurrences="4"> <code>$this->application</code> <code>$this->application</code> <code>$this->application</code> <code>$this->application</code> </UndefinedThisPropertyFetch> </file> <file src="lib/private/Contacts/ContactsMenu/Manager.php"> <InvalidNullableReturnType occurrences="1"> <code>IEntry</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>$entry</code> </NullableReturnStatement> </file> <file src="lib/private/ContactsManager.php"> <InvalidNullableReturnType occurrences="3"> <code>IAddressBook</code> <code>array</code> <code>bool</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="5"> <code>null</code> <code>null</code> <code>null</code> <code>null</code> <code>null</code> </NullableReturnStatement> <ParamNameMismatch occurrences="2"> <code>$addressBook</code> <code>$addressBook</code> </ParamNameMismatch> </file> <file src="lib/private/DB/Adapter.php"> <InvalidReturnStatement occurrences="1"> <code>$builder->execute()</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>int</code> </InvalidReturnType> </file> <file src="lib/private/DB/AdapterMySQL.php"> <InternalMethod occurrences="1"> <code>getParams</code> </InternalMethod> </file> <file src="lib/private/DB/Connection.php"> <InternalMethod occurrences="1"> <code>getParams</code> </InternalMethod> <InvalidReturnStatement occurrences="2"> <code>$insertQb->execute()</code> <code>$this->adapter->lastInsertId($seqName)</code> </InvalidReturnStatement> <InvalidReturnType occurrences="2"> <code>int</code> <code>string</code> </InvalidReturnType> <InvalidScalarArgument occurrences="1"> <code>$e->getCode()</code> </InvalidScalarArgument> <ParamNameMismatch occurrences="2"> <code>$seqName</code> <code>$statement</code> </ParamNameMismatch> </file> <file src="lib/private/DB/MigrationService.php"> <InvalidOperand occurrences="2"> <code>$offset</code> <code>$offset</code> </InvalidOperand> <UndefinedThisPropertyAssignment occurrences="4"> <code>$this->migrationsNamespace</code> <code>$this->migrationsNamespace</code> <code>$this->migrationsPath</code> <code>$this->migrationsPath</code> </UndefinedThisPropertyAssignment> <UndefinedThisPropertyFetch occurrences="4"> <code>$this->migrationsNamespace</code> <code>$this->migrationsNamespace</code> <code>$this->migrationsPath</code> <code>$this->migrationsPath</code> </UndefinedThisPropertyFetch> </file> <file src="lib/private/DB/Migrator.php"> <InvalidArgument occurrences="1"> <code>'\OC\DB\Migrator::executeSql'</code> </InvalidArgument> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="lib/private/DB/OracleConnection.php"> <InvalidArrayAccess occurrences="1"> <code>$key[0]</code> </InvalidArrayAccess> </file> <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php"> <ImplicitToStringCast occurrences="1"> <code>$this->functionBuilder->lower($x)</code> </ImplicitToStringCast> <InvalidScalarArgument occurrences="2"> <code>$y</code> <code>$y</code> </InvalidScalarArgument> </file> <file src="lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php"> <InternalMethod occurrences="1"> <code>getParams</code> </InternalMethod> </file> <file src="lib/private/DB/QueryBuilder/QueryBuilder.php"> <InvalidNullableReturnType occurrences="1"> <code>string</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>$alias</code> </NullableReturnStatement> <ParamNameMismatch occurrences="2"> <code>$groupBys</code> <code>$selects</code> </ParamNameMismatch> </file> <file src="lib/private/DB/QueryBuilder/QuoteHelper.php"> <InvalidNullableReturnType occurrences="1"> <code>string</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>$string</code> </NullableReturnStatement> </file> <file src="lib/private/DateTimeFormatter.php"> <FalsableReturnStatement occurrences="1"/> <InvalidDocblock occurrences="2"> <code>public function formatDateSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code> <code>public function formatTimeSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code> </InvalidDocblock> <InvalidReturnStatement occurrences="1"/> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> </file> <file src="lib/private/DateTimeZone.php"> <InvalidScalarArgument occurrences="1"> <code>$timestamp</code> </InvalidScalarArgument> </file> <file src="lib/private/Diagnostics/Query.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>float</code> </ImplementedReturnTypeMismatch> </file> <file src="lib/private/Diagnostics/QueryLogger.php"> <InvalidReturnType occurrences="1"> <code>stopQuery</code> </InvalidReturnType> <InvalidScalarArgument occurrences="1"> <code>microtime(true)</code> </InvalidScalarArgument> </file> <file src="lib/private/DirectEditing/Manager.php"> <InvalidReturnStatement occurrences="1"> <code>$query->execute()</code> </InvalidReturnStatement> <InvalidReturnType occurrences="2"> <code>TemplateResponse</code> <code>int</code> </InvalidReturnType> <UndefinedMethod occurrences="2"> <code>$template</code> <code>$template</code> </UndefinedMethod> </file> <file src="lib/private/DirectEditing/Token.php"> <UndefinedMethod occurrences="1"> <code>getShareForToken</code> </UndefinedMethod> </file> <file src="lib/private/Encryption/File.php"> <InvalidPropertyAssignmentValue occurrences="1"> <code>new CappedMemoryCache()</code> </InvalidPropertyAssignmentValue> </file> <file src="lib/private/Encryption/Keys/Storage.php"> <InvalidNullableReturnType occurrences="1"> <code>deleteUserKey</code> </InvalidNullableReturnType> <NullArgument occurrences="3"> <code>null</code> <code>null</code> <code>null</code> </NullArgument> </file> <file src="lib/private/Encryption/Manager.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>bool</code> </ImplementedReturnTypeMismatch> </file> <file src="lib/private/EventDispatcher/EventDispatcher.php"> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="lib/private/EventDispatcher/GenericEventWrapper.php"> <InvalidReturnStatement occurrences="2"> <code>$this->event->offsetSet($key, $value)</code> <code>$this->event->offsetUnset($key)</code> </InvalidReturnStatement> </file> <file src="lib/private/EventDispatcher/SymfonyAdapter.php"> <ImplementedParamTypeMismatch occurrences="1"> <code>$eventName</code> </ImplementedParamTypeMismatch> <ParamNameMismatch occurrences="1"> <code>$eventName</code> </ParamNameMismatch> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="lib/private/Federation/CloudFederationProviderManager.php"> <ParamNameMismatch occurrences="1"> <code>$providerId</code> </ParamNameMismatch> </file> <file src="lib/private/Files/Cache/Cache.php"> <InvalidArgument occurrences="1"> <code>$parentData</code> </InvalidArgument> <InvalidNullableReturnType occurrences="1"> <code>array</code> </InvalidNullableReturnType> <InvalidScalarArgument occurrences="3"> <code>$path</code> <code>$path</code> <code>\OC_Util::normalizeUnicode($path)</code> </InvalidScalarArgument> <NullableReturnStatement occurrences="2"> <code>null</code> <code>null</code> </NullableReturnStatement> <ParamNameMismatch occurrences="1"> <code>$searchQuery</code> </ParamNameMismatch> </file> <file src="lib/private/Files/Cache/FailedCache.php"> <InvalidReturnStatement occurrences="1"> <code>[]</code> </InvalidReturnStatement> <InvalidReturnType occurrences="3"> <code>getIncomplete</code> <code>insert</code> <code>put</code> </InvalidReturnType> </file> <file src="lib/private/Files/Cache/HomeCache.php"> <FalsableReturnStatement occurrences="1"> <code>$data</code> </FalsableReturnStatement> <MoreSpecificImplementedParamType occurrences="1"> <code>$path</code> </MoreSpecificImplementedParamType> <ParamNameMismatch occurrences="1"> <code>$path</code> </ParamNameMismatch> </file> <file src="lib/private/Files/Cache/Scanner.php"> <InvalidReturnStatement occurrences="1"> <code>$existingChildren</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>array[]</code> </InvalidReturnType> <InvalidScalarArgument occurrences="2"> <code>$path</code> <code>self::SCAN_RECURSIVE_INCOMPLETE</code> </InvalidScalarArgument> </file> <file src="lib/private/Files/Cache/Storage.php"> <InvalidNullableReturnType occurrences="1"> <code>array</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>self::getGlobalCache()->getStorageInfo($storageId)</code> </NullableReturnStatement> </file> <file src="lib/private/Files/Cache/Updater.php"> <RedundantCondition occurrences="1"> <code>$this->cache instanceof Cache</code> </RedundantCondition> </file> <file src="lib/private/Files/Cache/Wrapper/CacheWrapper.php"> <LessSpecificImplementedReturnType occurrences="1"> <code>array</code> </LessSpecificImplementedReturnType> <ParamNameMismatch occurrences="1"> <code>$searchQuery</code> </ParamNameMismatch> </file> <file src="lib/private/Files/Config/CachedMountInfo.php"> <InvalidNullableReturnType occurrences="1"> <code>Node</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> </file> <file src="lib/private/Files/Config/MountProviderCollection.php"> <InvalidOperand occurrences="1"> <code>$user</code> </InvalidOperand> <RedundantCondition occurrences="1"> <code>get_class($provider) !== 'OCA\Files_Sharing\MountProvider'</code> </RedundantCondition> <TypeDoesNotContainType occurrences="1"> <code>get_class($provider) === 'OCA\Files_Sharing\MountProvider'</code> </TypeDoesNotContainType> </file> <file src="lib/private/Files/Config/UserMountCache.php"> <InvalidReturnType occurrences="2"> <code>remoteStorageMounts</code> <code>removeUserStorageMount</code> </InvalidReturnType> <LessSpecificImplementedReturnType occurrences="1"> <code>array</code> </LessSpecificImplementedReturnType> <UndefinedInterfaceMethod occurrences="9"> <code>$this->cacheInfoCache</code> <code>$this->cacheInfoCache</code> <code>$this->cacheInfoCache</code> <code>$this->mountsForUsers</code> <code>$this->mountsForUsers</code> <code>$this->mountsForUsers</code> <code>$this->mountsForUsers</code> <code>$this->mountsForUsers</code> <code>$this->mountsForUsers</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Files/Filesystem.php"> <InvalidNullableReturnType occurrences="1"> <code>string</code> </InvalidNullableReturnType> <InvalidReturnStatement occurrences="1"> <code>self::$defaultInstance->toTmpFile($path)</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> <InvalidScalarArgument occurrences="3"> <code>$user</code> <code>$user</code> <code>\OC_User::getUser()</code> </InvalidScalarArgument> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> <RedundantCondition occurrences="1"> <code>$userObject</code> </RedundantCondition> <TooManyArguments occurrences="1"> <code>addStorageWrapper</code> </TooManyArguments> </file> <file src="lib/private/Files/Mount/MountPoint.php"> <InvalidScalarArgument occurrences="1"> <code>$exception->getCode()</code> </InvalidScalarArgument> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> <UndefinedInterfaceMethod occurrences="1"> <code>wrap</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Files/Mount/MoveableMount.php"> <InvalidDocblock occurrences="1"> <code>public function removeMount();</code> </InvalidDocblock> </file> <file src="lib/private/Files/Mount/ObjectHomeMountProvider.php"> <InvalidNullableReturnType occurrences="1"> <code>\OCP\Files\Mount\IMountPoint</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> </file> <file src="lib/private/Files/Node/File.php"> <InvalidReturnStatement occurrences="2"> <code>$this->view->hash($type, $this->path, $raw)</code> <code>new NonExistingFile($this->root, $this->view, $path)</code> </InvalidReturnStatement> <InvalidReturnType occurrences="2"> <code>string</code> <code>string</code> </InvalidReturnType> <NullableReturnStatement occurrences="1"> <code>$this->view->hash($type, $this->path, $raw)</code> </NullableReturnStatement> <UndefinedThisPropertyAssignment occurrences="1"> <code>$this->exists</code> </UndefinedThisPropertyAssignment> </file> <file src="lib/private/Files/Node/Folder.php"> <InvalidArgument occurrences="1"/> <InvalidReturnStatement occurrences="1"> <code>new NonExistingFolder($this->root, $this->view, $path)</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> <MoreSpecificImplementedParamType occurrences="1"> <code>$node</code> </MoreSpecificImplementedParamType> <UndefinedThisPropertyAssignment occurrences="1"> <code>$this->exists</code> </UndefinedThisPropertyAssignment> </file> <file src="lib/private/Files/Node/HookConnector.php"> <InvalidArgument occurrences="13"> <code>'\OCP\Files::postCopy'</code> <code>'\OCP\Files::postCreate'</code> <code>'\OCP\Files::postDelete'</code> <code>'\OCP\Files::postRename'</code> <code>'\OCP\Files::postTouch'</code> <code>'\OCP\Files::postWrite'</code> <code>'\OCP\Files::preCopy'</code> <code>'\OCP\Files::preCreate'</code> <code>'\OCP\Files::preDelete'</code> <code>'\OCP\Files::preRename'</code> <code>'\OCP\Files::preTouch'</code> <code>'\OCP\Files::preWrite'</code> <code>'\OCP\Files::read'</code> </InvalidArgument> <TooManyArguments occurrences="13"> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> <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> <UndefinedInterfaceMethod occurrences="13"> <code>emit</code> <code>emit</code> <code>emit</code> <code>emit</code> <code>emit</code> <code>emit</code> <code>emit</code> <code>emit</code> <code>emit</code> <code>emit</code> <code>emit</code> <code>emit</code> <code>emit</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Files/Node/LazyFolder.php"> <InvalidReturnStatement occurrences="1"> <code>$this->__call(__FUNCTION__, func_get_args())</code> </InvalidReturnStatement> </file> <file src="lib/private/Files/Node/Node.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>Node</code> </ImplementedReturnTypeMismatch> <InvalidArgument occurrences="1"> <code>'\OCP\Files::' . $hook</code> </InvalidArgument> <InvalidNullableReturnType occurrences="1"> <code>int</code> </InvalidNullableReturnType> <InvalidReturnType occurrences="1"> <code>getChecksum</code> </InvalidReturnType> <NullableReturnStatement occurrences="1"> <code>$this->getFileInfo()->getId()</code> </NullableReturnStatement> <ParamNameMismatch occurrences="1"> <code>$type</code> </ParamNameMismatch> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> <UndefinedInterfaceMethod occurrences="1"> <code>$this->fileInfo</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Files/Node/NonExistingFile.php"> <ParamNameMismatch occurrences="1"> <code>$newPath</code> </ParamNameMismatch> </file> <file src="lib/private/Files/Node/NonExistingFolder.php"> <ParamNameMismatch occurrences="3"> <code>$mime</code> <code>$newPath</code> <code>$pattern</code> </ParamNameMismatch> </file> <file src="lib/private/Files/Node/Root.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>Node</code> </ImplementedReturnTypeMismatch> <InvalidNullableReturnType occurrences="7"> <code>\OC\Files\Mount\MountPoint</code> <code>\OC\User\User</code> <code>array</code> <code>int</code> <code>int</code> <code>int</code> <code>string</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="7"> <code>$this->mountManager->find($mountPoint)</code> <code>$this->user</code> <code>null</code> <code>null</code> <code>null</code> <code>null</code> <code>null</code> </NullableReturnStatement> <UndefinedMethod occurrences="1"> <code>remove</code> </UndefinedMethod> </file> <file src="lib/private/Files/ObjectStore/HomeObjectStoreStorage.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>false|string</code> </ImplementedReturnTypeMismatch> </file> <file src="lib/private/Files/ObjectStore/NoopScanner.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$cacheData</code> </MoreSpecificImplementedParamType> </file> <file src="lib/private/Files/ObjectStore/ObjectStoreStorage.php"> <ParamNameMismatch occurrences="2"> <code>$source</code> <code>$target</code> </ParamNameMismatch> </file> <file src="lib/private/Files/ObjectStore/S3ConnectionTrait.php"> <InternalClass occurrences="1"> <code>ClientResolver::_default_signature_provider()</code> </InternalClass> <InternalMethod occurrences="1"> <code>ClientResolver::_default_signature_provider()</code> </InternalMethod> <UndefinedFunction occurrences="2"> <code>\Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())</code> </UndefinedFunction> </file> <file src="lib/private/Files/ObjectStore/S3ObjectTrait.php"> <InternalMethod occurrences="1"> <code>upload</code> </InternalMethod> <UndefinedFunction occurrences="1"> <code>\Aws\serialize($command)</code> </UndefinedFunction> </file> <file src="lib/private/Files/ObjectStore/S3Signature.php"> <NullArgument occurrences="1"> <code>null</code> </NullArgument> <UndefinedFunction occurrences="2"> <code>Psr7\modify_request($request, $modify)</code> <code>Psr7\parse_query($query)</code> </UndefinedFunction> </file> <file src="lib/private/Files/ObjectStore/StorageObjectStore.php"> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> </file> <file src="lib/private/Files/ObjectStore/Swift.php"> <UndefinedFunction occurrences="2"> <code>stream_for($handle)</code> <code>stream_for($handle)</code> </UndefinedFunction> </file> <file src="lib/private/Files/Storage/Common.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>string|false</code> </ImplementedReturnTypeMismatch> <InvalidNullableReturnType occurrences="1"> <code>array</code> </InvalidNullableReturnType> <InvalidOperand occurrences="2"> <code>!$permissions</code> <code>$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file)</code> </InvalidOperand> <NoInterfaceProperties occurrences="8"> <code>$storage->cache</code> <code>$storage->cache</code> <code>$storage->propagator</code> <code>$storage->propagator</code> <code>$storage->scanner</code> <code>$storage->scanner</code> <code>$storage->updater</code> <code>$storage->updater</code> </NoInterfaceProperties> <NullableReturnStatement occurrences="1"> <code>$this->getStorageCache()->getAvailability()</code> </NullableReturnStatement> </file> <file src="lib/private/Files/Storage/DAV.php"> <InvalidClass occurrences="2"> <code>ArrayCache</code> <code>ArrayCache</code> </InvalidClass> <InvalidNullableReturnType occurrences="1"> <code>getETag</code> </InvalidNullableReturnType> <InvalidReturnStatement occurrences="1"> <code>$response->getBody()</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>fopen</code> </InvalidReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> </file> <file src="lib/private/Files/Storage/FailedStorage.php"> <InvalidReturnStatement occurrences="2"> <code>new FailedCache()</code> <code>true</code> </InvalidReturnStatement> <InvalidReturnType occurrences="2"> <code>getCache</code> <code>verifyPath</code> </InvalidReturnType> <InvalidScalarArgument occurrences="39"> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> <code>$this->e->getCode()</code> </InvalidScalarArgument> </file> <file src="lib/private/Files/Storage/Local.php"> <ImplicitToStringCast occurrences="1"> <code>$file</code> </ImplicitToStringCast> <InvalidOperand occurrences="1"> <code>$result</code> </InvalidOperand> <InvalidReturnStatement occurrences="3"> <code>$helper->getFileSize($fullPath)</code> <code>$result</code> <code>$space</code> </InvalidReturnStatement> <InvalidReturnType occurrences="3"> <code>filesize</code> <code>free_space</code> <code>rename</code> </InvalidReturnType> <NullableReturnStatement occurrences="1"> <code>$helper->getFileSize($fullPath)</code> </NullableReturnStatement> <TypeDoesNotContainNull occurrences="2"> <code>$space === false || is_null($space)</code> <code>is_null($space)</code> </TypeDoesNotContainNull> <TypeDoesNotContainType occurrences="1"> <code>$stat === false</code> </TypeDoesNotContainType> </file> <file src="lib/private/Files/Storage/LocalRootStorage.php"> <NoInterfaceProperties occurrences="2"> <code>$storage->scanner</code> <code>$storage->scanner</code> </NoInterfaceProperties> </file> <file src="lib/private/Files/Storage/Wrapper/Availability.php"> <InvalidNullableReturnType occurrences="34"> <code>copy</code> <code>copyFromStorage</code> <code>file_exists</code> <code>file_get_contents</code> <code>file_put_contents</code> <code>filemtime</code> <code>filesize</code> <code>filetype</code> <code>fopen</code> <code>free_space</code> <code>getDirectDownload</code> <code>getETag</code> <code>getLocalFile</code> <code>getMimeType</code> <code>getOwner</code> <code>getPermissions</code> <code>hasUpdated</code> <code>hash</code> <code>isCreatable</code> <code>isDeletable</code> <code>isReadable</code> <code>isSharable</code> <code>isUpdatable</code> <code>is_dir</code> <code>is_file</code> <code>mkdir</code> <code>moveFromStorage</code> <code>opendir</code> <code>rename</code> <code>rmdir</code> <code>search</code> <code>stat</code> <code>touch</code> <code>unlink</code> </InvalidNullableReturnType> <InvalidReturnType occurrences="1"> <code>\Traversable</code> </InvalidReturnType> </file> <file src="lib/private/Files/Storage/Wrapper/Encoding.php"> <UndefinedInterfaceMethod occurrences="13"> <code>$this->namesCache</code> <code>$this->namesCache</code> <code>$this->namesCache</code> <code>$this->namesCache</code> <code>$this->namesCache</code> <code>$this->namesCache</code> <code>$this->namesCache</code> <code>$this->namesCache</code> <code>$this->namesCache</code> <code>$this->namesCache</code> <code>$this->namesCache</code> <code>$this->namesCache</code> <code>$this->namesCache</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Files/Storage/Wrapper/Encryption.php"> <FalsableReturnStatement occurrences="1"> <code>false</code> </FalsableReturnStatement> <InvalidArgument occurrences="2"> <code>$source</code> <code>$target</code> </InvalidArgument> <InvalidOperand occurrences="3"> <code>$result</code> <code>$result</code> <code>$this->copyFromStorage($sourceStorage, $sourceInternalPath . '/' . $file, $targetInternalPath . '/' . $file, false, $isRename)</code> </InvalidOperand> <InvalidReturnStatement occurrences="6"> <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> <code>bool</code> <code>int</code> <code>string</code> <code>string</code> </InvalidReturnType> <InvalidScalarArgument occurrences="5"> <code>$lastChunkPos</code> <code>$newUnencryptedSize</code> <code>$size</code> <code>$size</code> <code>$sourceStorage->filemtime($sourceInternalPath)</code> </InvalidScalarArgument> </file> <file src="lib/private/Files/Storage/Wrapper/Jail.php"> <InvalidReturnStatement occurrences="1"> <code>$this->getWrapperStorage()->filetype($this->getUnjailedPath($path))</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>bool</code> </InvalidReturnType> </file> <file src="lib/private/Files/Storage/Wrapper/Quota.php"> <InvalidReturnStatement occurrences="1"> <code>$extension === 'part'</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> <InvalidScalarArgument occurrences="2"> <code>$free</code> <code>'ext'</code> </InvalidScalarArgument> <ParamNameMismatch occurrences="2"> <code>$source</code> <code>$target</code> </ParamNameMismatch> </file> <file src="lib/private/Files/Storage/Wrapper/Wrapper.php"> <InvalidReturnStatement occurrences="1"> <code>$this->getWrapperStorage()->test()</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>true</code> </InvalidReturnType> </file> <file src="lib/private/Files/Stream/SeekableHttpStream.php"> <InvalidPropertyAssignmentValue occurrences="2"> <code>$this->current</code> <code>$this->current</code> </InvalidPropertyAssignmentValue> <InvalidReturnType occurrences="2"> <code>stream_close</code> <code>stream_flush</code> </InvalidReturnType> </file> <file src="lib/private/Files/Type/Detection.php"> <ParamNameMismatch occurrences="1"> <code>$mimetype</code> </ParamNameMismatch> </file> <file src="lib/private/Files/Type/Loader.php"> <InvalidReturnStatement occurrences="1"> <code>$update->execute()</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>int</code> </InvalidReturnType> </file> <file src="lib/private/Files/Utils/Scanner.php"> <InvalidReturnStatement occurrences="1"> <code>$mounts</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>\OC\Files\Mount\MountPoint[]</code> </InvalidReturnType> </file> <file src="lib/private/Files/View.php"> <InvalidArgument occurrences="3"> <code>$mount</code> <code>$mount</code> </InvalidArgument> <InvalidNullableReturnType occurrences="2"> <code>\OCP\Files\Mount\IMountPoint</code> <code>string</code> </InvalidNullableReturnType> <InvalidReturnStatement occurrences="1"> <code>$results</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>\OC\Files\Mount\MountPoint</code> </InvalidReturnType> <InvalidScalarArgument occurrences="3"> <code>$fileId</code> <code>$mtime</code> <code>$user</code> </InvalidScalarArgument> <NullableReturnStatement occurrences="6"> <code>$mount</code> <code>Filesystem::getMountManager()->find($this->getAbsolutePath($path))</code> <code>null</code> <code>null</code> <code>null</code> <code>null</code> </NullableReturnStatement> <RedundantCondition occurrences="3"> <code>$data</code> <code>$result && in_array('delete', $hooks) and $result</code> <code>is_resource($source)</code> </RedundantCondition> <UndefinedDocblockClass occurrences="2"> <code>$storage</code> <code>[$storage, $internalPath]</code> </UndefinedDocblockClass> </file> <file src="lib/private/FullTextSearch/Model/IndexDocument.php"> <TypeDoesNotContainNull occurrences="1"> <code>is_null($this->getContent())</code> </TypeDoesNotContainNull> </file> <file src="lib/private/Group/Database.php"> <InvalidArrayOffset occurrences="1"> <code>$this->groupCache[$gid]['displayname']</code> </InvalidArrayOffset> <InvalidPropertyAssignmentValue occurrences="3"> <code>$this->groupCache</code> <code>$this->groupCache</code> <code>$this->groupCache</code> </InvalidPropertyAssignmentValue> </file> <file src="lib/private/Group/Group.php"> <InvalidArgument occurrences="7"> <code>IGroup::class . '::postAddUser'</code> <code>IGroup::class . '::postDelete'</code> <code>IGroup::class . '::postRemoveUser'</code> <code>IGroup::class . '::preAddUser'</code> <code>IGroup::class . '::preDelete'</code> <code>IGroup::class . '::preRemoveUser'</code> <code>bool</code> </InvalidArgument> <InvalidOperand occurrences="1"> <code>$hide</code> </InvalidOperand> <MoreSpecificImplementedParamType occurrences="1"> <code>$user</code> </MoreSpecificImplementedParamType> <RedundantCondition occurrences="3"> <code>$this->emitter</code> <code>$this->emitter</code> <code>$this->emitter</code> </RedundantCondition> <TooManyArguments occurrences="6"> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> </TooManyArguments> <UndefinedMethod occurrences="4"> <code>addToGroup</code> <code>countUsersInGroup</code> <code>deleteGroup</code> <code>removeFromGroup</code> </UndefinedMethod> </file> <file src="lib/private/Group/Manager.php"> <UndefinedInterfaceMethod occurrences="3"> <code>createGroup</code> <code>getGroupDetails</code> <code>isAdmin</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Group/MetaData.php"> <InvalidPropertyAssignmentValue occurrences="2"> <code>$sortMode</code> <code>self::SORT_NONE</code> </InvalidPropertyAssignmentValue> </file> <file src="lib/private/Http/Client/Response.php"> <InvalidNullableReturnType occurrences="1"> <code>string|resource</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"/> </file> <file src="lib/private/Installer.php"> <FalsableReturnStatement occurrences="1"> <code>false</code> </FalsableReturnStatement> <InvalidArrayOffset occurrences="2"> <code>$app['path']</code> <code>$app['path']</code> </InvalidArrayOffset> <NullArgument occurrences="1"> <code>null</code> </NullArgument> <RedundantCondition occurrences="1"> <code>$archive</code> </RedundantCondition> </file> <file src="lib/private/IntegrityCheck/Checker.php"> <InvalidArrayAccess occurrences="3"> <code>$x509->getDN(X509::DN_OPENSSL)['CN']</code> <code>$x509->getDN(X509::DN_OPENSSL)['CN']</code> <code>$x509->getDN(true)['CN']</code> </InvalidArrayAccess> <UndefinedInterfaceMethod occurrences="2"> <code>getAllAliases</code> <code>getOnlyDefaultAliases</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/L10N/Factory.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>null|string</code> </ImplementedReturnTypeMismatch> <LessSpecificImplementedReturnType occurrences="1"> <code>array|mixed</code> </LessSpecificImplementedReturnType> </file> <file src="lib/private/LargeFileHelper.php"> <InvalidOperand occurrences="2"> <code>$matches[1]</code> <code>$result</code> </InvalidOperand> <InvalidScalarArgument occurrences="1"> <code>$data</code> </InvalidScalarArgument> </file> <file src="lib/private/Lockdown/Filesystem/NullCache.php"> <InvalidNullableReturnType occurrences="1"> <code>get</code> </InvalidNullableReturnType> <InvalidReturnStatement occurrences="1"> <code>[]</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>getIncomplete</code> </InvalidReturnType> <NullableReturnStatement occurrences="1"/> </file> <file src="lib/private/Lockdown/Filesystem/NullStorage.php"> <InvalidNullableReturnType occurrences="2"> <code>getOwner</code> <code>getPermissions</code> </InvalidNullableReturnType> <InvalidReturnStatement occurrences="2"> <code>new IteratorDirectory([])</code> <code>new NullCache()</code> </InvalidReturnStatement> <InvalidReturnType occurrences="2"> <code>getCache</code> <code>opendir</code> </InvalidReturnType> <NullableReturnStatement occurrences="2"> <code>null</code> <code>null</code> </NullableReturnStatement> <TooManyArguments occurrences="1"> <code>new IteratorDirectory([])</code> </TooManyArguments> </file> <file src="lib/private/Lockdown/LockdownManager.php"> <InvalidFunctionCall occurrences="1"> <code>$callback()</code> </InvalidFunctionCall> <InvalidPropertyAssignmentValue occurrences="1"> <code>$sessionCallback</code> </InvalidPropertyAssignmentValue> </file> <file src="lib/private/Log.php"> <RedundantCondition occurrences="1"> <code>$request</code> </RedundantCondition> </file> <file src="lib/private/Log/File.php"> <TypeDoesNotContainNull occurrences="1"> <code>$limit === null</code> </TypeDoesNotContainNull> </file> <file src="lib/private/Log/LogDetails.php"> <RedundantCondition occurrences="1"> <code>is_string($request->getMethod())</code> </RedundantCondition> </file> <file src="lib/private/Log/Rotate.php"> <ParamNameMismatch occurrences="1"> <code>$dummy</code> </ParamNameMismatch> </file> <file src="lib/private/Log/Systemdlog.php"> <UndefinedFunction occurrences="1"/> </file> <file src="lib/private/Mail/Mailer.php"> <InvalidNullableReturnType occurrences="1"> <code>string[]</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>$failedRecipients</code> </NullableReturnStatement> <UndefinedInterfaceMethod occurrences="3"> <code>getSubject</code> <code>getSwiftMessage</code> <code>getTo</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Memcache/APCu.php"> <InvalidReturnStatement occurrences="1"> <code>apcu_add($this->getPrefix() . $key, $value, $ttl)</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>bool</code> </InvalidReturnType> </file> <file src="lib/private/Memcache/Cache.php"> <LessSpecificImplementedReturnType occurrences="4"> <code>mixed</code> <code>mixed</code> <code>mixed</code> <code>mixed</code> </LessSpecificImplementedReturnType> </file> <file src="lib/private/Memcache/Memcached.php"> <RedundantCondition occurrences="1"> <code>method_exists(self::$cache, 'deleteMulti')</code> </RedundantCondition> </file> <file src="lib/private/Memcache/Redis.php"> <InvalidMethodCall occurrences="2"> <code>exec</code> <code>exec</code> </InvalidMethodCall> </file> <file src="lib/private/Migration/BackgroundRepair.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$jobList</code> </MoreSpecificImplementedParamType> </file> <file src="lib/private/NavigationManager.php"> <ParamNameMismatch occurrences="1"> <code>$id</code> </ParamNameMismatch> </file> <file src="lib/private/Notification/Manager.php"> <TypeDoesNotContainType occurrences="2"> <code>!($notification instanceof INotification)</code> <code>!($notification instanceof INotification)</code> </TypeDoesNotContainType> </file> <file src="lib/private/Preview/BackgroundCleanupJob.php"> <InvalidReturnStatement occurrences="1"> <code>[]</code> </InvalidReturnStatement> </file> <file src="lib/private/Preview/Bitmap.php"> <ImplicitToStringCast occurrences="1"> <code>$bp</code> </ImplicitToStringCast> </file> <file src="lib/private/Preview/Generator.php"> <InvalidArgument occurrences="2"> <code>$maxPreviewImage</code> <code>IPreview::EVENT</code> </InvalidArgument> <InvalidNullableReturnType occurrences="1"> <code>ISimpleFile</code> </InvalidNullableReturnType> <InvalidScalarArgument occurrences="2"> <code>$file->getId()</code> <code>$file->getId()</code> </InvalidScalarArgument> <MismatchingDocblockParamType occurrences="1"> <code>ISimpleFile</code> </MismatchingDocblockParamType> <NullableReturnStatement occurrences="1"> <code>$preview</code> </NullableReturnStatement> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> <UndefinedInterfaceMethod occurrences="7"> <code>height</code> <code>height</code> <code>preciseResizeCopy</code> <code>resizeCopy</code> <code>valid</code> <code>width</code> <code>width</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Preview/GeneratorHelper.php"> <InvalidNullableReturnType occurrences="1"> <code>bool|IImage</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>$provider->getThumbnail($file, $maxWidth, $maxHeight)</code> </NullableReturnStatement> </file> <file src="lib/private/Preview/HEIC.php"> <ImplicitToStringCast occurrences="1"> <code>$bp</code> </ImplicitToStringCast> </file> <file src="lib/private/Preview/Movie.php"> <InvalidScalarArgument occurrences="2"> <code>$second</code> <code>$second</code> </InvalidScalarArgument> </file> <file src="lib/private/Preview/Office.php"> <ForbiddenCode occurrences="3"> <code>shell_exec($exec)</code> <code>shell_exec('command -v libreoffice')</code> <code>shell_exec('command -v openoffice')</code> </ForbiddenCode> <ImplicitToStringCast occurrences="1"> <code>$png</code> </ImplicitToStringCast> </file> <file src="lib/private/Preview/ProviderV1Adapter.php"> <InvalidReturnStatement occurrences="1"> <code>$thumbnail === false ? null: $thumbnail</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>?IImage</code> </InvalidReturnType> </file> <file src="lib/private/Preview/ProviderV2.php"> <InvalidReturnStatement occurrences="1"> <code>$file->getStorage()->getLocalFile($file->getInternalPath())</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>string</code> </InvalidReturnType> </file> <file src="lib/private/Preview/SVG.php"> <ImplicitToStringCast occurrences="1"> <code>$svg</code> </ImplicitToStringCast> </file> <file src="lib/private/PreviewManager.php"> <ForbiddenCode occurrences="2"> <code>shell_exec('command -v libreoffice')</code> <code>shell_exec('command -v openoffice')</code> </ForbiddenCode> </file> <file src="lib/private/RedisFactory.php"> <InvalidScalarArgument occurrences="1"> <code>\RedisCluster::OPT_SLAVE_FAILOVER</code> </InvalidScalarArgument> </file> <file src="lib/private/Remote/Api/OCS.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>array</code> </ImplementedReturnTypeMismatch> </file> <file src="lib/private/Remote/Instance.php"> <InvalidReturnStatement occurrences="1"> <code>$request->getBody()</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>bool|string</code> </InvalidReturnType> <InvalidScalarArgument occurrences="1"> <code>$response</code> </InvalidScalarArgument> </file> <file src="lib/private/Repair.php"> <InvalidArgument occurrences="1"> <code>"$scope::$method"</code> </InvalidArgument> <ParamNameMismatch occurrences="1"> <code>$string</code> </ParamNameMismatch> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> </file> <file src="lib/private/Repair/Owncloud/CleanPreviewsBackgroundJob.php"> <ParamNameMismatch occurrences="1"> <code>$arguments</code> </ParamNameMismatch> </file> <file src="lib/private/Repair/Owncloud/MoveAvatarsBackgroundJob.php"> <ParamNameMismatch occurrences="1"> <code>$arguments</code> </ParamNameMismatch> </file> <file src="lib/private/Repair/RemoveLinkShares.php"> <ImplicitToStringCast occurrences="2"> <code>$query->createFunction('(' . $subQuery->getSQL() . ')')</code> <code>$subQuery->createFunction('(' . $subSubQuery->getSQL() . ')')</code> </ImplicitToStringCast> <InvalidPropertyAssignmentValue occurrences="1"> <code>$this->userToNotify</code> </InvalidPropertyAssignmentValue> </file> <file src="lib/private/Repair/RepairInvalidShares.php"> <ParamNameMismatch occurrences="1"> <code>$out</code> </ParamNameMismatch> </file> <file src="lib/private/Repair/RepairMimeTypes.php"> <ParamNameMismatch occurrences="1"> <code>$out</code> </ParamNameMismatch> </file> <file src="lib/private/Repair/SqliteAutoincrement.php"> <ParamNameMismatch occurrences="1"> <code>$out</code> </ParamNameMismatch> </file> <file src="lib/private/Route/Router.php"> <InvalidClass occurrences="1"> <code>\OC_APP</code> </InvalidClass> <InvalidNullableReturnType occurrences="1"> <code>string</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>$this->collectionName</code> </NullableReturnStatement> </file> <file src="lib/private/Search.php"> <RedundantCondition occurrences="1"> <code>$provider instanceof Provider</code> </RedundantCondition> </file> <file src="lib/private/Search/Result/File.php"> <InvalidPropertyAssignmentValue occurrences="4"> <code>$data->getId()</code> <code>$data->getMtime()</code> <code>$data->getPermissions()</code> <code>$this->hasPreview($data)</code> </InvalidPropertyAssignmentValue> </file> <file src="lib/private/Security/Bruteforce/Throttler.php"> <NullArgument occurrences="1"> <code>null</code> </NullArgument> </file> <file src="lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php"> <NoInterfaceProperties occurrences="1"> <code>$this->request->server</code> </NoInterfaceProperties> </file> <file src="lib/private/Security/CredentialsManager.php"> <InvalidReturnStatement occurrences="2"> <code>$qb->execute()</code> <code>$qb->execute()</code> </InvalidReturnStatement> <InvalidReturnType occurrences="2"> <code>int</code> <code>int</code> </InvalidReturnType> </file> <file src="lib/private/Security/Crypto.php"> <InternalMethod occurrences="6"> <code>decrypt</code> <code>encrypt</code> <code>setIV</code> <code>setIV</code> <code>setPassword</code> <code>setPassword</code> </InternalMethod> </file> <file src="lib/private/Server.php"> <ImplementedReturnTypeMismatch occurrences="3"> <code>\OCP\Calendar\Resource\IManager</code> <code>\OCP\Calendar\Room\IManager</code> <code>\OCP\Files\Folder|null</code> </ImplementedReturnTypeMismatch> <InvalidCatch occurrences="1"/> <UndefinedDocblockClass occurrences="1"> <code>\OC\OCSClient</code> </UndefinedDocblockClass> </file> <file src="lib/private/ServerContainer.php"> <InvalidPropertyAssignmentValue occurrences="1"> <code>$this->hasNoAppContainer</code> </InvalidPropertyAssignmentValue> </file> <file src="lib/private/Session/Internal.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$value</code> </MoreSpecificImplementedParamType> </file> <file src="lib/private/Session/Memory.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$value</code> </MoreSpecificImplementedParamType> </file> <file src="lib/private/Setup.php"> <InvalidScalarArgument occurrences="2"> <code>microtime(true)</code> <code>microtime(true)</code> </InvalidScalarArgument> <RedundantCondition occurrences="2"> <code>$content !== ''</code> <code>$type === 'pdo'</code> </RedundantCondition> </file> <file src="lib/private/Setup/AbstractDatabase.php"> <UndefinedThisPropertyFetch occurrences="4"> <code>$this->dbprettyname</code> <code>$this->dbprettyname</code> <code>$this->dbprettyname</code> <code>$this->dbprettyname</code> </UndefinedThisPropertyFetch> </file> <file src="lib/private/Setup/MySQL.php"> <InvalidReturnType occurrences="1"> <code>array</code> </InvalidReturnType> <ParamNameMismatch occurrences="1"> <code>$username</code> </ParamNameMismatch> </file> <file src="lib/private/Setup/OCI.php"> <ParamNameMismatch occurrences="1"> <code>$username</code> </ParamNameMismatch> </file> <file src="lib/private/Setup/PostgreSQL.php"> <ParamNameMismatch occurrences="1"> <code>$username</code> </ParamNameMismatch> </file> <file src="lib/private/Setup/Sqlite.php"> <ParamNameMismatch occurrences="1"> <code>$username</code> </ParamNameMismatch> </file> <file src="lib/private/Share/Share.php"> <FalsableReturnStatement occurrences="1"> <code>false</code> </FalsableReturnStatement> <InvalidArgument occurrences="1"> <code>$arguments</code> </InvalidArgument> <InvalidOperand occurrences="1"> <code>!self::isResharingAllowed()</code> </InvalidOperand> <InvalidScalarArgument occurrences="2"> <code>\OC_User::getUser()</code> <code>\OC_User::getUser()</code> </InvalidScalarArgument> <UndefinedInterfaceMethod occurrences="2"> <code>getParents</code> <code>getParents</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Share20/DefaultShareProvider.php"> <InvalidScalarArgument occurrences="3"> <code>$share->getId()</code> <code>$share->getId()</code> <code>(int)$data['id']</code> </InvalidScalarArgument> <TooManyArguments occurrences="1"> <code>set</code> </TooManyArguments> <UndefinedInterfaceMethod occurrences="1"> <code>getParent</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Share20/Manager.php"> <InvalidArgument occurrences="6"> <code>'OCP\Share::postAcceptShare'</code> <code>'OCP\Share::postShare'</code> <code>'OCP\Share::postUnshare'</code> <code>'OCP\Share::postUnshareFromSelf'</code> <code>'OCP\Share::preShare'</code> <code>'OCP\Share::preUnshare'</code> </InvalidArgument> <InvalidScalarArgument occurrences="2"> <code>$id</code> <code>$this->shareApiLinkDefaultExpireDays()</code> </InvalidScalarArgument> <TooManyArguments occurrences="7"> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> <code>update</code> </TooManyArguments> <UndefinedClass occurrences="1"> <code>\OCA\Circles\Api\v1\Circles</code> </UndefinedClass> <UndefinedInterfaceMethod occurrences="1"> <code>getChildren</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Share20/ProviderFactory.php"> <InvalidNullableReturnType occurrences="2"> <code>FederatedShareProvider</code> <code>ShareByMailProvider</code> </InvalidNullableReturnType> <InvalidReturnStatement occurrences="4"> <code>$provider</code> <code>$provider</code> <code>$this->roomShareProvider</code> <code>$this->shareByCircleProvider</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>getProviderForType</code> </InvalidReturnType> <NullableReturnStatement occurrences="6"> <code>null</code> <code>null</code> <code>null</code> <code>null</code> <code>null</code> <code>null</code> </NullableReturnStatement> <ParamNameMismatch occurrences="1"> <code>$shareProviderClass</code> </ParamNameMismatch> <UndefinedClass occurrences="1"> <code>\OCA\Circles\ShareByCircleProvider</code> </UndefinedClass> <UndefinedDocblockClass occurrences="5"> <code>RoomShareProvider</code> <code>\OCA\Circles\ShareByCircleProvider</code> <code>\OCA\Talk\Share\RoomShareProvider</code> <code>private $roomShareProvider = null;</code> <code>private $shareByCircleProvider = null;</code> </UndefinedDocblockClass> <UndefinedInterfaceMethod occurrences="4"> <code>getLazyRootFolder</code> <code>getLazyRootFolder</code> <code>getLazyRootFolder</code> <code>getLazyRootFolder</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Streamer.php"> <InvalidArgument occurrences="1"> <code>$fh</code> </InvalidArgument> <UndefinedInterfaceMethod occurrences="1"> <code>get</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/SubAdmin.php"> <UndefinedInterfaceMethod occurrences="2"> <code>listen</code> <code>listen</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/Support/Subscription/Registry.php"> <UndefinedInterfaceMethod occurrences="2"> <code>countUsers</code> <code>getSupportedApps</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/SystemTag/SystemTagManager.php"> <FalsableReturnStatement occurrences="3"> <code>false</code> <code>false</code> <code>false</code> </FalsableReturnStatement> <InvalidArgument occurrences="3"> <code>ManagerEvent::EVENT_CREATE</code> <code>ManagerEvent::EVENT_DELETE</code> <code>ManagerEvent::EVENT_UPDATE</code> </InvalidArgument> <InvalidReturnType occurrences="2"> <code>bool</code> <code>bool</code> </InvalidReturnType> <TooManyArguments occurrences="3"> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> </TooManyArguments> </file> <file src="lib/private/SystemTag/SystemTagObjectMapper.php"> <InvalidArgument occurrences="2"> <code>MapperEvent::EVENT_ASSIGN</code> <code>MapperEvent::EVENT_UNASSIGN</code> </InvalidArgument> <TooManyArguments occurrences="2"> <code>dispatch</code> <code>dispatch</code> </TooManyArguments> </file> <file src="lib/private/TagManager.php"> <InvalidNullableReturnType occurrences="1"> <code>\OCP\ITags</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> </file> <file src="lib/private/Tags.php"> <InvalidArgument occurrences="1"> <code>[$this->user, $this->type, $chunk]</code> </InvalidArgument> <InvalidScalarArgument occurrences="2"> <code>$from</code> <code>$names</code> </InvalidScalarArgument> <MoreSpecificImplementedParamType occurrences="1"> <code>$tag</code> </MoreSpecificImplementedParamType> </file> <file src="lib/private/TempManager.php"> <FalsableReturnStatement occurrences="2"> <code>false</code> <code>false</code> </FalsableReturnStatement> </file> <file src="lib/private/Template/CSSResourceLocator.php"> <ParamNameMismatch occurrences="2"> <code>$style</code> <code>$style</code> </ParamNameMismatch> </file> <file src="lib/private/Template/JSConfigHelper.php"> <NullArgument occurrences="2"> <code>null</code> <code>null</code> </NullArgument> </file> <file src="lib/private/Template/JSResourceLocator.php"> <InvalidOperand occurrences="6"> <code>$this->appendIfExist($this->serverroot, $script.'.js')</code> <code>$this->appendIfExist($this->serverroot, $theme_dir.$script.'.js')</code> <code>$this->appendIfExist($this->serverroot, $theme_dir.'apps/'.$script.'.js')</code> <code>$this->appendIfExist($this->serverroot, $theme_dir.'core/'.$script.'.js')</code> <code>$this->appendIfExist($this->serverroot, 'apps/'.$script.'.js')</code> <code>$this->appendIfExist($this->serverroot, 'core/'.$script.'.js')</code> </InvalidOperand> <ParamNameMismatch occurrences="2"> <code>$script</code> <code>$script</code> </ParamNameMismatch> </file> <file src="lib/private/TemplateLayout.php"> <InvalidParamDefault occurrences="2"> <code>string</code> <code>string</code> </InvalidParamDefault> <InvalidScalarArgument occurrences="3"> <code>$appName</code> <code>$appName</code> <code>\OC_User::getUser()</code> </InvalidScalarArgument> <TooManyArguments occurrences="1"> <code>Util::addScript('dist/unified-search', null, true)</code> </TooManyArguments> <UndefinedInterfaceMethod occurrences="1"> <code>getInitialStates</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/URLGenerator.php"> <InvalidReturnStatement occurrences="1"> <code>$path</code> </InvalidReturnStatement> </file> <file src="lib/private/Updater.php"> <InvalidScalarArgument occurrences="13"> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>0</code> <code>1</code> <code>1</code> <code>1</code> <code>1</code> </InvalidScalarArgument> </file> <file src="lib/private/Updater/VersionCheck.php"> <InvalidScalarArgument occurrences="2"> <code>microtime(true)</code> <code>time()</code> </InvalidScalarArgument> </file> <file src="lib/private/User/Database.php"> <FalsableReturnStatement occurrences="1"> <code>false</code> </FalsableReturnStatement> <ImplicitToStringCast occurrences="1"> <code>$query->func()->lower('displayname')</code> </ImplicitToStringCast> </file> <file src="lib/private/User/Manager.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>array|int</code> </ImplementedReturnTypeMismatch> <InvalidNullableReturnType occurrences="1"> <code>bool|IUser</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="2"> <code>$this->createUserFromBackend($uid, $password, $backend)</code> <code>$this->createUserFromBackend($uid, $password, $backend)</code> </NullableReturnStatement> <UndefinedInterfaceMethod occurrences="5"> <code>checkPassword</code> <code>checkPassword</code> <code>countUsers</code> <code>createUser</code> <code>getUsersForUserValueCaseInsensitive</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/User/Session.php"> <ImplementedReturnTypeMismatch occurrences="1"> <code>boolean|null</code> </ImplementedReturnTypeMismatch> <InvalidArgument occurrences="1"> <code>IUser::class . '::firstLogin'</code> </InvalidArgument> <InvalidScalarArgument occurrences="2"> <code>$this->timeFactory->getTime()</code> <code>$this->timeFactory->getTime()</code> </InvalidScalarArgument> <NoInterfaceProperties occurrences="2"> <code>$request->server</code> <code>$request->server</code> </NoInterfaceProperties> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> <UndefinedMethod occurrences="1"> <code>getByEmail</code> </UndefinedMethod> </file> <file src="lib/private/User/User.php"> <InvalidArgument occurrences="5"> <code>IUser::class . '::changeUser'</code> <code>IUser::class . '::postDelete'</code> <code>IUser::class . '::postSetPassword'</code> <code>IUser::class . '::preDelete'</code> <code>IUser::class . '::preSetPassword'</code> </InvalidArgument> <InvalidNullableReturnType occurrences="1"> <code>getBackend</code> </InvalidNullableReturnType> <InvalidPropertyAssignmentValue occurrences="1"> <code>$this->config->getUserValue($uid, 'login', 'lastLogin', 0)</code> </InvalidPropertyAssignmentValue> <InvalidReturnStatement occurrences="1"> <code>$image</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>IImage|null</code> </InvalidReturnType> <InvalidScalarArgument occurrences="2"> <code>$quota</code> <code>$this->lastLogin</code> </InvalidScalarArgument> <NullableReturnStatement occurrences="1"> <code>$this->backend</code> </NullableReturnStatement> <TooManyArguments occurrences="5"> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> <code>dispatch</code> </TooManyArguments> <UndefinedInterfaceMethod occurrences="5"> <code>canChangeAvatar</code> <code>deleteUserAvatar</code> <code>getHome</code> <code>setDisplayName</code> <code>setPassword</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/legacy/OC_API.php"> <InvalidNullableReturnType occurrences="1"> <code>int</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> </file> <file src="lib/private/legacy/OC_App.php"> <InvalidArgument occurrences="2"> <code>$groupsList</code> <code>ManagerEvent::EVENT_APP_UPDATE</code> </InvalidArgument> <InvalidArrayOffset occurrences="2"> <code>$dir['path']</code> <code>$dir['url']</code> </InvalidArrayOffset> <NullArgument occurrences="1"> <code>null</code> </NullArgument> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> <TooManyArguments occurrences="1"> <code>dispatch</code> </TooManyArguments> <TypeDoesNotContainNull occurrences="2"> <code>$appId === null</code> <code>$appId === null</code> </TypeDoesNotContainNull> </file> <file src="lib/private/legacy/OC_DB.php"> <InvalidReturnStatement occurrences="1"> <code>$result</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>OC_DB_StatementWrapper</code> </InvalidReturnType> </file> <file src="lib/private/legacy/OC_FileChunking.php"> <UndefinedDocblockClass occurrences="1"> <code>\OC\InsufficientStorageException</code> </UndefinedDocblockClass> </file> <file src="lib/private/legacy/OC_Files.php"> <InvalidArgument occurrences="3"> <code>$fh</code> <code>$fileInfos</code> <code>[$fileInfo]</code> </InvalidArgument> <InvalidScalarArgument occurrences="1"> <code>mt_rand()</code> </InvalidScalarArgument> <RedundantCondition occurrences="2"> <code>$getType === self::ZIP_DIR</code> <code>$getType === self::ZIP_DIR</code> </RedundantCondition> <UndefinedInterfaceMethod occurrences="2"> <code>get</code> <code>get</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/legacy/OC_Helper.php"> <InvalidOperand occurrences="1"> <code>$matches[1][$last_match][0]</code> </InvalidOperand> <InvalidReturnStatement occurrences="4"> <code>(INF > 0)? INF: PHP_INT_MAX</code> <code>INF</code> <code>max($upload_max_filesize, $post_max_size)</code> <code>min($upload_max_filesize, $post_max_size)</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>int</code> </InvalidReturnType> <InvalidScalarArgument occurrences="4"> <code>$includeExtStorage ? 'ext' : false</code> <code>$path</code> <code>$quota</code> <code>'ext'</code> </InvalidScalarArgument> <RedundantCondition occurrences="1"> <code>count($obd_values) > 0</code> </RedundantCondition> <UndefinedInterfaceMethod occurrences="1"> <code>getSourceStorage</code> </UndefinedInterfaceMethod> </file> <file src="lib/private/legacy/OC_Image.php"> <FalsableReturnStatement occurrences="3"> <code>$this->resource</code> <code>$this->valid() ? imagesx($this->resource) : -1</code> <code>$this->valid() ? imagesy($this->resource) : -1</code> </FalsableReturnStatement> <ImplementedReturnTypeMismatch occurrences="1"> <code>null|string</code> </ImplementedReturnTypeMismatch> <InvalidArrayOffset occurrences="2"> <code>$data[floor($p)]</code> <code>$data[floor($p)]</code> </InvalidArrayOffset> <InvalidPropertyAssignmentValue occurrences="1"> <code>$resource</code> </InvalidPropertyAssignmentValue> <InvalidScalarArgument occurrences="4"> <code>$this->bitDepth</code> <code>$x</code> <code>$y</code> <code>90</code> </InvalidScalarArgument> <RedundantCondition occurrences="1"> <code>$isWritable</code> </RedundantCondition> <TypeDoesNotContainType occurrences="2"> <code>get_class($resource) === 'GdImage'</code> <code>get_class($this->resource) === 'GdImage'</code> </TypeDoesNotContainType> </file> <file src="lib/private/legacy/OC_JSON.php"> <InvalidScalarArgument occurrences="1"> <code>OC_User::getUser()</code> </InvalidScalarArgument> </file> <file src="lib/private/legacy/OC_User.php"> <UndefinedClass occurrences="1"> <code>\Test\Util\User\Dummy</code> </UndefinedClass> </file> <file src="lib/private/legacy/OC_Util.php"> <InternalMethod occurrences="2"> <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($prevLogging)</code> <code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code> </InternalMethod> <InvalidLiteralArgument occurrences="1"> <code>\OCP\Constants::FILENAME_INVALID_CHARS</code> </InvalidLiteralArgument> <InvalidReturnStatement occurrences="1"> <code>OC_Helper::computerFileSize($userQuota)</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>float</code> </InvalidReturnType> <InvalidScalarArgument occurrences="2"> <code>$user</code> <code>OC_User::getUser()</code> </InvalidScalarArgument> <RedundantCondition occurrences="2"> <code>'off'</code> <code>is_string($expected)</code> </RedundantCondition> <TypeDoesNotContainType occurrences="3"> <code>is_bool($expected)</code> <code>is_bool($setting[1])</code> <code>is_int($expected)</code> </TypeDoesNotContainType> <UndefinedInterfaceMethod occurrences="1"> <code>clearCache</code> </UndefinedInterfaceMethod> </file> <file src="lib/public/AppFramework/ApiController.php"> <NoInterfaceProperties occurrences="1"> <code>$this->request->server</code> </NoInterfaceProperties> </file> <file src="lib/public/AppFramework/App.php"> <InternalMethod occurrences="1"> <code>new RouteConfig($this->container, $router, $routes)</code> </InternalMethod> </file> <file src="lib/public/AppFramework/Bootstrap/IBootContext.php"> <InvalidThrow occurrences="1"> <code>ContainerExceptionInterface</code> </InvalidThrow> </file> <file src="lib/public/AppFramework/Db/Entity.php"> <InvalidNullableReturnType occurrences="1"> <code>string</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>$column</code> </NullableReturnStatement> </file> <file src="lib/public/AppFramework/Http/JSONResponse.php"> <InvalidReturnStatement occurrences="1"> <code>$this->data</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>array</code> </InvalidReturnType> </file> <file src="lib/public/AppFramework/Http/ZipResponse.php"> <InvalidArrayAccess occurrences="5"> <code>$resource['internalName']</code> <code>$resource['resource']</code> <code>$resource['size']</code> <code>$resource['size']</code> <code>$resource['time']</code> </InvalidArrayAccess> <InvalidPropertyAssignmentValue occurrences="1"> <code>$this->resources</code> </InvalidPropertyAssignmentValue> </file> <file src="lib/public/BackgroundJob/TimedJob.php"> <MoreSpecificImplementedParamType occurrences="1"> <code>$jobList</code> </MoreSpecificImplementedParamType> </file> <file src="lib/public/Dashboard/Model/WidgetTemplate.php"> <InvalidNullableReturnType occurrences="1"> <code>WidgetSetting</code> </InvalidNullableReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> </NullableReturnStatement> </file> <file src="lib/public/Diagnostics/IQueryLogger.php"> <LessSpecificImplementedReturnType occurrences="1"> <code>mixed</code> </LessSpecificImplementedReturnType> </file> <file src="lib/public/Files.php"> <FalsableReturnStatement occurrences="1"> <code>\OC_App::getStorage($app)</code> </FalsableReturnStatement> </file> <file src="lib/public/Files/Storage.php"> <InvalidParamDefault occurrences="1"> <code>array</code> </InvalidParamDefault> </file> <file src="lib/public/FullTextSearch/Model/ISearchRequest.php"> <InvalidClass occurrences="1"> <code>IsearchRequest</code> </InvalidClass> </file> <file src="lib/public/IAddressBook.php"> <InvalidDocblock occurrences="1"> <code>public function getUri(): string;</code> </InvalidDocblock> </file> <file src="lib/public/IAvatar.php"> <UndefinedDocblockClass occurrences="1"> <code>Color</code> </UndefinedDocblockClass> </file> <file src="lib/public/IContainer.php"> <InvalidThrow occurrences="2"> <code>ContainerExceptionInterface</code> <code>ContainerExceptionInterface</code> </InvalidThrow> </file> <file src="lib/public/IDBConnection.php"> <InvalidClass occurrences="1"> <code>PreconditionNotMetException</code> </InvalidClass> </file> <file src="lib/public/Search/SearchResult.php"> <InvalidArgument occurrences="1"> <code>$cursor</code> </InvalidArgument> </file> <file src="lib/public/Share.php"> <InvalidReturnType occurrences="3"> <code>array</code> <code>array|bool</code> <code>mixed</code> </InvalidReturnType> </file> <file src="lib/public/Util.php"> <InvalidReturnStatement occurrences="1"> <code>\OC_Helper::computerFileSize($str)</code> </InvalidReturnStatement> <InvalidReturnType occurrences="1"> <code>float</code> </InvalidReturnType> </file> <file src="remote.php"> <InvalidScalarArgument occurrences="1"> <code>$e->getCode()</code> </InvalidScalarArgument> </file> </files>