6304 lines
230 KiB
XML
6304 lines
230 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<files psalm-version="3.14.1@9822043ca46d6682b76097bfa97d7c450eef9e90">
|
|
<file src="3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>string|null</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
</file>
|
|
<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/accessibility/lib/Controller/AccessibilityController.php">
|
|
<UndefinedThisPropertyAssignment occurrences="1">
|
|
<code>$this->appRoot</code>
|
|
</UndefinedThisPropertyAssignment>
|
|
<UndefinedThisPropertyFetch occurrences="2">
|
|
<code>$this->appRoot</code>
|
|
<code>$this->appRoot</code>
|
|
</UndefinedThisPropertyFetch>
|
|
</file>
|
|
<file src="apps/admin_audit/lib/AppInfo/Application.php">
|
|
<UndefinedInterfaceMethod occurrences="3">
|
|
<code>listen</code>
|
|
<code>listen</code>
|
|
<code>listen</code>
|
|
</UndefinedInterfaceMethod>
|
|
</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/JSSettingsHelper.php">
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>10</code>
|
|
</InvalidScalarArgument>
|
|
</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/contactsinteraction/lib/BackgroundJob/CleanupJob.php">
|
|
<InvalidReturnType occurrences="1">
|
|
<code>run</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="apps/contactsinteraction/lib/Db/CardSearchDao.php">
|
|
<ImplicitToStringCast occurrences="3">
|
|
<code>$propQuery->createFunction($addressbooksQuery->getSQL())</code>
|
|
<code>$cardQuery->createFunction($propQuery->getSQL())</code>
|
|
<code>$cardQuery->createFunction($addressbooksQuery->getSQL())</code>
|
|
</ImplicitToStringCast>
|
|
</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(false)</code>
|
|
<code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($previousLog)</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>
|
|
<MissingFile occurrences="1">
|
|
<code>require '../../../../3rdparty/autoload.php'</code>
|
|
</MissingFile>
|
|
</file>
|
|
<file src="apps/dav/lib/AppInfo/Application.php">
|
|
<UndefinedFunction occurrences="1">
|
|
<code>\Sabre\Uri\split($principalUri)</code>
|
|
</UndefinedFunction>
|
|
<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">
|
|
<InvalidReturnType occurrences="1">
|
|
<code>run</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="apps/dav/lib/BackgroundJob/RegisterRegenerateBirthdayCalendars.php">
|
|
<InvalidReturnType occurrences="1">
|
|
<code>run</code>
|
|
</InvalidReturnType>
|
|
</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">
|
|
<InvalidArrayOffset occurrences="1">
|
|
<code>$user['uri']</code>
|
|
</InvalidArrayOffset>
|
|
<UndefinedMethod occurrences="2">
|
|
<code>setDateTime</code>
|
|
<code>setDateTime</code>
|
|
</UndefinedMethod>
|
|
<UndefinedPropertyFetch occurrences="4">
|
|
<code>$newCalendarData->VEVENT->DTSTART</code>
|
|
<code>$existingBirthday->VEVENT->DTSTART</code>
|
|
<code>$newCalendarData->VEVENT->SUMMARY</code>
|
|
<code>$existingBirthday->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>
|
|
</file>
|
|
<file src="apps/dav/lib/CalDAV/CalDavBackend.php">
|
|
<ImplicitToStringCast occurrences="8">
|
|
<code>$query->createParameter('principaluri')</code>
|
|
<code>$query->createNamedParameter(self::ACCESS_PUBLIC)</code>
|
|
<code>$query->createNamedParameter(self::ACCESS_PUBLIC)</code>
|
|
<code>$query->createNamedParameter($value)</code>
|
|
<code>$query->createParameter('uri')</code>
|
|
<code>$outerQuery->createFunction($innerQuery->getSQL())</code>
|
|
<code>$calendarObjectIdQuery->createNamedParameter($componentTypes, IQueryBuilder::PARAM_STR_ARRAY)</code>
|
|
<code>$query->createNamedParameter($matches, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidArgument occurrences="14">
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::createCalendar'</code>
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateCalendar'</code>
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCalendar'</code>
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::createCalendarObject'</code>
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::createCachedCalendarObject'</code>
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateCalendarObject'</code>
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateCachedCalendarObject'</code>
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCalendarObject'</code>
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCachedCalendarObject'</code>
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::createSubscription'</code>
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateSubscription'</code>
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteSubscription'</code>
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateShares'</code>
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::publishCalendar'</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>
|
|
<TooManyArguments occurrences="15">
|
|
<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>purgeProperties</code>
|
|
<code>dispatch</code>
|
|
<code>dispatch</code>
|
|
<code>dispatch</code>
|
|
<code>dispatch</code>
|
|
<code>dispatch</code>
|
|
</TooManyArguments>
|
|
<UndefinedFunction occurrences="4">
|
|
<code>Uri\split($row['principaluri'])</code>
|
|
<code>Uri\split($row['principaluri'])</code>
|
|
<code>Uri\split($row['principaluri'])</code>
|
|
<code>Uri\split($principalUri)</code>
|
|
</UndefinedFunction>
|
|
</file>
|
|
<file src="apps/dav/lib/CalDAV/Calendar.php">
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>parent::getOwner()</code>
|
|
</NullableReturnStatement>
|
|
</file>
|
|
<file src="apps/dav/lib/CalDAV/CalendarHome.php">
|
|
<InvalidClass occurrences="1">
|
|
<code>\Sabre\CalDAv\Notifications\Collection</code>
|
|
</InvalidClass>
|
|
<InvalidReturnStatement occurrences="5">
|
|
<code>new Inbox($this->caldavBackend, $this->principalInfo['uri'])</code>
|
|
<code>new Outbox($this->config, $this->principalInfo['uri'])</code>
|
|
<code>new \Sabre\CalDAv\Notifications\Collection($this->caldavBackend, $this->principalInfo['uri'])</code>
|
|
<code>new Subscription($this->caldavBackend, $subscription)</code>
|
|
<code>$calendarPlugin->getCalendarInCalendarHome($this->principalInfo['uri'], $calendarUri)</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>getChild</code>
|
|
</InvalidReturnType>
|
|
<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/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/PublicCalendar.php">
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
<code>$paths</code>
|
|
</MoreSpecificImplementedParamType>
|
|
</file>
|
|
<file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php">
|
|
<UndefinedMethod occurrences="3">
|
|
<code>isFloating</code>
|
|
<code>hasTime</code>
|
|
<code>isFloating</code>
|
|
</UndefinedMethod>
|
|
</file>
|
|
<file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php">
|
|
<FalsableReturnStatement occurrences="4">
|
|
<code>$l10n->l('weekdayName', $dt, ['width' => 'abbreviated'])</code>
|
|
<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>
|
|
</FalsableReturnStatement>
|
|
<InvalidReturnStatement occurrences="5">
|
|
<code>[$organizerEMail => $name]</code>
|
|
<code>$l10n->l('weekdayName', $dt, ['width' => 'abbreviated'])</code>
|
|
<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>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="5">
|
|
<code>array|null</code>
|
|
<code>string</code>
|
|
<code>string</code>
|
|
<code>string</code>
|
|
<code>string</code>
|
|
</InvalidReturnType>
|
|
<UndefinedMethod occurrences="3">
|
|
<code>getDateTime</code>
|
|
<code>isFloating</code>
|
|
<code>getDateTime</code>
|
|
</UndefinedMethod>
|
|
</file>
|
|
<file src="apps/dav/lib/CalDAV/Reminder/Notifier.php">
|
|
<FalsableReturnStatement occurrences="4">
|
|
<code>$this->l10n->l('weekdayName', $dt, ['width' => 'abbreviated'])</code>
|
|
<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>
|
|
</FalsableReturnStatement>
|
|
<InvalidReturnStatement occurrences="4">
|
|
<code>$this->l10n->l('weekdayName', $dt, ['width' => 'abbreviated'])</code>
|
|
<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>
|
|
</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="3">
|
|
<code>$meetingLocation</code>
|
|
<code>$meetingDescription</code>
|
|
<code>$meetingUrl</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>string</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>[$sender => $senderName]</code>
|
|
<code>[$recipient => $recipientName]</code>
|
|
</InvalidScalarArgument>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>$lang->getValue()</code>
|
|
</NullableReturnStatement>
|
|
<UndefinedMethod occurrences="15">
|
|
<code>isFloating</code>
|
|
<code>getDateTime</code>
|
|
<code>setDateTime</code>
|
|
<code>hasTime</code>
|
|
<code>isFloating</code>
|
|
<code>getDateTime</code>
|
|
<code>setDateTime</code>
|
|
<code>getDateTime</code>
|
|
<code>getDateTime</code>
|
|
<code>getDateTime</code>
|
|
<code>hasTime</code>
|
|
<code>getDateTime</code>
|
|
<code>getDateTime</code>
|
|
<code>getDateTime</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>getChildren</code>
|
|
<code>get</code>
|
|
</UndefinedInterfaceMethod>
|
|
<UndefinedMethod occurrences="5">
|
|
<code>getDateTime</code>
|
|
<code>isFloating</code>
|
|
<code>hasTime</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']['props'])</code>
|
|
<code>is_array($newProps['filters']['params'])</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/AddressBook.php">
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>parent::getOwner()</code>
|
|
</NullableReturnStatement>
|
|
</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/CardDavBackend.php">
|
|
<FalsableReturnStatement occurrences="1">
|
|
<code>false</code>
|
|
</FalsableReturnStatement>
|
|
<ImplicitToStringCast occurrences="3">
|
|
<code>$query->createParameter('principaluri')</code>
|
|
<code>$query->createParameter('uri')</code>
|
|
<code>$query->createNamedParameter($matches, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidArgument occurrences="3">
|
|
<code>'\OCA\DAV\CardDAV\CardDavBackend::createCard'</code>
|
|
<code>'\OCA\DAV\CardDAV\CardDavBackend::updateCard'</code>
|
|
<code>'\OCA\DAV\CardDAV\CardDavBackend::deleteCard'</code>
|
|
</InvalidArgument>
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>array</code>
|
|
</InvalidNullableReturnType>
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
<code>$uris</code>
|
|
</MoreSpecificImplementedParamType>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>null</code>
|
|
</NullableReturnStatement>
|
|
<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($row['principaluri'])</code>
|
|
<code>\Sabre\Uri\split($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>
|
|
<NullArgument occurrences="1">
|
|
<code>null</code>
|
|
</NullArgument>
|
|
</file>
|
|
<file src="apps/dav/lib/CardDAV/SystemAddressbook.php">
|
|
<RedundantCondition occurrences="1">
|
|
<code>$shareEnumeration && $restrictShareEnumeration</code>
|
|
</RedundantCondition>
|
|
</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/PublicAuth.php">
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>'DummyBasic realm="' . $this->realm . '"'</code>
|
|
</InvalidScalarArgument>
|
|
</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>
|
|
<UndefinedFunction occurrences="1">
|
|
<code>\Sabre\Uri\split($node->getPath())</code>
|
|
</UndefinedFunction>
|
|
</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($source)</code>
|
|
<code>\Sabre\Uri\split($destination)</code>
|
|
<code>\Sabre\Uri\split($filePath)</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>getPath</code>
|
|
<code>getById</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($this->path)</code>
|
|
<code>\Sabre\Uri\split($name)</code>
|
|
</UndefinedFunction>
|
|
</file>
|
|
<file src="apps/dav/lib/Connector/Sabre/ObjectTree.php">
|
|
<UndefinedFunction occurrences="3">
|
|
<code>\Sabre\Uri\split($path)</code>
|
|
<code>\Sabre\Uri\split($destinationPath)</code>
|
|
<code>\Sabre\Uri\split($destinationPath)</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="9">
|
|
<code>null</code>
|
|
<code>$this->circleToPrincipal($name)</code>
|
|
<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">
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$shares</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>array</code>
|
|
</InvalidReturnType>
|
|
<UndefinedFunction occurrences="1">
|
|
<code>\Sabre\Uri\split($sabreNode->getPath())</code>
|
|
</UndefinedFunction>
|
|
<UndefinedInterfaceMethod occurrences="5">
|
|
<code>getId</code>
|
|
<code>getId</code>
|
|
<code>getPath</code>
|
|
<code>getPath</code>
|
|
<code>getId</code>
|
|
</UndefinedInterfaceMethod>
|
|
<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="2">
|
|
<code>$principals</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="2">
|
|
<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>$operator->arguments</code>
|
|
<code>$argument</code>
|
|
</InvalidArgument>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$value</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>?string</code>
|
|
</InvalidReturnType>
|
|
<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/Migration/RemoveOrphanEventsAndContacts.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$qb->createParameter('ids')</code>
|
|
</ImplicitToStringCast>
|
|
</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="9">
|
|
<code>getDateTime</code>
|
|
<code>getDateTime</code>
|
|
<code>isFloating</code>
|
|
<code>getDateTime</code>
|
|
<code>setDateTime</code>
|
|
<code>hasTime</code>
|
|
<code>isFloating</code>
|
|
<code>getDateTime</code>
|
|
<code>setDateTime</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::authInit'</code>
|
|
<code>'OCA\DAV\Connector\Sabre::addPlugin'</code>
|
|
</InvalidArgument>
|
|
<TooManyArguments occurrences="3">
|
|
<code>dispatch</code>
|
|
<code>dispatch</code>
|
|
<code>new QuotaPlugin($view, false)</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>
|
|
</file>
|
|
<file src="apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php">
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>int</code>
|
|
</InvalidNullableReturnType>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>null</code>
|
|
</NullableReturnStatement>
|
|
</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($principal)</code>
|
|
<code>\Sabre\Uri\split($principal)</code>
|
|
<code>\Sabre\Uri\split($principalUri)</code>
|
|
<code>\Sabre\Uri\split($member)</code>
|
|
<code>\Sabre\Uri\split($principalUri)</code>
|
|
<code>\Sabre\Uri\split($realPrincipalUri)</code>
|
|
<code>\Sabre\Uri\split($principalUri)</code>
|
|
<code>\Sabre\Uri\split($principalUri)</code>
|
|
<code>\Sabre\Uri\split($principalUri)</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">
|
|
<RedundantCondition occurrences="1">
|
|
<code>$result</code>
|
|
</RedundantCondition>
|
|
</file>
|
|
<file src="apps/encryption/lib/Crypto/Crypt.php">
|
|
<RedundantCondition occurrences="1">
|
|
<code>$userSession && $userSession->isLoggedIn()</code>
|
|
</RedundantCondition>
|
|
</file>
|
|
<file src="apps/encryption/lib/Crypto/EncryptAll.php">
|
|
<InvalidArgument occurrences="1">
|
|
<code>[$to => $recipientDisplayName]</code>
|
|
</InvalidArgument>
|
|
<UndefinedInterfaceMethod occurrences="3">
|
|
<code>setSubject</code>
|
|
<code>setHtmlBody</code>
|
|
<code>setPlainBody</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="apps/encryption/lib/Crypto/Encryption.php">
|
|
<FalsableReturnStatement occurrences="1">
|
|
<code>$result</code>
|
|
</FalsableReturnStatement>
|
|
<ImplementedParamTypeMismatch occurrences="3">
|
|
<code>$position</code>
|
|
<code>$position</code>
|
|
<code>$position</code>
|
|
</ImplementedParamTypeMismatch>
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>boolean</code>
|
|
</InvalidNullableReturnType>
|
|
</file>
|
|
<file src="apps/encryption/lib/KeyManager.php">
|
|
<InvalidArrayOffset occurrences="2">
|
|
<code>$keyPair['publicKey']</code>
|
|
<code>$keyPair['privateKey']</code>
|
|
</InvalidArrayOffset>
|
|
<InvalidScalarArgument occurrences="3">
|
|
<code>time()</code>
|
|
<code>time()</code>
|
|
<code>time()</code>
|
|
</InvalidScalarArgument>
|
|
<InvalidThrow occurrences="1">
|
|
<code>throw $exception;</code>
|
|
</InvalidThrow>
|
|
<RedundantCondition occurrences="2">
|
|
<code>$userSession && $userSession->isLoggedIn()</code>
|
|
<code>$encryptedFileKey && $shareKey</code>
|
|
</RedundantCondition>
|
|
</file>
|
|
<file src="apps/encryption/lib/Recovery.php">
|
|
<InvalidScalarArgument occurrences="3">
|
|
<code>1</code>
|
|
<code>0</code>
|
|
<code>0</code>
|
|
</InvalidScalarArgument>
|
|
<RedundantCondition occurrences="1">
|
|
<code>$userSession && $userSession->isLoggedIn()</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/Users/Setup.php">
|
|
<InvalidArgument occurrences="1">
|
|
<code>$this->crypt->createKeyPair()</code>
|
|
</InvalidArgument>
|
|
<RedundantCondition occurrences="1">
|
|
<code>$userSession && $userSession->isLoggedIn()</code>
|
|
</RedundantCondition>
|
|
</file>
|
|
<file src="apps/encryption/lib/Util.php">
|
|
<RedundantCondition occurrences="1">
|
|
<code>$userSession && $userSession->isLoggedIn()</code>
|
|
</RedundantCondition>
|
|
</file>
|
|
<file src="apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php">
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
<code>$jobList</code>
|
|
</MoreSpecificImplementedParamType>
|
|
<TooFewArguments occurrences="1"/>
|
|
</file>
|
|
<file src="apps/federatedfilesharing/lib/Controller/RequestHandlerController.php">
|
|
<InvalidScalarArgument occurrences="7">
|
|
<code>$remoteId</code>
|
|
<code>$id</code>
|
|
<code>$id</code>
|
|
<code>$id</code>
|
|
<code>$id</code>
|
|
<code>$id</code>
|
|
<code>$id</code>
|
|
</InvalidScalarArgument>
|
|
<RedundantCondition occurrences="1"/>
|
|
<TypeDoesNotContainNull occurrences="2">
|
|
<code>$permission === null</code>
|
|
<code>$remoteId === null</code>
|
|
</TypeDoesNotContainNull>
|
|
</file>
|
|
<file src="apps/federatedfilesharing/lib/FederatedShareProvider.php">
|
|
<ImplicitToStringCast occurrences="17">
|
|
<code>$qb->createNamedParameter($shareType)</code>
|
|
<code>$qb->createNamedParameter($itemType)</code>
|
|
<code>$qb->createNamedParameter($itemSource)</code>
|
|
<code>$qb->createNamedParameter($itemSource)</code>
|
|
<code>$qb->createNamedParameter($shareWith)</code>
|
|
<code>$qb->createNamedParameter($uidOwner)</code>
|
|
<code>$qb->createNamedParameter($sharedBy)</code>
|
|
<code>$qb->createNamedParameter($permissions)</code>
|
|
<code>$qb->createNamedParameter($token)</code>
|
|
<code>$qb->createNamedParameter(time())</code>
|
|
<code>$qb->createNamedParameter('')</code>
|
|
<code>$qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
<code>$qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
<code>$qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
<code>$qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
<code>$qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
<code>$qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidArrayAccess occurrences="2">
|
|
<code>$token</code>
|
|
<code>$remoteId</code>
|
|
</InvalidArrayAccess>
|
|
<InvalidArrayOffset occurrences="1">
|
|
<code>list($token, $remoteId)</code>
|
|
</InvalidArrayOffset>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$shares</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>getSharesInFolder</code>
|
|
</InvalidReturnType>
|
|
<InvalidScalarArgument occurrences="6">
|
|
<code>$shareId</code>
|
|
<code>$shareId</code>
|
|
<code>$shareId</code>
|
|
<code>$shareId</code>
|
|
<code>$share->getId()</code>
|
|
<code>(int)$data['id']</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="apps/federatedfilesharing/lib/Notifications.php">
|
|
<InvalidReturnStatement occurrences="2">
|
|
<code>[$ocmResult['token'], $ocmResult['providerId']]</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="4">
|
|
<code>bool</code>
|
|
<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="7">
|
|
<code>$remoteId</code>
|
|
<code>$id</code>
|
|
<code>$id</code>
|
|
<code>$id</code>
|
|
<code>(int)$share['id']</code>
|
|
<code>$id</code>
|
|
<code>$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/BackgroundJob/GetSharedSecret.php">
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
<code>$jobList</code>
|
|
</MoreSpecificImplementedParamType>
|
|
</file>
|
|
<file src="apps/federation/lib/BackgroundJob/RequestSharedSecret.php">
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
<code>$jobList</code>
|
|
</MoreSpecificImplementedParamType>
|
|
</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/Filter/Favorites.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$query->createNamedParameter($favorites['items'], IQueryBuilder::PARAM_STR_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
</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/BackgroundJob/ScanFiles.php">
|
|
<InvalidScalarArgument occurrences="3">
|
|
<code>0</code>
|
|
<code>$offset</code>
|
|
<code>$offset</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="apps/files/lib/Command/Scan.php">
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$connection</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>\OCP\IDBConnection</code>
|
|
</InvalidReturnType>
|
|
<NullArgument occurrences="1">
|
|
<code>null</code>
|
|
</NullArgument>
|
|
</file>
|
|
<file src="apps/files/lib/Command/ScanAppData.php">
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$connection</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>\OCP\IDBConnection</code>
|
|
</InvalidReturnType>
|
|
<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="4">
|
|
<code>$templateId</code>
|
|
<code>'Failed to create file: ' . $e->getMessage()</code>
|
|
<code>'Failed to open file: ' . $e->getMessage()</code>
|
|
<code>'Failed to obtain template list: ' . $e->getMessage()</code>
|
|
</InvalidArgument>
|
|
<UndefinedInterfaceMethod occurrences="2">
|
|
<code>open</code>
|
|
<code>getTemplates</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="2">
|
|
<code>$this</code>
|
|
<code>$this</code>
|
|
</InvalidScope>
|
|
</file>
|
|
<file src="apps/files_external/lib/BackgroundJob/CredentialsCleanup.php">
|
|
<InvalidReturnType occurrences="1">
|
|
<code>run</code>
|
|
</InvalidReturnType>
|
|
</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">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$qb->createNamedParameter($storageIds, IQueryBuilder::PARAM_INT_ARRAY, ':storage_ids')</code>
|
|
</ImplicitToStringCast>
|
|
<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>$status</code>
|
|
<code>$e->getCode()</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>$this->service->getVisibilityType()</code>
|
|
<code>$this->service->getVisibilityType()</code>
|
|
<code>$status</code>
|
|
<code>$e->getCode()</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>IdentifierTrait</code>
|
|
<code>$this->deprecateTo</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">
|
|
<FalsableReturnStatement occurrences="2">
|
|
<code>false</code>
|
|
<code>false</code>
|
|
</FalsableReturnStatement>
|
|
<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">
|
|
<FalsableReturnStatement occurrences="3">
|
|
<code>false</code>
|
|
<code>false</code>
|
|
<code>false</code>
|
|
</FalsableReturnStatement>
|
|
<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">
|
|
<FalsableReturnStatement occurrences="1">
|
|
<code>false</code>
|
|
</FalsableReturnStatement>
|
|
<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>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>null</code>
|
|
</NullableReturnStatement>
|
|
<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>
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
<code>$content</code>
|
|
</UndefinedInterfaceMethod>
|
|
</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>setIV</code>
|
|
<code>encrypt</code>
|
|
<code>setIV</code>
|
|
<code>decrypt</code>
|
|
</InternalMethod>
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>string</code>
|
|
</InvalidNullableReturnType>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>$message</code>
|
|
</NullableReturnStatement>
|
|
<TooManyArguments occurrences="1">
|
|
<code>test</code>
|
|
</TooManyArguments>
|
|
<UndefinedClass occurrences="1">
|
|
<code>Exception</code>
|
|
</UndefinedClass>
|
|
<UndefinedDocblockClass occurrences="1">
|
|
<code>Exception</code>
|
|
</UndefinedDocblockClass>
|
|
</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">
|
|
<ImplicitToStringCast occurrences="10">
|
|
<code>$builder->createNamedParameter($groupIds, IQueryBuilder::PARAM_STR_ARRAY)</code>
|
|
<code>$builder->createNamedParameter($mountId, IQueryBuilder::PARAM_INT)</code>
|
|
<code>$builder->createNamedParameter($key, IQueryBuilder::PARAM_STR)</code>
|
|
<code>$builder->createNamedParameter($value, IQueryBuilder::PARAM_STR)</code>
|
|
<code>$builder->createNamedParameter($mountId, IQueryBuilder::PARAM_INT)</code>
|
|
<code>$builder->createNamedParameter($key, IQueryBuilder::PARAM_STR)</code>
|
|
<code>$builder->createNamedParameter(json_encode($value), IQueryBuilder::PARAM_STR)</code>
|
|
<code>$builder->createNamedParameter($mountId)</code>
|
|
<code>$builder->createNamedParameter($type)</code>
|
|
<code>$builder->createNamedParameter($value)</code>
|
|
</ImplicitToStringCast>
|
|
<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>
|
|
<UndefinedInterfaceMethod occurrences="9">
|
|
<code>$entry</code>
|
|
<code>$entry</code>
|
|
<code>$entry</code>
|
|
<code>$entry</code>
|
|
<code>$entry</code>
|
|
<code>$entry</code>
|
|
<code>$entry</code>
|
|
<code>$entry</code>
|
|
<code>$entry</code>
|
|
</UndefinedInterfaceMethod>
|
|
</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/DeletedShareAPIController.php">
|
|
<UndefinedDocblockClass occurrences="2">
|
|
<code>$this->getRoomShareHelper()</code>
|
|
<code>\OCA\Talk\Share\Helper\DeletedShareAPIController</code>
|
|
</UndefinedDocblockClass>
|
|
</file>
|
|
<file src="apps/files_sharing/lib/Controller/ExternalSharesController.php">
|
|
<InvalidArgument occurrences="2">
|
|
<code>'https'</code>
|
|
<code>'http'</code>
|
|
</InvalidArgument>
|
|
</file>
|
|
<file src="apps/files_sharing/lib/Controller/ShareAPIController.php">
|
|
<InvalidScalarArgument occurrences="3">
|
|
<code>Constants::PERMISSION_ALL</code>
|
|
<code>$code</code>
|
|
<code>$code</code>
|
|
</InvalidScalarArgument>
|
|
<NullArgument occurrences="1">
|
|
<code>null</code>
|
|
</NullArgument>
|
|
<TypeDoesNotContainType occurrences="1">
|
|
<code>$date === false</code>
|
|
</TypeDoesNotContainType>
|
|
<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="2">
|
|
<code>'Share is read-only'</code>
|
|
<code>$files_list</code>
|
|
</InvalidArgument>
|
|
<InvalidScalarArgument occurrences="3">
|
|
<code>$maxUploadFilesize</code>
|
|
<code>$maxUploadFilesize</code>
|
|
<code>$freeSpace</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/ExpireSharesJob.php">
|
|
<NullArgument occurrences="1">
|
|
<code>null</code>
|
|
</NullArgument>
|
|
</file>
|
|
<file src="apps/files_sharing/lib/External/Cache.php">
|
|
<UndefinedInterfaceMethod occurrences="4">
|
|
<code>$result</code>
|
|
<code>$result</code>
|
|
<code>$result</code>
|
|
<code>$file</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="apps/files_sharing/lib/External/Manager.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$query->createFunction('(' . $select . ')')</code>
|
|
</ImplicitToStringCast>
|
|
<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">
|
|
<InvalidNullableReturnType occurrences="2">
|
|
<code>scan</code>
|
|
<code>array</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>$recursive</code>
|
|
</InvalidScalarArgument>
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
<code>$cacheData</code>
|
|
</MoreSpecificImplementedParamType>
|
|
<UndefinedInterfaceMethod occurrences="2">
|
|
<code>$existingChild</code>
|
|
<code>$existingChild</code>
|
|
</UndefinedInterfaceMethod>
|
|
</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>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>new JSONResponse($exception->getMessage(), 405)</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>NotFoundResponse</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="apps/files_sharing/lib/Migration/SetAcceptedStatus.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$query->createNamedParameter([IShare::TYPE_USER, IShare::TYPE_GROUP, IShare::TYPE_USERGROUP], IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
</file>
|
|
<file src="apps/files_sharing/lib/Scanner.php">
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>array</code>
|
|
</InvalidNullableReturnType>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>null</code>
|
|
</NullableReturnStatement>
|
|
</file>
|
|
<file src="apps/files_sharing/lib/ShareBackend/File.php">
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>$itemSource</code>
|
|
<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="6">
|
|
<code>$this->sourceRootInfo</code>
|
|
<code>false</code>
|
|
<code>false</code>
|
|
<code>false</code>
|
|
<code>$this->nonMaskedStorage->fopen($this->getUnjailedPath($path), $mode)</code>
|
|
<code>false</code>
|
|
</FalsableReturnStatement>
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>ICacheEntry</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidReturnStatement occurrences="5">
|
|
<code>$this->getPermissions($path) & \OCP\Constants::PERMISSION_CREATE</code>
|
|
<code>$this->getPermissions($path) & \OCP\Constants::PERMISSION_UPDATE</code>
|
|
<code>$this->getPermissions($path) & \OCP\Constants::PERMISSION_DELETE</code>
|
|
<code>$this->getPermissions($path) & \OCP\Constants::PERMISSION_SHARE</code>
|
|
<code>new FailedCache()</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="4">
|
|
<code>isCreatable</code>
|
|
<code>isUpdatable</code>
|
|
<code>isDeletable</code>
|
|
<code>isSharable</code>
|
|
</InvalidReturnType>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>$this->sourceRootInfo</code>
|
|
</NullableReturnStatement>
|
|
<TooManyArguments occurrences="1">
|
|
<code>new \OCA\Files_Sharing\Cache($storage, $sourceRoot, $this->superShare)</code>
|
|
</TooManyArguments>
|
|
<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>
|
|
<code>dispatch</code>
|
|
<code>dispatch</code>
|
|
<code>dispatch</code>
|
|
</TooManyArguments>
|
|
</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">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>ITrash</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<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">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>ITrash</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<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>
|
|
<InvalidArgument occurrences="1">
|
|
<code>$ma</code>
|
|
</InvalidArgument>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$query->execute([$uid])</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>bool</code>
|
|
</InvalidReturnType>
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>$timestamp</code>
|
|
<code>$timestamp</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/Expiration.php">
|
|
<FalsableReturnStatement occurrences="1">
|
|
<code>$maxAge</code>
|
|
</FalsableReturnStatement>
|
|
</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">
|
|
<InvalidArgument occurrences="1">
|
|
<code>'OCA\Files_Versions::createVersion'</code>
|
|
</InvalidArgument>
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>$timestamp</code>
|
|
</InvalidScalarArgument>
|
|
<TooManyArguments occurrences="2">
|
|
<code>dispatch</code>
|
|
<code>getURLGenerator</code>
|
|
</TooManyArguments>
|
|
</file>
|
|
<file src="apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php">
|
|
<InvalidArrayOffset occurrences="10">
|
|
<code>$publicData[IAccountManager::PROPERTY_DISPLAYNAME]['value']</code>
|
|
<code>$publicData[IAccountManager::PROPERTY_EMAIL]['value']</code>
|
|
<code>$publicData[IAccountManager::PROPERTY_ADDRESS]['value']</code>
|
|
<code>$publicData[IAccountManager::PROPERTY_WEBSITE]['value']</code>
|
|
<code>$publicData[IAccountManager::PROPERTY_TWITTER]['value']</code>
|
|
<code>$publicData[IAccountManager::PROPERTY_PHONE]['value']</code>
|
|
<code>$publicData[IAccountManager::PROPERTY_TWITTER]['signature']</code>
|
|
<code>$publicData[IAccountManager::PROPERTY_WEBSITE]['signature']</code>
|
|
<code>$publicData[IAccountManager::PROPERTY_WEBSITE]['verified']</code>
|
|
<code>$publicData[IAccountManager::PROPERTY_TWITTER]['verified']</code>
|
|
</InvalidArrayOffset>
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>$this->retries + 1</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="apps/oauth2/lib/Controller/OauthApiController.php">
|
|
<InvalidArgument occurrences="1">
|
|
<code>['user' => $appToken->getUID()]</code>
|
|
</InvalidArgument>
|
|
<NoInterfaceProperties occurrences="1">
|
|
<code>$this->request->server</code>
|
|
</NoInterfaceProperties>
|
|
</file>
|
|
<file src="apps/oauth2/lib/Controller/SettingsController.php">
|
|
<UndefinedMagicMethod occurrences="4">
|
|
<code>getName</code>
|
|
<code>getRedirectUri</code>
|
|
<code>getClientIdentifier</code>
|
|
<code>getSecret</code>
|
|
</UndefinedMagicMethod>
|
|
</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/AppInfo/Application.php">
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
<code>getSubAdmin</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="apps/provisioning_api/lib/Controller/UsersController.php">
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>$quota</code>
|
|
</InvalidScalarArgument>
|
|
<RedundantCondition occurrences="1">
|
|
<code>$groupid === null || trim($groupid) === ''</code>
|
|
</RedundantCondition>
|
|
<TypeDoesNotContainNull occurrences="1">
|
|
<code>$groupid === null</code>
|
|
</TypeDoesNotContainNull>
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
<code>getSubAdmin</code>
|
|
</UndefinedInterfaceMethod>
|
|
</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/BackgroundJobs/VerifyUserData.php">
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
<code>$jobList</code>
|
|
</MoreSpecificImplementedParamType>
|
|
</file>
|
|
<file src="apps/settings/lib/Controller/AppSettingsController.php">
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
<code>ignoreNextcloudRequirementForApp</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="apps/settings/lib/Controller/ChangePasswordController.php">
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
<code>getSubAdmin</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="apps/settings/lib/Controller/CheckSetupController.php">
|
|
<InvalidArgument occurrences="2">
|
|
<code>IDBConnection::CHECK_MISSING_INDEXES_EVENT</code>
|
|
<code>IDBConnection::CHECK_MISSING_COLUMNS_EVENT</code>
|
|
</InvalidArgument>
|
|
<InvalidOperand occurrences="1">
|
|
<code>$lastCronRun</code>
|
|
</InvalidOperand>
|
|
<InvalidReturnStatement occurrences="2">
|
|
<code>new DataDisplayResponse('Integrity checker has been disabled. Integrity cannot be verified.')</code>
|
|
<code>$response</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>DataResponse</code>
|
|
</InvalidReturnType>
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>0</code>
|
|
<code>$lastCronRun</code>
|
|
</InvalidScalarArgument>
|
|
<TooManyArguments occurrences="2">
|
|
<code>dispatch</code>
|
|
<code>dispatch</code>
|
|
</TooManyArguments>
|
|
</file>
|
|
<file src="apps/settings/lib/Controller/MailSettingsController.php">
|
|
<InvalidArgument occurrences="3">
|
|
<code>$this->l10n->t('Invalid SMTP password.')</code>
|
|
<code>$this->l10n->t('A problem occurred while sending the email. Please revise your settings. (Error: %s)', [$e->getMessage()])</code>
|
|
<code>$this->l10n->t('You need to set your user email before being able to send test emails.')</code>
|
|
</InvalidArgument>
|
|
</file>
|
|
<file src="apps/settings/lib/Controller/UsersController.php">
|
|
<InvalidArgument occurrences="1">
|
|
<code>'OC\Settings\Users::loadAdditionalScripts'</code>
|
|
</InvalidArgument>
|
|
<UndefinedInterfaceMethod occurrences="3">
|
|
<code>countUsersOfGroups</code>
|
|
<code>countDisabledUsersOfGroups</code>
|
|
<code>getLanguages</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="apps/settings/lib/Hooks.php">
|
|
<InvalidArgument occurrences="1">
|
|
<code>[$user->getEMailAddress() => $user->getDisplayName()]</code>
|
|
</InvalidArgument>
|
|
</file>
|
|
<file src="apps/settings/lib/Mailer/NewUserMailHelper.php">
|
|
<InvalidArgument occurrences="1">
|
|
<code>[$user->getEMailAddress() => $user->getDisplayName()]</code>
|
|
</InvalidArgument>
|
|
</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/Additional.php">
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>'5'</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>int</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="apps/settings/lib/Settings/Personal/PersonalInfo.php">
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>$uid</code>
|
|
</InvalidScalarArgument>
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
<code>getLanguages</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="apps/settings/lib/Settings/Personal/Security/WebAuthn.php">
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>?string</code>
|
|
</InvalidNullableReturnType>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>null</code>
|
|
</NullableReturnStatement>
|
|
</file>
|
|
<file src="apps/settings/lib/Settings/Personal/ServerDevNotice.php">
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>string</code>
|
|
</InvalidNullableReturnType>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>null</code>
|
|
</NullableReturnStatement>
|
|
</file>
|
|
<file src="apps/sharebymail/lib/ShareByMailProvider.php">
|
|
<ImplicitToStringCast occurrences="15">
|
|
<code>$qb->createNamedParameter(IShare::TYPE_EMAIL)</code>
|
|
<code>$qb->createNamedParameter($itemType)</code>
|
|
<code>$qb->createNamedParameter($itemSource)</code>
|
|
<code>$qb->createNamedParameter($itemSource)</code>
|
|
<code>$qb->createNamedParameter($shareWith)</code>
|
|
<code>$qb->createNamedParameter($uidOwner)</code>
|
|
<code>$qb->createNamedParameter($sharedBy)</code>
|
|
<code>$qb->createNamedParameter($permissions)</code>
|
|
<code>$qb->createNamedParameter($token)</code>
|
|
<code>$qb->createNamedParameter($password)</code>
|
|
<code>$qb->createNamedParameter($sendPasswordByTalk, IQueryBuilder::PARAM_BOOL)</code>
|
|
<code>$qb->createNamedParameter(time())</code>
|
|
<code>$qb->createNamedParameter((int)$hideDownload, IQueryBuilder::PARAM_INT)</code>
|
|
<code>$qb->createNamedParameter('')</code>
|
|
<code>$qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$shares</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>getSharesInFolder</code>
|
|
</InvalidReturnType>
|
|
<InvalidScalarArgument occurrences="4">
|
|
<code>$shareId</code>
|
|
<code>$shareId</code>
|
|
<code>$share->getId()</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>$type</code>
|
|
<code>$type</code>
|
|
<code>$this->config->getAppValue('testing', $lock)</code>
|
|
<code>$this->config->getAppValue('testing', $lock)</code>
|
|
<code>$this->config->getAppValue('testing', $lock)</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/Controller/ThemingController.php">
|
|
<InvalidScalarArgument occurrences="4">
|
|
<code>'r'</code>
|
|
<code>$newHeight</code>
|
|
<code>'r'</code>
|
|
<code>'r'</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="apps/theming/lib/IconBuilder.php">
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>$offset_w</code>
|
|
<code>$offset_h</code>
|
|
</InvalidScalarArgument>
|
|
</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>
|
|
<NullArgument occurrences="2">
|
|
<code>null</code>
|
|
<code>null</code>
|
|
</NullArgument>
|
|
</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/CheckBackupCodes.php">
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
<code>$registry</code>
|
|
</InvalidPropertyAssignmentValue>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>run</code>
|
|
</InvalidReturnType>
|
|
<UndefinedMethod occurrences="1">
|
|
<code>getProviderStates</code>
|
|
</UndefinedMethod>
|
|
</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">
|
|
<InvalidArgument occurrences="1">
|
|
<code>$newToken</code>
|
|
</InvalidArgument>
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>0</code>
|
|
<code>$this->timeFactory->getTime()</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="apps/updatenotification/lib/Notification/BackgroundJob.php">
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
<code>$this->users</code>
|
|
</InvalidPropertyAssignmentValue>
|
|
<InvalidScalarArgument occurrences="3">
|
|
<code>0</code>
|
|
<code>$errors</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>
|
|
<InvalidReturnStatement occurrences="2">
|
|
<code>$values</code>
|
|
<code>$uuid</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>string[]</code>
|
|
</InvalidReturnType>
|
|
<InvalidScalarArgument occurrences="13">
|
|
<code>[$attr => $result['values']]</code>
|
|
<code>$key</code>
|
|
<code>$key</code>
|
|
<code>$e->getCode()</code>
|
|
<code>$nameAttribute</code>
|
|
<code>$filter</code>
|
|
<code>$this->connection->ldapLoginFilter</code>
|
|
<code>$this->connection->ldapLoginFilter</code>
|
|
<code>$this->connection->ldapUserDisplayName</code>
|
|
<code>$this->connection->ldapUserDisplayName</code>
|
|
<code>$this->connection->ldapGroupDisplayName</code>
|
|
<code>$filter</code>
|
|
</InvalidScalarArgument>
|
|
<NullArgument occurrences="1">
|
|
<code>$cookie</code>
|
|
</NullArgument>
|
|
<RedundantCondition occurrences="5">
|
|
<code>!isset($ldapName[0]) && empty($ldapName[0])</code>
|
|
<code>is_null($limit)</code>
|
|
<code>!is_null($limit) && (int)$this->connection->ldapPagingSize !== 0</code>
|
|
<code>is_array($result)</code>
|
|
<code>$limit === 0 && !empty($this->lastCookie)</code>
|
|
</RedundantCondition>
|
|
<TypeDoesNotContainNull occurrences="2">
|
|
<code>is_null($findings)</code>
|
|
<code>!$attribute === null</code>
|
|
</TypeDoesNotContainNull>
|
|
<TypeDoesNotContainType occurrences="3">
|
|
<code>is_array($attr)</code>
|
|
<code>!is_null($attr) && !is_array($attr)</code>
|
|
<code>isset($ldapRecord[$this->connection->$uuidAttr])</code>
|
|
</TypeDoesNotContainType>
|
|
<UndefinedVariable occurrences="1">
|
|
<code>$uidsByDn</code>
|
|
</UndefinedVariable>
|
|
</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">
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>string</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>LDAP_OPT_PROTOCOL_VERSION</code>
|
|
<code>LDAP_OPT_REFERRALS</code>
|
|
</InvalidScalarArgument>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>null</code>
|
|
</NullableReturnStatement>
|
|
<ParadoxicalCondition occurrences="1"/>
|
|
</file>
|
|
<file src="apps/user_ldap/lib/Group_LDAP.php">
|
|
<InvalidArgument occurrences="3">
|
|
<code>$this->cachedGroupMembers[$gid]</code>
|
|
<code>'dn'</code>
|
|
<code>$this->cachedGroupsByMember[$uid]</code>
|
|
</InvalidArgument>
|
|
<InvalidPropertyAssignmentValue occurrences="6">
|
|
<code>new CappedMemoryCache()</code>
|
|
<code>new CappedMemoryCache()</code>
|
|
<code>new CappedMemoryCache()</code>
|
|
<code>$this->cachedGroupMembers</code>
|
|
<code>$this->cachedNestedGroups</code>
|
|
<code>$this->cachedGroupsByMember</code>
|
|
</InvalidPropertyAssignmentValue>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$groupName</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>bool</code>
|
|
</InvalidReturnType>
|
|
<InvalidScalarArgument occurrences="26">
|
|
<code>$gAssoc</code>
|
|
<code>$this->access->connection->ldapLoginFilter</code>
|
|
<code>$this->access->connection->ldapDynamicGroupMemberURL</code>
|
|
<code>$this->access->connection->ldapGroupFilter</code>
|
|
<code>$this->access->connection->ldapGroupMemberAssocAttr</code>
|
|
<code>$this->access->connection->ldapGidNumber</code>
|
|
<code>$groupID</code>
|
|
<code>$groupID</code>
|
|
<code>$this->access->connection->ldapDynamicGroupMemberURL</code>
|
|
<code>$this->access->connection->ldapGroupFilter</code>
|
|
<code>$this->access->connection->ldapUserDisplayName</code>
|
|
<code>$this->access->connection->ldapGroupMemberAssocAttr</code>
|
|
<code>[strtolower($this->access->connection->ldapGroupMemberAssocAttr), $this->access->connection->ldapGroupDisplayName, 'dn']</code>
|
|
<code>$this->access->connection->ldapLoginFilter</code>
|
|
<code>$this->access->connection->ldapUserDisplayName</code>
|
|
<code>$this->access->connection->ldapLoginFilter</code>
|
|
<code>$this->access->connection->ldapUserDisplayName</code>
|
|
<code>[$this->access->connection->ldapGroupDisplayName, 'dn']</code>
|
|
<code>$this->access->connection->ldapGroupFilter</code>
|
|
<code>$this->access->connection->ldapGroupDisplayName</code>
|
|
</InvalidScalarArgument>
|
|
<RedundantCondition occurrences="4">
|
|
<code>!is_array($members) || count($members) === 0</code>
|
|
<code>is_array($members)</code>
|
|
<code>is_array($list)</code>
|
|
<code>is_array($groupDNs)</code>
|
|
</RedundantCondition>
|
|
<TypeDoesNotContainType occurrences="1">
|
|
<code>is_array($members)</code>
|
|
</TypeDoesNotContainType>
|
|
</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>0</code>
|
|
<code>$newOffset</code>
|
|
<code>50</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="apps/user_ldap/lib/Jobs/Sync.php">
|
|
<InvalidOperand occurrences="2">
|
|
<code>$lastChange</code>
|
|
<code>$i</code>
|
|
</InvalidOperand>
|
|
<InvalidScalarArgument occurrences="5">
|
|
<code>self::MIN_INTERVAL</code>
|
|
<code>$interval</code>
|
|
<code>0</code>
|
|
<code>0</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>$link</code>
|
|
<code>$link</code>
|
|
<code>$result</code>
|
|
<code>$link</code>
|
|
<code>$link</code>
|
|
<code>$link</code>
|
|
<code>$result</code>
|
|
<code>$link</code>
|
|
<code>$result</code>
|
|
<code>$link</code>
|
|
<code>$result</code>
|
|
<code>$link</code>
|
|
<code>$result</code>
|
|
<code>$link</code>
|
|
<code>$link</code>
|
|
<code>$baseDN</code>
|
|
<code>$link</code>
|
|
<code>$baseDN</code>
|
|
<code>$link</code>
|
|
<code>$link</code>
|
|
<code>$link</code>
|
|
<code>$resource</code>
|
|
</ImplementedParamTypeMismatch>
|
|
<InvalidArgument occurrences="1">
|
|
<code>$baseDN</code>
|
|
</InvalidArgument>
|
|
<LessSpecificImplementedReturnType occurrences="13">
|
|
<code>bool|mixed</code>
|
|
<code>mixed|true</code>
|
|
<code>mixed</code>
|
|
<code>mixed</code>
|
|
<code>array|mixed</code>
|
|
<code>mixed|string</code>
|
|
<code>array|mixed</code>
|
|
<code>mixed</code>
|
|
<code>mixed</code>
|
|
<code>mixed</code>
|
|
<code>bool|mixed</code>
|
|
<code>mixed|true</code>
|
|
<code>bool|mixed</code>
|
|
</LessSpecificImplementedReturnType>
|
|
<UndefinedDocblockClass occurrences="1">
|
|
<code>Resource</code>
|
|
</UndefinedDocblockClass>
|
|
</file>
|
|
<file src="apps/user_ldap/lib/LDAPProviderFactory.php">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>OCP\LDAP\ILDAPProvider</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidReturnStatement occurrences="1"/>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>OCP\LDAP\ILDAPProvider</code>
|
|
</InvalidReturnType>
|
|
<UndefinedDocblockClass occurrences="1">
|
|
<code>OCP\LDAP\ILDAPProvider</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">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$qb->createNamedParameter($fdns, QueryBuilder::PARAM_STR_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
</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>
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>$homeRule</code>
|
|
<code>$homeRule</code>
|
|
</InvalidScalarArgument>
|
|
</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="17">
|
|
<code>$this->connection->ldapQuotaAttribute</code>
|
|
<code>$this->connection->ldapUserDisplayName</code>
|
|
<code>$this->connection->ldapUserDisplayName2</code>
|
|
<code>$this->connection->ldapEmailAttribute</code>
|
|
<code>$this->connection->homeFolderNamingRule</code>
|
|
<code>$this->connection->homeFolderNamingRule</code>
|
|
<code>$this->getHomePath($ldapEntry[$attr][0])</code>
|
|
<code>$this->connection->ldapExtStorageHomeAttribute</code>
|
|
<code>$this->access->connection->homeFolderNamingRule</code>
|
|
<code>$this->access->connection->homeFolderNamingRule</code>
|
|
<code>true</code>
|
|
<code>1</code>
|
|
<code>time()</code>
|
|
<code>86400</code>
|
|
<code>$emailAttribute</code>
|
|
<code>$quotaAttribute</code>
|
|
<code>$this->connection->ldapExtStorageHomeAttribute</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="apps/user_ldap/lib/User_LDAP.php">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>string|false</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidScalarArgument occurrences="8">
|
|
<code>$this->access->connection->ldapUserFilter</code>
|
|
<code>$this->access->connection->ldapUserFilter</code>
|
|
<code>$path</code>
|
|
<code>$additionalAttribute</code>
|
|
<code>$this->access->connection->ldapUserDisplayName</code>
|
|
<code>$limit</code>
|
|
<code>$offset</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">
|
|
<FalseOperand occurrences="1">
|
|
<code>$users</code>
|
|
</FalseOperand>
|
|
</file>
|
|
<file src="apps/user_ldap/lib/Wizard.php">
|
|
<FalsableReturnStatement occurrences="2">
|
|
<code>false</code>
|
|
<code>false</code>
|
|
</FalsableReturnStatement>
|
|
<InvalidArgument occurrences="4">
|
|
<code>$er</code>
|
|
<code>$er</code>
|
|
<code>$er</code>
|
|
<code>$attributes</code>
|
|
</InvalidArgument>
|
|
<InvalidDocblock occurrences="3">
|
|
<code>private function detectGroupMemberAssoc() {</code>
|
|
<code>private function checkAgentRequirements() {</code>
|
|
<code>private function getAttributeValuesFromEntry($result, $attribute, &$known) {</code>
|
|
</InvalidDocblock>
|
|
<InvalidScalarArgument occurrences="8">
|
|
<code>$port</code>
|
|
<code>$port</code>
|
|
<code>LDAP_OPT_PROTOCOL_VERSION</code>
|
|
<code>LDAP_OPT_REFERRALS</code>
|
|
<code>LDAP_OPT_NETWORK_TIMEOUT</code>
|
|
<code>LDAP_OPT_PROTOCOL_VERSION</code>
|
|
<code>LDAP_OPT_REFERRALS</code>
|
|
<code>LDAP_OPT_NETWORK_TIMEOUT</code>
|
|
</InvalidScalarArgument>
|
|
<RedundantCondition occurrences="2">
|
|
<code>is_array($item['cn'])</code>
|
|
<code>!isset($item['cn']) && !is_array($item['cn']) && !isset($item['cn'][0])</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/BackgroundJob/ClearOldStatusesBackgroundJob.php">
|
|
<InvalidReturnType occurrences="1">
|
|
<code>run</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="apps/user_status/lib/Db/UserStatusMapper.php">
|
|
<ImplicitToStringCast occurrences="2">
|
|
<code>$qb->createNamedParameter(['online', 'away'], IQueryBuilder::PARAM_STR_ARRAY)</code>
|
|
<code>$qb->createNamedParameter($userIds, IQueryBuilder::PARAM_STR_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
<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/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">
|
|
<InvalidArgument occurrences="1">
|
|
<code>$deleted</code>
|
|
</InvalidArgument>
|
|
<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>
|
|
</file>
|
|
<file src="apps/workflowengine/lib/Manager.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$query->createNamedParameter($checkIds, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidArgument occurrences="3">
|
|
<code>IManager::EVENT_NAME_REG_ENTITY</code>
|
|
<code>IManager::EVENT_NAME_REG_OPERATION</code>
|
|
<code>IManager::EVENT_NAME_REG_CHECK</code>
|
|
</InvalidArgument>
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
<code>[]</code>
|
|
</InvalidPropertyAssignmentValue>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>array_merge($this->getBuildInChecks(), $this->registeredChecks)</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>ICheck[]</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/Migration/PopulateNewlyIntroducedDatabaseFields.php">
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$selectQuery->execute()</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>Statement</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="apps/workflowengine/lib/Service/RuleMatcher.php">
|
|
<UndefinedInterfaceMethod occurrences="5">
|
|
<code>isUserScopeEnabled</code>
|
|
<code>getOperations</code>
|
|
<code>getAllConfiguredScopesForOperation</code>
|
|
<code>getOperations</code>
|
|
<code>getChecks</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="apps/workflowengine/lib/Settings/Personal.php">
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>getSection</code>
|
|
</InvalidNullableReturnType>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>$this->manager->isUserScopeEnabled() ? 'workflow' : null</code>
|
|
</NullableReturnStatement>
|
|
</file>
|
|
<file src="core/BackgroundJobs/CleanupLoginFlowV2.php">
|
|
<InvalidReturnType occurrences="1">
|
|
<code>run</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="core/Command/App/CheckCode.php">
|
|
<InvalidScalarArgument occurrences="1"/>
|
|
</file>
|
|
<file src="core/Command/App/GetPath.php">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>null|int</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<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>
|
|
<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>
|
|
<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/ConvertType.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$insertQuery->createParameter($key)</code>
|
|
</ImplicitToStringCast>
|
|
<InternalMethod occurrences="1">
|
|
<code>setFilterSchemaAssetsExpression</code>
|
|
</InternalMethod>
|
|
<InvalidArgument occurrences="2">
|
|
<code>$chunkSize</code>
|
|
<code>$chunk * $chunkSize</code>
|
|
</InvalidArgument>
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>0</code>
|
|
<code>1</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="core/Command/Db/Migrations/GenerateFromSchemaFileCommand.php">
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>$column->getLength()</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">
|
|
<FalsableReturnStatement occurrences="1">
|
|
<code>\DateTimeZone::listIdentifiers()</code>
|
|
</FalsableReturnStatement>
|
|
<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/Upgrade.php">
|
|
<InvalidScalarArgument occurrences="11">
|
|
<code>0</code>
|
|
<code>1</code>
|
|
<code>1</code>
|
|
<code>1</code>
|
|
<code>0</code>
|
|
<code>1</code>
|
|
<code>0</code>
|
|
<code>0</code>
|
|
<code>0</code>
|
|
<code>0</code>
|
|
<code>0</code>
|
|
</InvalidScalarArgument>
|
|
<UndefinedThisPropertyAssignment occurrences="1">
|
|
<code>$this->installer</code>
|
|
</UndefinedThisPropertyAssignment>
|
|
<UndefinedThisPropertyFetch occurrences="1">
|
|
<code>$this->installer</code>
|
|
</UndefinedThisPropertyFetch>
|
|
</file>
|
|
<file src="core/Command/User/Setting.php">
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>$input->getOption('default-value')</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="core/Controller/AppPasswordController.php">
|
|
<InvalidArgument occurrences="1">
|
|
<code>'app_password_created'</code>
|
|
</InvalidArgument>
|
|
<TooManyArguments occurrences="1">
|
|
<code>dispatch</code>
|
|
</TooManyArguments>
|
|
</file>
|
|
<file src="core/Controller/ClientFlowLoginController.php">
|
|
<InvalidArgument occurrences="1">
|
|
<code>'app_password_created'</code>
|
|
</InvalidArgument>
|
|
<TooManyArguments occurrences="1">
|
|
<code>dispatch</code>
|
|
</TooManyArguments>
|
|
</file>
|
|
<file src="core/Controller/ClientFlowLoginV2Controller.php">
|
|
<RedundantCondition occurrences="2">
|
|
<code>!is_string($stateToken) || !is_string($currentToken)</code>
|
|
<code>is_string($stateToken)</code>
|
|
</RedundantCondition>
|
|
<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/Migrations/Version14000Date20180404140050.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$qb->func()->lower('uid')</code>
|
|
</ImplicitToStringCast>
|
|
</file>
|
|
<file src="core/ajax/update.php">
|
|
<InvalidScalarArgument occurrences="12">
|
|
<code>0</code>
|
|
<code>1</code>
|
|
<code>0</code>
|
|
<code>1</code>
|
|
<code>0</code>
|
|
<code>1</code>
|
|
<code>0</code>
|
|
<code>1</code>
|
|
<code>0</code>
|
|
<code>0</code>
|
|
<code>0</code>
|
|
<code>0</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="core/register_command.php">
|
|
<NullArgument occurrences="3">
|
|
<code>null</code>
|
|
<code>null</code>
|
|
<code>null</code>
|
|
</NullArgument>
|
|
</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/base.php">
|
|
<InternalMethod occurrences="2">
|
|
<code>getIncompatibleApps</code>
|
|
<code>getAppsNeedingUpgrade</code>
|
|
</InternalMethod>
|
|
<InvalidArgument occurrences="2">
|
|
<code>['user' => $uid]</code>
|
|
<code>$restrictions</code>
|
|
</InvalidArgument>
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>true</code>
|
|
</InvalidScalarArgument>
|
|
<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/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_ENABLE</code>
|
|
<code>ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS</code>
|
|
<code>ManagerEvent::EVENT_APP_DISABLE</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/AppFetcher.php">
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>'version_compare'</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="lib/private/App/AppStore/Fetcher/Fetcher.php">
|
|
<TooManyArguments occurrences="1">
|
|
<code>fetch</code>
|
|
</TooManyArguments>
|
|
</file>
|
|
<file src="lib/private/App/CodeChecker/MigrationSchemaChecker.php">
|
|
<InvalidPropertyAssignmentValue occurrences="2">
|
|
<code>$this->tableVariableNames</code>
|
|
<code>$this->tableVariableNames</code>
|
|
</InvalidPropertyAssignmentValue>
|
|
</file>
|
|
<file src="lib/private/App/CodeChecker/NodeVisitor.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$node->alias</code>
|
|
</ImplicitToStringCast>
|
|
</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/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="11">
|
|
<code>$this->server[$name]</code>
|
|
<code>$this->method</code>
|
|
<code>isset($this->files[$key]) ? $this->files[$key] : null</code>
|
|
<code>isset($this->env[$key]) ? $this->env[$key] : null</code>
|
|
<code>isset($this->cookies[$key]) ? $this->cookies[$key] : null</code>
|
|
<code>$this->server['UNIQUE_ID']</code>
|
|
<code>$remoteAddress</code>
|
|
<code>$uri</code>
|
|
<code>$name</code>
|
|
<code>$this->getOverwriteHost()</code>
|
|
<code>$host</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="3">
|
|
<code>$this->request->server</code>
|
|
<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>$userLimit</code>
|
|
<code>$userPeriod</code>
|
|
<code>$anonLimit</code>
|
|
<code>$anonPeriod</code>
|
|
<code>$exception->getCode()</code>
|
|
<code>$exception->getCode()</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>
|
|
<RedundantCondition occurrences="1">
|
|
<code>strtolower</code>
|
|
</RedundantCondition>
|
|
</file>
|
|
<file src="lib/private/AppFramework/ScopedPsrLogger.php">
|
|
<InvalidArgument occurrences="1"/>
|
|
</file>
|
|
<file src="lib/private/AppFramework/Services/AppConfig.php">
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
<code>$default</code>
|
|
</MoreSpecificImplementedParamType>
|
|
</file>
|
|
<file src="lib/private/AppFramework/Services/InitialState.php">
|
|
<ImplementedParamTypeMismatch occurrences="1">
|
|
<code>$closure</code>
|
|
</ImplementedParamTypeMismatch>
|
|
</file>
|
|
<file src="lib/private/Archive/TAR.php">
|
|
<FalsableReturnStatement occurrences="1">
|
|
<code>false</code>
|
|
</FalsableReturnStatement>
|
|
<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 && $this->session->exists('login_credentials')</code>
|
|
</RedundantCondition>
|
|
</file>
|
|
<file src="lib/private/Authentication/Token/DefaultToken.php">
|
|
<UndefinedMethod occurrences="14">
|
|
<code>parent::getLoginName()</code>
|
|
<code>parent::getPassword()</code>
|
|
<code>parent::getLastCheck()</code>
|
|
<code>parent::setLastCheck($time)</code>
|
|
<code>parent::getScope()</code>
|
|
<code>parent::setScope(json_encode($scope))</code>
|
|
<code>parent::setScope((string)$scope)</code>
|
|
<code>parent::getName()</code>
|
|
<code>parent::setName($name)</code>
|
|
<code>parent::getRemember()</code>
|
|
<code>parent::setToken($token)</code>
|
|
<code>parent::setPassword($password)</code>
|
|
<code>parent::setExpires($expires)</code>
|
|
<code>parent::getExpires()</code>
|
|
</UndefinedMethod>
|
|
</file>
|
|
<file src="lib/private/Authentication/Token/DefaultTokenProvider.php">
|
|
<InvalidArgument occurrences="1">
|
|
<code>$token</code>
|
|
</InvalidArgument>
|
|
</file>
|
|
<file src="lib/private/Authentication/Token/PublicKeyToken.php">
|
|
<UndefinedMethod occurrences="16">
|
|
<code>parent::getLoginName()</code>
|
|
<code>parent::getPassword()</code>
|
|
<code>parent::getLastCheck()</code>
|
|
<code>parent::setLastCheck($time)</code>
|
|
<code>parent::getScope()</code>
|
|
<code>parent::setScope(json_encode($scope))</code>
|
|
<code>parent::setScope((string)$scope)</code>
|
|
<code>parent::getName()</code>
|
|
<code>parent::setName($name)</code>
|
|
<code>parent::getRemember()</code>
|
|
<code>parent::setToken($token)</code>
|
|
<code>parent::setPassword($password)</code>
|
|
<code>parent::setExpires($expires)</code>
|
|
<code>parent::getExpires()</code>
|
|
<code>parent::setPasswordInvalid($invalid)</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>string[]</code>
|
|
<code>int[]</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="lib/private/Authentication/TwoFactorAuth/Manager.php">
|
|
<InvalidArgument occurrences="3">
|
|
<code>IProvider::EVENT_SUCCESS</code>
|
|
<code>IProvider::EVENT_FAILED</code>
|
|
<code>$tokenId</code>
|
|
</InvalidArgument>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$providerStates</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>string[]</code>
|
|
</InvalidReturnType>
|
|
<InvalidScalarArgument occurrences="3">
|
|
<code>$tokenId</code>
|
|
<code>$token->getId()</code>
|
|
<code>$this->timeFactory->getTime()</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>[]</code>
|
|
<code>$this->providers</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>
|
|
</file>
|
|
<file src="lib/private/Avatar/GuestAvatar.php">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>InMemoryFile</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
</file>
|
|
<file src="lib/private/Avatar/UserAvatar.php">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>ISimpleFile</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidScalarArgument occurrences="3">
|
|
<code>(int) $this->config->getUserValue($this->user->getUID(), 'avatar', 'version', 0) + 1</code>
|
|
<code>$data</code>
|
|
<code>$data</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/Collaborators/GroupPlugin.php">
|
|
<UndefinedThisPropertyAssignment occurrences="1">
|
|
<code>$this->shareeEnumerationInGroupOnly</code>
|
|
</UndefinedThisPropertyAssignment>
|
|
<UndefinedThisPropertyFetch occurrences="2">
|
|
<code>$this->shareeEnumerationInGroupOnly</code>
|
|
<code>$this->shareeEnumerationInGroupOnly</code>
|
|
</UndefinedThisPropertyFetch>
|
|
</file>
|
|
<file src="lib/private/Collaboration/Collaborators/MailPlugin.php">
|
|
<UndefinedThisPropertyAssignment occurrences="1">
|
|
<code>$this->shareeEnumerationInGroupOnly</code>
|
|
</UndefinedThisPropertyAssignment>
|
|
<UndefinedThisPropertyFetch occurrences="1">
|
|
<code>$this->shareeEnumerationInGroupOnly</code>
|
|
</UndefinedThisPropertyFetch>
|
|
</file>
|
|
<file src="lib/private/Collaboration/Collaborators/Search.php">
|
|
<UndefinedMethod occurrences="1">
|
|
<code>search</code>
|
|
</UndefinedMethod>
|
|
</file>
|
|
<file src="lib/private/Collaboration/Resources/Manager.php">
|
|
<InvalidArgument occurrences="4"/>
|
|
<RedundantCondition occurrences="1">
|
|
<code>$user instanceof IUser</code>
|
|
</RedundantCondition>
|
|
<TypeDoesNotContainType occurrences="1">
|
|
<code>''</code>
|
|
</TypeDoesNotContainType>
|
|
</file>
|
|
<file src="lib/private/Comments/Comment.php">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>\DateTime|null</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
</file>
|
|
<file src="lib/private/Comments/Manager.php">
|
|
<InvalidArgument occurrences="2"/>
|
|
<InvalidDocblock occurrences="1">
|
|
<code>public function getForObjectSince(</code>
|
|
</InvalidDocblock>
|
|
<NullArgument occurrences="1">
|
|
<code>null</code>
|
|
</NullArgument>
|
|
</file>
|
|
<file src="lib/private/Config.php">
|
|
<TypeDoesNotContainType occurrences="1">
|
|
<code>$needsUpdate</code>
|
|
</TypeDoesNotContainType>
|
|
</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/ActionProviderStore.php">
|
|
<ParadoxicalCondition occurrences="1">
|
|
<code>!isset($info['contactsmenu']) || !isset($info['contactsmenu'])</code>
|
|
</ParadoxicalCondition>
|
|
</file>
|
|
<file src="lib/private/Contacts/ContactsMenu/ContactsStore.php">
|
|
<InvalidIterator occurrences="1">
|
|
<code>$mailAddresses</code>
|
|
</InvalidIterator>
|
|
</file>
|
|
<file src="lib/private/Contacts/ContactsMenu/Entry.php">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>string</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>string</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$this->emailAddresses</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>string</code>
|
|
</InvalidReturnType>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>$this->avatar</code>
|
|
</NullableReturnStatement>
|
|
</file>
|
|
<file src="lib/private/Contacts/ContactsMenu/Manager.php">
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>IEntry</code>
|
|
</InvalidNullableReturnType>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>$entry</code>
|
|
</NullableReturnStatement>
|
|
</file>
|
|
<file src="lib/private/ContactsManager.php">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>IAddressBook[]</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidNullableReturnType occurrences="3">
|
|
<code>bool</code>
|
|
<code>array</code>
|
|
<code>IAddressBook</code>
|
|
</InvalidNullableReturnType>
|
|
<NullableReturnStatement occurrences="5">
|
|
<code>null</code>
|
|
<code>null</code>
|
|
<code>null</code>
|
|
<code>null</code>
|
|
<code>null</code>
|
|
</NullableReturnStatement>
|
|
</file>
|
|
<file src="lib/private/DB/Adapter.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$builder->createNamedParameter($value)</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$builder->execute()</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>int</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="lib/private/DB/AdapterPgSql.php">
|
|
<FalsableReturnStatement occurrences="1">
|
|
<code>$this->conn->fetchColumn('SELECT lastval()')</code>
|
|
</FalsableReturnStatement>
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$builder->createNamedParameter($value)</code>
|
|
</ImplicitToStringCast>
|
|
</file>
|
|
<file src="lib/private/DB/Connection.php">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>string</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidReturnStatement occurrences="2">
|
|
<code>$this->adapter->lastInsertId($seqName)</code>
|
|
<code>$insertQb->execute()</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="2">
|
|
<code>string</code>
|
|
<code>int</code>
|
|
</InvalidReturnType>
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>$e->getCode()</code>
|
|
</InvalidScalarArgument>
|
|
<ParamNameMismatch occurrences="1">
|
|
<code>$statement</code>
|
|
</ParamNameMismatch>
|
|
</file>
|
|
<file src="lib/private/DB/ConnectionFactory.php">
|
|
<InternalClass occurrences="1">
|
|
<code>new Configuration()</code>
|
|
</InternalClass>
|
|
</file>
|
|
<file src="lib/private/DB/MDB2SchemaReader.php">
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>$options['default']</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="lib/private/DB/MDB2SchemaWriter.php">
|
|
<InternalMethod occurrences="1">
|
|
<code>setFilterSchemaAssetsExpression</code>
|
|
</InternalMethod>
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>$column->getLength()</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="lib/private/DB/MigrationService.php">
|
|
<InvalidOperand occurrences="2">
|
|
<code>$offset</code>
|
|
<code>$offset</code>
|
|
</InvalidOperand>
|
|
<UndefinedThisPropertyAssignment occurrences="4">
|
|
<code>$this->migrationsPath</code>
|
|
<code>$this->migrationsNamespace</code>
|
|
<code>$this->migrationsPath</code>
|
|
<code>$this->migrationsNamespace</code>
|
|
</UndefinedThisPropertyAssignment>
|
|
<UndefinedThisPropertyFetch occurrences="4">
|
|
<code>$this->migrationsPath</code>
|
|
<code>$this->migrationsNamespace</code>
|
|
<code>$this->migrationsNamespace</code>
|
|
<code>$this->migrationsPath</code>
|
|
</UndefinedThisPropertyFetch>
|
|
</file>
|
|
<file src="lib/private/DB/Migrator.php">
|
|
<InternalMethod occurrences="3">
|
|
<code>setFilterSchemaAssetsExpression</code>
|
|
<code>setFilterSchemaAssetsExpression</code>
|
|
<code>setFilterSchemaAssetsExpression</code>
|
|
</InternalMethod>
|
|
<InvalidArgument occurrences="2">
|
|
<code>'\OC\DB\Migrator::executeSql'</code>
|
|
<code>'\OC\DB\Migrator::checkTable'</code>
|
|
</InvalidArgument>
|
|
<TooManyArguments occurrences="2">
|
|
<code>dispatch</code>
|
|
<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/PgSqlTools.php">
|
|
<InternalMethod occurrences="1">
|
|
<code>setFilterSchemaAssetsExpression</code>
|
|
</InternalMethod>
|
|
</file>
|
|
<file src="lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$this->functionBuilder->lower($x)</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidArgument occurrences="1">
|
|
<code>$connection</code>
|
|
</InvalidArgument>
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>$y</code>
|
|
<code>$y</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="lib/private/DB/QueryBuilder/ExpressionBuilder/OCIExpressionBuilder.php">
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>parent::castColumn($column, $type)</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>IQueryFunction</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="lib/private/DB/QueryBuilder/ExpressionBuilder/SqliteExpressionBuilder.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$this->functionBuilder->lower($x)</code>
|
|
</ImplicitToStringCast>
|
|
</file>
|
|
<file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
|
|
<InvalidArgument occurrences="1">
|
|
<code>$this->connection</code>
|
|
</InvalidArgument>
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>string</code>
|
|
</InvalidNullableReturnType>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>$alias</code>
|
|
</NullableReturnStatement>
|
|
</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">
|
|
<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>
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>void</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidArgument occurrences="1">
|
|
<code>$eventName</code>
|
|
</InvalidArgument>
|
|
<ParamNameMismatch occurrences="1">
|
|
<code>$eventName</code>
|
|
</ParamNameMismatch>
|
|
<TooManyArguments occurrences="1">
|
|
<code>dispatch</code>
|
|
</TooManyArguments>
|
|
</file>
|
|
<file src="lib/private/Federation/CloudIdManager.php">
|
|
<RedundantCondition occurrences="1">
|
|
<code>$pos !== false</code>
|
|
</RedundantCondition>
|
|
</file>
|
|
<file src="lib/private/Files/Cache/Cache.php">
|
|
<ImplicitToStringCast occurrences="3">
|
|
<code>$builder->createNamedParameter($value)</code>
|
|
<code>$fun->md5($newPathFunction)</code>
|
|
<code>$newPathFunction</code>
|
|
</ImplicitToStringCast>
|
|
<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>
|
|
<UndefinedInterfaceMethod occurrences="5">
|
|
<code>$sourceData</code>
|
|
<code>$sourceData</code>
|
|
<code>$parentData</code>
|
|
<code>$parentData</code>
|
|
<code>$entry</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="lib/private/Files/Cache/CacheQueryBuilder.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$this->createNamedParameter($parents, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
</file>
|
|
<file src="lib/private/Files/Cache/FailedCache.php">
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>[]</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="3">
|
|
<code>put</code>
|
|
<code>insert</code>
|
|
<code>getIncomplete</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>
|
|
<UndefinedInterfaceMethod occurrences="5">
|
|
<code>$entry</code>
|
|
<code>$entry</code>
|
|
<code>$entry</code>
|
|
<code>$filesData</code>
|
|
<code>$data</code>
|
|
</UndefinedInterfaceMethod>
|
|
<UndefinedMagicMethod occurrences="1">
|
|
<code>closeCursor</code>
|
|
</UndefinedMagicMethod>
|
|
</file>
|
|
<file src="lib/private/Files/Cache/LocalRootScanner.php">
|
|
<InvalidNullableReturnType occurrences="2">
|
|
<code>scanFile</code>
|
|
<code>scan</code>
|
|
</InvalidNullableReturnType>
|
|
<NullableReturnStatement occurrences="2">
|
|
<code>null</code>
|
|
<code>null</code>
|
|
</NullableReturnStatement>
|
|
</file>
|
|
<file src="lib/private/Files/Cache/Propagator.php">
|
|
<ImplicitToStringCast occurrences="4">
|
|
<code>$builder->func()->greatest('mtime', $builder->createNamedParameter((int)$time, IQueryBuilder::PARAM_INT))</code>
|
|
<code>$query->createFunction('GREATEST(' . $query->getColumnName('mtime') . ', ' . $query->createParameter('time') . ')')</code>
|
|
<code>$sizeQuery->func()->add('size', $sizeQuery->createParameter('size'))</code>
|
|
</ImplicitToStringCast>
|
|
</file>
|
|
<file src="lib/private/Files/Cache/QuerySearchHelper.php">
|
|
<InvalidScalarArgument occurrences="4">
|
|
<code>$value</code>
|
|
<code>$value</code>
|
|
<code>$value</code>
|
|
<code>$value</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="lib/private/Files/Cache/Scanner.php">
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>array</code>
|
|
</InvalidNullableReturnType>
|
|
<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>
|
|
<NullableReturnStatement occurrences="4">
|
|
<code>null</code>
|
|
<code>null</code>
|
|
<code>null</code>
|
|
<code>null</code>
|
|
</NullableReturnStatement>
|
|
<TypeDoesNotContainType occurrences="1">
|
|
<code>$data ?? $this->getData($file)</code>
|
|
</TypeDoesNotContainType>
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
<code>$child</code>
|
|
</UndefinedInterfaceMethod>
|
|
</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/StorageGlobal.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$builder->createNamedParameter(array_values($storageIds), IQueryBuilder::PARAM_STR_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
</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/Watcher.php">
|
|
<UndefinedInterfaceMethod occurrences="3">
|
|
<code>$cachedData</code>
|
|
<code>$entry</code>
|
|
<code>$entry</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="lib/private/Files/Cache/Wrapper/CacheJail.php">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>array</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$entry</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>array</code>
|
|
</InvalidReturnType>
|
|
<LessSpecificImplementedReturnType occurrences="2">
|
|
<code>array</code>
|
|
<code>array</code>
|
|
</LessSpecificImplementedReturnType>
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
<code>$entry</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="lib/private/Files/Cache/Wrapper/CachePermissionsMask.php">
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$entry</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>formatCacheEntry</code>
|
|
</InvalidReturnType>
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
<code>$entry</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="lib/private/Files/Cache/Wrapper/CacheWrapper.php">
|
|
<LessSpecificImplementedReturnType occurrences="1">
|
|
<code>array</code>
|
|
</LessSpecificImplementedReturnType>
|
|
</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">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$builder->createNamedParameter($userIds, IQueryBuilder::PARAM_STR_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidArgument occurrences="1"/>
|
|
<InvalidReturnType occurrences="2">
|
|
<code>removeUserStorageMount</code>
|
|
<code>remoteStorageMounts</code>
|
|
</InvalidReturnType>
|
|
<LessSpecificImplementedReturnType occurrences="1">
|
|
<code>array</code>
|
|
</LessSpecificImplementedReturnType>
|
|
<UndefinedInterfaceMethod occurrences="9">
|
|
<code>$this->mountsForUsers</code>
|
|
<code>$this->mountsForUsers</code>
|
|
<code>$this->mountsForUsers</code>
|
|
<code>$this->mountsForUsers</code>
|
|
<code>$this->mountsForUsers</code>
|
|
<code>$this->mountsForUsers</code>
|
|
<code>$this->cacheInfoCache</code>
|
|
<code>$this->cacheInfoCache</code>
|
|
<code>$this->cacheInfoCache</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="lib/private/Files/FileInfo.php">
|
|
<UndefinedInterfaceMethod occurrences="4">
|
|
<code>$this->data</code>
|
|
<code>$data</code>
|
|
<code>$data</code>
|
|
<code>$data</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>new NonExistingFile($this->root, $this->view, $path)</code>
|
|
<code>$this->view->hash($type, $this->path, $raw)</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"/>
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>string</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidReturnStatement occurrences="2">
|
|
<code>new NonExistingFolder($this->root, $this->view, $path)</code>
|
|
<code>$this->root->get($this->getFullPath($path))</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="2">
|
|
<code>string</code>
|
|
<code>\OC\Files\Node\Node</code>
|
|
</InvalidReturnType>
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
<code>$node</code>
|
|
</MoreSpecificImplementedParamType>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>null</code>
|
|
</NullableReturnStatement>
|
|
<UndefinedInterfaceMethod occurrences="2">
|
|
<code>getUnJailedPath</code>
|
|
<code>getSourceStorage</code>
|
|
</UndefinedInterfaceMethod>
|
|
<UndefinedThisPropertyAssignment occurrences="1">
|
|
<code>$this->exists</code>
|
|
</UndefinedThisPropertyAssignment>
|
|
</file>
|
|
<file src="lib/private/Files/Node/HookConnector.php">
|
|
<InvalidArgument occurrences="13">
|
|
<code>'\OCP\Files::preWrite'</code>
|
|
<code>'\OCP\Files::postWrite'</code>
|
|
<code>'\OCP\Files::preCreate'</code>
|
|
<code>'\OCP\Files::postCreate'</code>
|
|
<code>'\OCP\Files::preDelete'</code>
|
|
<code>'\OCP\Files::postDelete'</code>
|
|
<code>'\OCP\Files::preTouch'</code>
|
|
<code>'\OCP\Files::postTouch'</code>
|
|
<code>'\OCP\Files::preRename'</code>
|
|
<code>'\OCP\Files::postRename'</code>
|
|
<code>'\OCP\Files::preCopy'</code>
|
|
<code>'\OCP\Files::postCopy'</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>
|
|
<InvalidReturnStatement occurrences="3">
|
|
<code>$this->root->get($newPath)</code>
|
|
<code>$targetNode</code>
|
|
<code>$targetNode</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="4">
|
|
<code>Node</code>
|
|
<code>getChecksum</code>
|
|
<code>\OC\Files\Node\Node</code>
|
|
<code>\OC\Files\Node\Node</code>
|
|
</InvalidReturnType>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>$this->getFileInfo()->getId()</code>
|
|
</NullableReturnStatement>
|
|
<TooManyArguments occurrences="1">
|
|
<code>dispatch</code>
|
|
</TooManyArguments>
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
<code>$this->fileInfo</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="lib/private/Files/Node/Root.php">
|
|
<ImplementedReturnTypeMismatch occurrences="2">
|
|
<code>string</code>
|
|
<code>Node</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidNullableReturnType occurrences="7">
|
|
<code>\OC\User\User</code>
|
|
<code>\OC\Files\Mount\MountPoint</code>
|
|
<code>int</code>
|
|
<code>array</code>
|
|
<code>int</code>
|
|
<code>int</code>
|
|
<code>string</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$this->createNode($fullPath, $fileInfo)</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>string</code>
|
|
</InvalidReturnType>
|
|
<NullableReturnStatement occurrences="7">
|
|
<code>$this->user</code>
|
|
<code>$this->mountManager->find($mountPoint)</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>
|
|
<UndefinedInterfaceMethod occurrences="4">
|
|
<code>$child</code>
|
|
<code>$child</code>
|
|
<code>$child</code>
|
|
<code>$file</code>
|
|
</UndefinedInterfaceMethod>
|
|
</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/ObjectStore/SwiftFactory.php">
|
|
<InvalidArrayOffset occurrences="1">
|
|
<code>$this->params['url']</code>
|
|
</InvalidArrayOffset>
|
|
</file>
|
|
<file src="lib/private/Files/Storage/Common.php">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>string|false</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidNullableReturnType occurrences="2">
|
|
<code>getMetaData</code>
|
|
<code>array</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidOperand occurrences="1">
|
|
<code>!$permissions</code>
|
|
</InvalidOperand>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$count</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>file_put_contents</code>
|
|
</InvalidReturnType>
|
|
<NoInterfaceProperties occurrences="8">
|
|
<code>$storage->cache</code>
|
|
<code>$storage->cache</code>
|
|
<code>$storage->scanner</code>
|
|
<code>$storage->scanner</code>
|
|
<code>$storage->propagator</code>
|
|
<code>$storage->propagator</code>
|
|
<code>$storage->updater</code>
|
|
<code>$storage->updater</code>
|
|
</NoInterfaceProperties>
|
|
<NullableReturnStatement occurrences="2">
|
|
<code>null</code>
|
|
<code>$this->getStorageCache()->getAvailability()</code>
|
|
</NullableReturnStatement>
|
|
</file>
|
|
<file src="lib/private/Files/Storage/DAV.php">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>int</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidClass occurrences="2">
|
|
<code>ArrayCache</code>
|
|
<code>ArrayCache</code>
|
|
</InvalidClass>
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>getETag</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidReturnStatement occurrences="2">
|
|
<code>$response->getBody()</code>
|
|
<code>$result</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="2">
|
|
<code>fopen</code>
|
|
<code>int</code>
|
|
</InvalidReturnType>
|
|
<NullArgument occurrences="1">
|
|
<code>null</code>
|
|
</NullArgument>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>null</code>
|
|
</NullableReturnStatement>
|
|
<UndefinedInterfaceMethod occurrences="3">
|
|
<code>$cachedData</code>
|
|
<code>$cachedData</code>
|
|
<code>$cachedData</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="lib/private/Files/Storage/FailedStorage.php">
|
|
<InvalidReturnStatement occurrences="2">
|
|
<code>true</code>
|
|
<code>new FailedCache()</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="2">
|
|
<code>verifyPath</code>
|
|
<code>getCache</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/Flysystem.php">
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$this->flysystem->getTimestamp($this->buildPath($path))</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>filemtime</code>
|
|
</InvalidReturnType>
|
|
<ParamNameMismatch occurrences="4">
|
|
<code>$source</code>
|
|
<code>$target</code>
|
|
<code>$source</code>
|
|
<code>$target</code>
|
|
</ParamNameMismatch>
|
|
</file>
|
|
<file src="lib/private/Files/Storage/Local.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$file</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>getMetaData</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidReturnStatement occurrences="3">
|
|
<code>$helper->getFileSize($fullPath)</code>
|
|
<code>file_put_contents($this->getSourcePath($path), $data)</code>
|
|
<code>$space</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="3">
|
|
<code>filesize</code>
|
|
<code>file_put_contents</code>
|
|
<code>free_space</code>
|
|
</InvalidReturnType>
|
|
<NullableReturnStatement occurrences="2">
|
|
<code>null</code>
|
|
<code>$helper->getFileSize($fullPath)</code>
|
|
</NullableReturnStatement>
|
|
<TypeDoesNotContainNull occurrences="2">
|
|
<code>is_null($space)</code>
|
|
<code>$space === false || 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>mkdir</code>
|
|
<code>rmdir</code>
|
|
<code>opendir</code>
|
|
<code>is_dir</code>
|
|
<code>is_file</code>
|
|
<code>stat</code>
|
|
<code>filesize</code>
|
|
<code>isCreatable</code>
|
|
<code>isReadable</code>
|
|
<code>isUpdatable</code>
|
|
<code>isDeletable</code>
|
|
<code>isSharable</code>
|
|
<code>getPermissions</code>
|
|
<code>file_exists</code>
|
|
<code>filemtime</code>
|
|
<code>file_get_contents</code>
|
|
<code>file_put_contents</code>
|
|
<code>unlink</code>
|
|
<code>rename</code>
|
|
<code>copy</code>
|
|
<code>fopen</code>
|
|
<code>getMimeType</code>
|
|
<code>hash</code>
|
|
<code>free_space</code>
|
|
<code>search</code>
|
|
<code>touch</code>
|
|
<code>getLocalFile</code>
|
|
<code>hasUpdated</code>
|
|
<code>getOwner</code>
|
|
<code>getETag</code>
|
|
<code>getDirectDownload</code>
|
|
<code>copyFromStorage</code>
|
|
<code>moveFromStorage</code>
|
|
<code>getMetaData</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>\Traversable</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="lib/private/Files/Storage/Wrapper/Encoding.php">
|
|
<FalsableReturnStatement occurrences="12">
|
|
<code>$this->storage->opendir($this->findPathToUse($path))</code>
|
|
<code>$this->storage->stat($this->findPathToUse($path))</code>
|
|
<code>$this->storage->filesize($this->findPathToUse($path))</code>
|
|
<code>$this->storage->filemtime($this->findPathToUse($path))</code>
|
|
<code>$this->storage->file_get_contents($this->findPathToUse($path))</code>
|
|
<code>$result</code>
|
|
<code>$this->storage->getMimeType($this->findPathToUse($path))</code>
|
|
<code>$this->storage->hash($type, $this->findPathToUse($path), $raw)</code>
|
|
<code>$this->storage->free_space($this->findPathToUse($path))</code>
|
|
<code>$this->storage->search($query)</code>
|
|
<code>$this->storage->getLocalFile($this->findPathToUse($path))</code>
|
|
<code>$this->storage->getETag($this->findPathToUse($path))</code>
|
|
</FalsableReturnStatement>
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>bool</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$this->storage->filetype($this->findPathToUse($path))</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>bool</code>
|
|
</InvalidReturnType>
|
|
<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="5">
|
|
<code>$this->storage->filesize($path)</code>
|
|
<code>false</code>
|
|
<code>$this->storage->file_get_contents($path)</code>
|
|
<code>$this->storage->getLocalFile($path)</code>
|
|
<code>$stat</code>
|
|
</FalsableReturnStatement>
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>resource|bool</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidArgument occurrences="2">
|
|
<code>$source</code>
|
|
<code>$target</code>
|
|
</InvalidArgument>
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>array</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidReturnStatement occurrences="2">
|
|
<code>$written</code>
|
|
<code>$newUnencryptedSize</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="2">
|
|
<code>bool</code>
|
|
<code>int</code>
|
|
</InvalidReturnType>
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>$lastChunkPos</code>
|
|
<code>$newUnencryptedSize</code>
|
|
</InvalidScalarArgument>
|
|
<NullableReturnStatement occurrences="1">
|
|
<code>null</code>
|
|
</NullableReturnStatement>
|
|
<UndefinedInterfaceMethod occurrences="7">
|
|
<code>$info</code>
|
|
<code>$info</code>
|
|
<code>$info</code>
|
|
<code>$entry</code>
|
|
<code>$sourceStorage->getCache()->get($sourceInternalPath)</code>
|
|
<code>$info</code>
|
|
<code>$info</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="lib/private/Files/Storage/Wrapper/Jail.php">
|
|
<FalsableReturnStatement occurrences="12">
|
|
<code>$this->getWrapperStorage()->opendir($this->getUnjailedPath($path))</code>
|
|
<code>$this->getWrapperStorage()->stat($this->getUnjailedPath($path))</code>
|
|
<code>$this->getWrapperStorage()->filesize($this->getUnjailedPath($path))</code>
|
|
<code>$this->getWrapperStorage()->filemtime($this->getUnjailedPath($path))</code>
|
|
<code>$this->getWrapperStorage()->file_get_contents($this->getUnjailedPath($path))</code>
|
|
<code>$this->getWrapperStorage()->fopen($this->getUnjailedPath($path), $mode)</code>
|
|
<code>$this->getWrapperStorage()->getMimeType($this->getUnjailedPath($path))</code>
|
|
<code>$this->getWrapperStorage()->hash($type, $this->getUnjailedPath($path), $raw)</code>
|
|
<code>$this->getWrapperStorage()->free_space($this->getUnjailedPath($path))</code>
|
|
<code>$this->getWrapperStorage()->search($query)</code>
|
|
<code>$this->getWrapperStorage()->getLocalFile($this->getUnjailedPath($path))</code>
|
|
<code>$this->getWrapperStorage()->getETag($this->getUnjailedPath($path))</code>
|
|
</FalsableReturnStatement>
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>bool</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<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/PermissionsMask.php">
|
|
<FalsableReturnStatement occurrences="1">
|
|
<code>$this->checkMask($permissions) ? parent::fopen($path, $mode) : false</code>
|
|
</FalsableReturnStatement>
|
|
</file>
|
|
<file src="lib/private/Files/Storage/Wrapper/Quota.php">
|
|
<FalsableReturnStatement occurrences="2">
|
|
<code>$this->storage->free_space($path)</code>
|
|
<code>$source</code>
|
|
</FalsableReturnStatement>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$extension === 'part'</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>string</code>
|
|
</InvalidReturnType>
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>'ext'</code>
|
|
</InvalidScalarArgument>
|
|
<ParamNameMismatch occurrences="2">
|
|
<code>$source</code>
|
|
<code>$target</code>
|
|
</ParamNameMismatch>
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
<code>$data</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="lib/private/Files/Storage/Wrapper/Wrapper.php">
|
|
<FalsableReturnStatement occurrences="13">
|
|
<code>$this->getWrapperStorage()->opendir($path)</code>
|
|
<code>$this->getWrapperStorage()->stat($path)</code>
|
|
<code>$this->getWrapperStorage()->filesize($path)</code>
|
|
<code>$this->getWrapperStorage()->filemtime($path)</code>
|
|
<code>$this->getWrapperStorage()->file_get_contents($path)</code>
|
|
<code>$this->getWrapperStorage()->fopen($path, $mode)</code>
|
|
<code>$this->getWrapperStorage()->getMimeType($path)</code>
|
|
<code>$this->getWrapperStorage()->hash($type, $path, $raw)</code>
|
|
<code>$this->getWrapperStorage()->free_space($path)</code>
|
|
<code>$this->getWrapperStorage()->search($query)</code>
|
|
<code>$this->getWrapperStorage()->getLocalFile($path)</code>
|
|
<code>$this->getWrapperStorage()->getETag($path)</code>
|
|
<code>$this->getWrapperStorage()->getDirectDownload($path)</code>
|
|
</FalsableReturnStatement>
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>bool</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidReturnStatement occurrences="2">
|
|
<code>$this->getWrapperStorage()->filetype($path)</code>
|
|
<code>$this->getWrapperStorage()->test()</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="2">
|
|
<code>bool</code>
|
|
<code>true</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="lib/private/Files/Stream/Encryption.php">
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>$position</code>
|
|
</InvalidScalarArgument>
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
<code>$cacheEntry</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="lib/private/Files/Stream/SeekableHttpStream.php">
|
|
<FalsableReturnStatement occurrences="3">
|
|
<code>false</code>
|
|
<code>false</code>
|
|
<code>false</code>
|
|
</FalsableReturnStatement>
|
|
<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/Loader.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$update->func()->lower('name')</code>
|
|
</ImplicitToStringCast>
|
|
<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>string</code>
|
|
<code>\OCP\Files\Mount\IMountPoint</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$results</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>\OC\Files\Mount\MountPoint</code>
|
|
</InvalidReturnType>
|
|
<InvalidScalarArgument occurrences="3">
|
|
<code>$mtime</code>
|
|
<code>$user</code>
|
|
<code>$fileId</code>
|
|
</InvalidScalarArgument>
|
|
<NullableReturnStatement occurrences="6">
|
|
<code>null</code>
|
|
<code>Filesystem::getMountManager()->find($this->getAbsolutePath($path))</code>
|
|
<code>null</code>
|
|
<code>null</code>
|
|
<code>null</code>
|
|
<code>$mount</code>
|
|
</NullableReturnStatement>
|
|
<RedundantCondition occurrences="3">
|
|
<code>$storage1</code>
|
|
<code>is_resource($source)</code>
|
|
<code>$result && in_array('delete', $hooks) and $result</code>
|
|
</RedundantCondition>
|
|
<UndefinedDocblockClass occurrences="2">
|
|
<code>list($storage, $internalPath)</code>
|
|
<code>$storage</code>
|
|
</UndefinedDocblockClass>
|
|
<UndefinedInterfaceMethod occurrences="20">
|
|
<code>$data</code>
|
|
<code>$data</code>
|
|
<code>$data</code>
|
|
<code>$data</code>
|
|
<code>$content</code>
|
|
<code>$content</code>
|
|
<code>$content</code>
|
|
<code>$content</code>
|
|
<code>$content</code>
|
|
<code>$rootEntry</code>
|
|
<code>$rootEntry</code>
|
|
<code>$rootEntry</code>
|
|
<code>$rootEntry</code>
|
|
<code>$rootEntry</code>
|
|
<code>$rootEntry</code>
|
|
<code>$rootEntry</code>
|
|
<code>$rootEntry</code>
|
|
<code>$rootEntry</code>
|
|
<code>$rootEntry</code>
|
|
<code>$rootEntry</code>
|
|
</UndefinedInterfaceMethod>
|
|
</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">
|
|
<ImplicitToStringCast occurrences="4">
|
|
<code>$builder->createNamedParameter($gid)</code>
|
|
<code>$builder->createNamedParameter($gid)</code>
|
|
<code>$qb->createNamedParameter($uid)</code>
|
|
<code>$qb->createNamedParameter($gid)</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidArgument occurrences="1"/>
|
|
<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="6">
|
|
<code>IGroup::class . '::preAddUser'</code>
|
|
<code>IGroup::class . '::postAddUser'</code>
|
|
<code>IGroup::class . '::preRemoveUser'</code>
|
|
<code>IGroup::class . '::postRemoveUser'</code>
|
|
<code>IGroup::class . '::preDelete'</code>
|
|
<code>IGroup::class . '::postDelete'</code>
|
|
</InvalidArgument>
|
|
<InvalidOperand occurrences="1">
|
|
<code>$hide</code>
|
|
</InvalidOperand>
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
<code>$user</code>
|
|
</MoreSpecificImplementedParamType>
|
|
<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>removeFromGroup</code>
|
|
<code>countUsersInGroup</code>
|
|
<code>deleteGroup</code>
|
|
</UndefinedMethod>
|
|
</file>
|
|
<file src="lib/private/Group/Manager.php">
|
|
<InvalidArgument occurrences="1">
|
|
<code>$groupId</code>
|
|
</InvalidArgument>
|
|
<InvalidOperand occurrences="1">
|
|
<code>$groupId</code>
|
|
</InvalidOperand>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$groups</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>\OC\Group\Group[]</code>
|
|
</InvalidReturnType>
|
|
<UndefinedInterfaceMethod occurrences="3">
|
|
<code>getGroupDetails</code>
|
|
<code>createGroup</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>
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
<code>getSubAdmin</code>
|
|
</UndefinedInterfaceMethod>
|
|
</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="2">
|
|
<code>array</code>
|
|
<code>array|mixed</code>
|
|
</LessSpecificImplementedReturnType>
|
|
</file>
|
|
<file src="lib/private/L10N/L10N.php">
|
|
<InvalidPropertyAssignmentValue occurrences="1"/>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$this->pluralFormFunction</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>\Closure</code>
|
|
</InvalidReturnType>
|
|
</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/Lock/DBLockingProvider.php">
|
|
<ImplicitToStringCast occurrences="3">
|
|
<code>$query->func()->subtract('lock', $query->createNamedParameter(1))</code>
|
|
<code>$builder->func()->subtract('lock', $builder->expr()->literal(1))</code>
|
|
<code>$builder->createNamedParameter($chunk, IQueryBuilder::PARAM_STR_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
</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>getPermissions</code>
|
|
<code>getOwner</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidReturnStatement occurrences="2">
|
|
<code>new IteratorDirectory([])</code>
|
|
<code>new NullCache()</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="2">
|
|
<code>opendir</code>
|
|
<code>getCache</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 && hash_equals($logCondition['shared_secret'], $logSecretRequest)</code>
|
|
</RedundantCondition>
|
|
</file>
|
|
<file src="lib/private/Log/File.php">
|
|
<RedundantCondition occurrences="1">
|
|
<code>$limit === null ||$entriesCount < $limit</code>
|
|
</RedundantCondition>
|
|
</file>
|
|
<file src="lib/private/Log/LogDetails.php">
|
|
<RedundantCondition occurrences="1">
|
|
<code>is_string($request->getMethod())</code>
|
|
</RedundantCondition>
|
|
</file>
|
|
<file src="lib/private/Log/LogFactory.php">
|
|
<InvalidReturnStatement occurrences="2">
|
|
<code>$this->c->resolve(Syslog::class)</code>
|
|
<code>$this->c->resolve(Systemdlog::class)</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>IWriter</code>
|
|
</InvalidReturnType>
|
|
</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>getSwiftMessage</code>
|
|
<code>getTo</code>
|
|
<code>getSubject</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="lib/private/Memcache/APCu.php">
|
|
<InvalidReturnStatement occurrences="5">
|
|
<code>apcu_store($this->getPrefix() . $key, $value, $ttl)</code>
|
|
<code>apcu_exists($this->getPrefix() . $key)</code>
|
|
<code>apcu_delete($this->getPrefix() . $key)</code>
|
|
<code>apcu_delete($iter)</code>
|
|
<code>apcu_add($this->getPrefix() . $key, $value, $ttl)</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="5">
|
|
<code>set</code>
|
|
<code>hasKey</code>
|
|
<code>remove</code>
|
|
<code>clear</code>
|
|
<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/Factory.php">
|
|
<RedundantCondition occurrences="1">
|
|
<code>$lockingCacheClass && class_exists($distributedCacheClass) && $lockingCacheClass::isAvailable()</code>
|
|
</RedundantCondition>
|
|
</file>
|
|
<file src="lib/private/Memcache/Memcached.php">
|
|
<RedundantCondition occurrences="1">
|
|
<code>method_exists(self::$cache, 'deleteMulti')</code>
|
|
</RedundantCondition>
|
|
<TypeDoesNotContainType occurrences="1">
|
|
<code>\Memcached::HAVE_IGBINARY</code>
|
|
</TypeDoesNotContainType>
|
|
</file>
|
|
<file src="lib/private/Memcache/Redis.php">
|
|
<InvalidMethodCall occurrences="2">
|
|
<code>exec</code>
|
|
<code>exec</code>
|
|
</InvalidMethodCall>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>self::$cache->exists($this->getNameSpace() . $key)</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>hasKey</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="lib/private/Migration/BackgroundRepair.php">
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
<code>$jobList</code>
|
|
</MoreSpecificImplementedParamType>
|
|
</file>
|
|
<file src="lib/private/Notification/Manager.php">
|
|
<RedundantCondition occurrences="2">
|
|
<code>!($notification instanceof INotification) || !$notification->isValidParsed()</code>
|
|
<code>!($notification instanceof INotification) || !$notification->isValidParsed()</code>
|
|
</RedundantCondition>
|
|
</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>IPreview::EVENT</code>
|
|
<code>$maxPreviewImage</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>valid</code>
|
|
<code>height</code>
|
|
<code>width</code>
|
|
<code>width</code>
|
|
<code>height</code>
|
|
<code>preciseResizeCopy</code>
|
|
<code>resizeCopy</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">
|
|
<FalsableReturnStatement occurrences="1">
|
|
<code>$file->getStorage()->getLocalFile($file->getInternalPath())</code>
|
|
</FalsableReturnStatement>
|
|
</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">
|
|
<InvalidPropertyAssignmentValue occurrences="2">
|
|
<code>new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout, false, $config['password'])</code>
|
|
<code>new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout)</code>
|
|
</InvalidPropertyAssignmentValue>
|
|
<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>
|
|
<TooManyArguments occurrences="1">
|
|
<code>dispatch</code>
|
|
</TooManyArguments>
|
|
</file>
|
|
<file src="lib/private/Repair/CleanTags.php">
|
|
<ImplicitToStringCast occurrences="2">
|
|
<code>$query->createNamedParameter($users, IQueryBuilder::PARAM_STR_ARRAY)</code>
|
|
<code>$qb->createParameter('ids')</code>
|
|
</ImplicitToStringCast>
|
|
</file>
|
|
<file src="lib/private/Repair/RemoveLinkShares.php">
|
|
<ImplicitToStringCast occurrences="3">
|
|
<code>$subQuery->createFunction('(' . $subSubQuery->getSQL() . ')')</code>
|
|
<code>$query->createFunction('(' . $subQuery->getSQL() . ')')</code>
|
|
<code>$query->createFunction('(' . $subQuery->getSQL() . ')')</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
<code>$this->userToNotify</code>
|
|
</InvalidPropertyAssignmentValue>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$query->execute()</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>\Doctrine\DBAL\Driver\Statement</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="lib/private/Repair/RepairInvalidShares.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$permsFunc</code>
|
|
</ImplicitToStringCast>
|
|
</file>
|
|
<file src="lib/private/Repair/RepairMimeTypes.php">
|
|
<InvalidOperand occurrences="1">
|
|
<code>\OC_DB::executeAudited(self::updateByNameStmt(), [$mimetypeId, $this->folderMimeTypeId, $mimetypeId, '%.' . $extension])</code>
|
|
</InvalidOperand>
|
|
</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>
|
|
<RedundantCondition occurrences="1">
|
|
<code>$file !== false</code>
|
|
</RedundantCondition>
|
|
</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->getPermissions()</code>
|
|
<code>$data->getMtime()</code>
|
|
<code>$this->hasPreview($data)</code>
|
|
</InvalidPropertyAssignmentValue>
|
|
</file>
|
|
<file src="lib/private/Security/Bruteforce/Throttler.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$qb->createNamedParameter($value)</code>
|
|
</ImplicitToStringCast>
|
|
<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/Certificate.php">
|
|
<ImplementedReturnTypeMismatch occurrences="3">
|
|
<code>string|null</code>
|
|
<code>string|null</code>
|
|
<code>string|null</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
</file>
|
|
<file src="lib/private/Security/CertificateManager.php">
|
|
<NullArgument occurrences="1">
|
|
<code>null</code>
|
|
</NullArgument>
|
|
</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>setPassword</code>
|
|
<code>setIV</code>
|
|
<code>encrypt</code>
|
|
<code>setPassword</code>
|
|
<code>setIV</code>
|
|
<code>decrypt</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>
|
|
<InternalMethod occurrences="1">
|
|
<code>setSQLLogger</code>
|
|
</InternalMethod>
|
|
<InvalidArgument occurrences="1">
|
|
<code>'OCP\IUser::preDelete'</code>
|
|
</InvalidArgument>
|
|
<InvalidCatch occurrences="1"/>
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>$uid</code>
|
|
</InvalidScalarArgument>
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
<code>$userId</code>
|
|
</MoreSpecificImplementedParamType>
|
|
<TooManyArguments occurrences="1">
|
|
<code>dispatch</code>
|
|
</TooManyArguments>
|
|
<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="1">
|
|
<code>$content !== ''</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>
|
|
</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="3">
|
|
<code>\OC_User::getUser()</code>
|
|
<code>$shareWith</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">
|
|
<ImplicitToStringCast occurrences="27">
|
|
<code>$qb->createNamedParameter($share->getShareType())</code>
|
|
<code>$qb->createNamedParameter($share->getSharedWith())</code>
|
|
<code>$qb->createNamedParameter(IShare::STATUS_PENDING)</code>
|
|
<code>$qb->createNamedParameter($share->getExpirationDate(), 'datetime')</code>
|
|
<code>$qb->createNamedParameter($share->getSharedWith())</code>
|
|
<code>$qb->createNamedParameter($share->getExpirationDate(), 'datetime')</code>
|
|
<code>$qb->createNamedParameter($share->getLabel())</code>
|
|
<code>$qb->createNamedParameter($share->getToken())</code>
|
|
<code>$qb->createNamedParameter($share->getPassword())</code>
|
|
<code>$qb->createNamedParameter($share->getSendPasswordByTalk(), IQueryBuilder::PARAM_BOOL)</code>
|
|
<code>$qb->createNamedParameter($share->getExpirationDate(), 'datetime')</code>
|
|
<code>$qb->createNamedParameter($share->getParent())</code>
|
|
<code>$qb->createParameter('itemType')</code>
|
|
<code>$qb->createNamedParameter($share->getNode()->getId())</code>
|
|
<code>$qb->createNamedParameter($share->getNode()->getId())</code>
|
|
<code>$qb->createNamedParameter($share->getPermissions())</code>
|
|
<code>$qb->createNamedParameter($share->getSharedBy())</code>
|
|
<code>$qb->createNamedParameter($share->getShareOwner())</code>
|
|
<code>$qb->createNamedParameter($share->getTarget())</code>
|
|
<code>$qb->createNamedParameter(time())</code>
|
|
<code>$qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
<code>$qb->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
<code>$qb->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
<code>$qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$shares</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>getSharesInFolder</code>
|
|
</InvalidReturnType>
|
|
<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="7">
|
|
<code>'OCP\Share::preShare'</code>
|
|
<code>'OCP\Share::postShare'</code>
|
|
<code>'OCP\Share::postAcceptShare'</code>
|
|
<code>'OCP\Share::preUnshare'</code>
|
|
<code>'OCP\Share::postUnshare'</code>
|
|
<code>'OCP\Share::postUnshareFromSelf'</code>
|
|
<code>$data</code>
|
|
</InvalidArgument>
|
|
<InvalidScalarArgument occurrences="3">
|
|
<code>$this->shareApiLinkDefaultExpireDays()</code>
|
|
<code>$this->shareApiLinkDefaultExpireDays()</code>
|
|
<code>$id</code>
|
|
</InvalidScalarArgument>
|
|
<TooManyArguments occurrences="7">
|
|
<code>dispatch</code>
|
|
<code>dispatch</code>
|
|
<code>update</code>
|
|
<code>dispatch</code>
|
|
<code>dispatch</code>
|
|
<code>dispatch</code>
|
|
<code>dispatch</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="5">
|
|
<code>$this->shareByCircleProvider</code>
|
|
<code>$this->roomShareProvider</code>
|
|
<code>$provider</code>
|
|
<code>$provider</code>
|
|
<code>$shares</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="3">
|
|
<code>getProvider</code>
|
|
<code>getProviderForType</code>
|
|
<code>getAllProviders</code>
|
|
</InvalidReturnType>
|
|
<NullableReturnStatement occurrences="6">
|
|
<code>null</code>
|
|
<code>null</code>
|
|
<code>null</code>
|
|
<code>null</code>
|
|
<code>null</code>
|
|
<code>null</code>
|
|
</NullableReturnStatement>
|
|
<UndefinedClass occurrences="1">
|
|
<code>\OCA\Circles\ShareByCircleProvider</code>
|
|
</UndefinedClass>
|
|
<UndefinedDocblockClass occurrences="5">
|
|
<code>\OCA\Circles\ShareByCircleProvider</code>
|
|
<code>\OCA\Talk\Share\RoomShareProvider</code>
|
|
<code>RoomShareProvider</code>
|
|
<code>private $shareByCircleProvider = null;</code>
|
|
<code>private $roomShareProvider = 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="1">
|
|
<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>
|
|
<ImplicitToStringCast occurrences="3">
|
|
<code>$query->createParameter('tagids')</code>
|
|
<code>$query->createParameter('tagids')</code>
|
|
<code>$query->createParameter('tagids')</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidArgument occurrences="3">
|
|
<code>ManagerEvent::EVENT_CREATE</code>
|
|
<code>ManagerEvent::EVENT_UPDATE</code>
|
|
<code>ManagerEvent::EVENT_DELETE</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">
|
|
<ImplicitToStringCast occurrences="4">
|
|
<code>$query->createParameter('objectids')</code>
|
|
<code>$query->createNamedParameter($tagIds, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
|
<code>$query->createParameter('tagids')</code>
|
|
<code>$query->createParameter('objectids')</code>
|
|
</ImplicitToStringCast>
|
|
<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/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, 'core/'.$script.'.js')</code>
|
|
<code>$this->appendIfExist($this->serverroot, $theme_dir.'core/'.$script.'.js')</code>
|
|
<code>$this->appendIfExist($this->serverroot, $script.'.js')</code>
|
|
<code>$this->appendIfExist($this->serverroot, $theme_dir.$script.'.js')</code>
|
|
<code>$this->appendIfExist($this->serverroot, 'apps/'.$script.'.js')</code>
|
|
<code>$this->appendIfExist($this->serverroot, $theme_dir.'apps/'.$script.'.js')</code>
|
|
</InvalidOperand>
|
|
<TypeDoesNotContainType occurrences="1">
|
|
<code>$found</code>
|
|
</TypeDoesNotContainType>
|
|
</file>
|
|
<file src="lib/private/Template/SCSSCacher.php">
|
|
<InvalidScalarArgument occurrences="1">
|
|
<code>Compiler::LINE_COMMENTS</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="lib/private/TemplateLayout.php">
|
|
<InvalidParamDefault occurrences="2">
|
|
<code>string</code>
|
|
<code>string</code>
|
|
</InvalidParamDefault>
|
|
<InvalidScalarArgument occurrences="4">
|
|
<code>\OC_User::getUser()</code>
|
|
<code>\OC_User::getUser()</code>
|
|
<code>$appName</code>
|
|
<code>$appName</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>1</code>
|
|
<code>0</code>
|
|
<code>1</code>
|
|
<code>1</code>
|
|
<code>0</code>
|
|
<code>1</code>
|
|
<code>0</code>
|
|
<code>0</code>
|
|
<code>0</code>
|
|
<code>0</code>
|
|
<code>0</code>
|
|
</InvalidScalarArgument>
|
|
<UndefinedMethod occurrences="1">
|
|
<code>\OC_DB::simulateUpdateDbFromStructure(\OC_App::getAppPath($appId) . '/appinfo/database.xml')</code>
|
|
</UndefinedMethod>
|
|
</file>
|
|
<file src="lib/private/Updater/VersionCheck.php">
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>time()</code>
|
|
<code>microtime(true)</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="lib/private/User/Backend.php">
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>$limit</code>
|
|
<code>$offset</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>
|
|
<InvalidArgument occurrences="1"/>
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>$offset</code>
|
|
<code>$offset</code>
|
|
</InvalidScalarArgument>
|
|
</file>
|
|
<file src="lib/private/User/Manager.php">
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>array|int</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$queryBuilder->createNamedParameter($groups, IQueryBuilder::PARAM_STR_ARRAY)</code>
|
|
</ImplicitToStringCast>
|
|
<InvalidNullableReturnType occurrences="1">
|
|
<code>bool|IUser</code>
|
|
</InvalidNullableReturnType>
|
|
<InvalidScalarArgument occurrences="2">
|
|
<code>$limit</code>
|
|
<code>$offset</code>
|
|
</InvalidScalarArgument>
|
|
<NullableReturnStatement occurrences="2">
|
|
<code>$this->createUserFromBackend($uid, $password, $backend)</code>
|
|
<code>$this->createUserFromBackend($uid, $password, $backend)</code>
|
|
</NullableReturnStatement>
|
|
<UndefinedInterfaceMethod occurrences="4">
|
|
<code>checkPassword</code>
|
|
<code>createUser</code>
|
|
<code>countUsers</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>
|
|
</file>
|
|
<file src="lib/private/User/User.php">
|
|
<InvalidArgument occurrences="5">
|
|
<code>IUser::class . '::preDelete'</code>
|
|
<code>IUser::class . '::postDelete'</code>
|
|
<code>IUser::class . '::preSetPassword'</code>
|
|
<code>IUser::class . '::postSetPassword'</code>
|
|
<code>IUser::class . '::changeUser'</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>$this->lastLogin</code>
|
|
<code>$quota</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>setDisplayName</code>
|
|
<code>deleteUserAvatar</code>
|
|
<code>setPassword</code>
|
|
<code>getHome</code>
|
|
<code>canChangeAvatar</code>
|
|
</UndefinedInterfaceMethod>
|
|
</file>
|
|
<file src="lib/private/UserStatus/Manager.php">
|
|
<InvalidCatch occurrences="1"/>
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
<code>$class</code>
|
|
</InvalidPropertyAssignmentValue>
|
|
</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>
|
|
<RedundantCondition occurrences="1">
|
|
<code>$appId === null || trim($appId) === ''</code>
|
|
</RedundantCondition>
|
|
<TooManyArguments occurrences="1">
|
|
<code>dispatch</code>
|
|
</TooManyArguments>
|
|
<TypeDoesNotContainNull occurrences="1">
|
|
<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_DB_StatementWrapper.php">
|
|
<FalsableReturnStatement occurrences="1">
|
|
<code>$this->statement->fetchColumn($column)</code>
|
|
</FalsableReturnStatement>
|
|
</file>
|
|
<file src="lib/private/legacy/OC_EventSource.php">
|
|
<RedundantCondition occurrences="1">
|
|
<code>$this->fallback</code>
|
|
</RedundantCondition>
|
|
</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">
|
|
<EmptyArrayAccess occurrences="2"/>
|
|
<InvalidArgument occurrences="3">
|
|
<code>$fileInfos</code>
|
|
<code>[$fileInfo]</code>
|
|
<code>$fh</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">
|
|
<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>$path</code>
|
|
<code>$includeExtStorage ? 'ext' : false</code>
|
|
<code>$quota</code>
|
|
<code>'ext'</code>
|
|
</InvalidScalarArgument>
|
|
<RedundantCondition occurrences="1">
|
|
<code>count($obd_values) > 0 and $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->valid() ? imagesx($this->resource) : -1</code>
|
|
<code>$this->valid() ? imagesy($this->resource) : -1</code>
|
|
<code>$this->resource</code>
|
|
</FalsableReturnStatement>
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
<code>null|string</code>
|
|
</ImplementedReturnTypeMismatch>
|
|
<InvalidArrayOffset occurrences="2">
|
|
<code>$data[floor($p)]</code>
|
|
<code>$data[floor($p)]</code>
|
|
</InvalidArrayOffset>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>bool</code>
|
|
</InvalidReturnType>
|
|
<InvalidScalarArgument occurrences="17">
|
|
<code>$this->bitDepth</code>
|
|
<code>90</code>
|
|
<code>$imagePath</code>
|
|
<code>$imagePath</code>
|
|
<code>$imagePath</code>
|
|
<code>$imagePath</code>
|
|
<code>$imagePath</code>
|
|
<code>$imagePath</code>
|
|
<code>$imagePath</code>
|
|
<code>$imagePath</code>
|
|
<code>$imagePath</code>
|
|
<code>$imagePath</code>
|
|
<code>$imagePath</code>
|
|
<code>$imagePath</code>
|
|
<code>$imagePath</code>
|
|
<code>$x</code>
|
|
<code>$y</code>
|
|
</InvalidScalarArgument>
|
|
<MismatchingDocblockReturnType occurrences="1">
|
|
<code>bool</code>
|
|
</MismatchingDocblockReturnType>
|
|
<RedundantCondition occurrences="1">
|
|
<code>$isWritable && file_exists($filePath)</code>
|
|
</RedundantCondition>
|
|
</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(false)</code>
|
|
<code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($prevLogging)</code>
|
|
</InternalMethod>
|
|
<InvalidOperand occurrences="4">
|
|
<code>$version</code>
|
|
<code>$version</code>
|
|
<code>$version</code>
|
|
<code>$version</code>
|
|
</InvalidOperand>
|
|
<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>is_string($expected)</code>
|
|
<code>'off'</code>
|
|
</RedundantCondition>
|
|
<TypeDoesNotContainType occurrences="3">
|
|
<code>is_bool($expected)</code>
|
|
<code>is_int($expected)</code>
|
|
<code>is_bool($setting[1])</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/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/Db/QBMapper.php">
|
|
<ImplicitToStringCast occurrences="1">
|
|
<code>$qb->createNamedParameter($value, $type)</code>
|
|
</ImplicitToStringCast>
|
|
</file>
|
|
<file src="lib/public/AppFramework/Http/DataResponse.php">
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>$this->data</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>array</code>
|
|
</InvalidReturnType>
|
|
</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/Template/PublicTemplateResponse.php">
|
|
<InvalidScalarArgument occurrences="1"/>
|
|
</file>
|
|
<file src="lib/public/AppFramework/Http/ZipResponse.php">
|
|
<InvalidArrayAccess occurrences="5">
|
|
<code>$resource['size']</code>
|
|
<code>$resource['resource']</code>
|
|
<code>$resource['internalName']</code>
|
|
<code>$resource['size']</code>
|
|
<code>$resource['time']</code>
|
|
</InvalidArrayAccess>
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
<code>$this->resources</code>
|
|
</InvalidPropertyAssignmentValue>
|
|
</file>
|
|
<file src="lib/public/AppFramework/Services/IInitialState.php">
|
|
<MismatchingDocblockParamType occurrences="1">
|
|
<code>Closure</code>
|
|
</MismatchingDocblockParamType>
|
|
<UndefinedDocblockClass occurrences="1">
|
|
<code>Closure</code>
|
|
</UndefinedDocblockClass>
|
|
</file>
|
|
<file src="lib/public/BackgroundJob/TimedJob.php">
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
<code>$jobList</code>
|
|
</MoreSpecificImplementedParamType>
|
|
</file>
|
|
<file src="lib/public/Contacts/IManager.php">
|
|
<UndefinedDocblockClass occurrences="1">
|
|
<code>IAddressBook[]</code>
|
|
</UndefinedDocblockClass>
|
|
</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">
|
|
<InvalidReturnType occurrences="1">
|
|
<code>string|false</code>
|
|
</InvalidReturnType>
|
|
</file>
|
|
<file src="lib/public/Files/Storage/IStorage.php">
|
|
<InvalidParamDefault occurrences="1">
|
|
<code>array</code>
|
|
</InvalidParamDefault>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>string|false</code>
|
|
</InvalidReturnType>
|
|
</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/User.php">
|
|
<InvalidReturnStatement occurrences="1">
|
|
<code>\OC_User::getUser()</code>
|
|
</InvalidReturnStatement>
|
|
<InvalidReturnType occurrences="1">
|
|
<code>string</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>
|