2020-08-18 10:02:31 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2021-03-08 11:54:08 +03:00
|
|
|
<files psalm-version="4.6.2@bca09d74adc704c4eaee36a3c3e9d379e290fc3b">
|
2020-08-18 10:02:31 +03:00
|
|
|
<file src="3rdparty/sabre/dav/lib/CalDAV/Calendar.php">
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$calendarData</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
</file>
|
|
|
|
<file src="3rdparty/sabre/dav/lib/CalDAV/CalendarHome.php">
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$data</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
</file>
|
|
|
|
<file src="3rdparty/sabre/dav/lib/CalDAV/Principal/User.php">
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$data</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
</file>
|
|
|
|
<file src="3rdparty/sabre/dav/lib/CardDAV/AddressBook.php">
|
|
|
|
<LessSpecificImplementedReturnType occurrences="1">
|
|
|
|
<code>array</code>
|
|
|
|
</LessSpecificImplementedReturnType>
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$vcardData</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
</file>
|
|
|
|
<file src="3rdparty/sabre/dav/lib/CardDAV/AddressBookHome.php">
|
|
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
|
|
<code>$principalUri</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$data</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
</file>
|
|
|
|
<file src="3rdparty/sabre/dav/lib/DAVACL/AbstractPrincipalCollection.php">
|
|
|
|
<LessSpecificImplementedReturnType occurrences="1">
|
|
|
|
<code>array</code>
|
|
|
|
</LessSpecificImplementedReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/cloud_federation_api/lib/Controller/RequestHandlerController.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$e->getCode()</code>
|
|
|
|
</InvalidScalarArgument>
|
2020-11-20 05:18:02 +03:00
|
|
|
<TypeDoesNotContainType occurrences="1">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>!is_array($notification)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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/dav/appinfo/v1/caldav.php">
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud')</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
<UndefinedGlobalVariable occurrences="1">
|
|
|
|
<code>$baseuri</code>
|
|
|
|
</UndefinedGlobalVariable>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/appinfo/v1/carddav.php">
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud')</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
<UndefinedGlobalVariable occurrences="1">
|
|
|
|
<code>$baseuri</code>
|
|
|
|
</UndefinedGlobalVariable>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/appinfo/v1/publicwebdav.php">
|
|
|
|
<InternalMethod occurrences="2">
|
|
|
|
<code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($previousLog)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
2020-10-22 15:44:38 +03:00
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$chunkSize</code>
|
|
|
|
</InvalidScalarArgument>
|
2020-08-18 10:02:31 +03:00
|
|
|
<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/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>$existingBirthday->VEVENT->DTSTART</code>
|
|
|
|
<code>$existingBirthday->VEVENT->SUMMARY</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$newCalendarData->VEVENT->DTSTART</code>
|
|
|
|
<code>$newCalendarData->VEVENT->SUMMARY</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedPropertyFetch>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/CalDAV/CachedSubscription.php">
|
|
|
|
<LessSpecificImplementedReturnType occurrences="1">
|
|
|
|
<code>array</code>
|
|
|
|
</LessSpecificImplementedReturnType>
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$calendarData</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
2020-08-19 18:54:00 +03:00
|
|
|
<ParamNameMismatch occurrences="1">
|
|
|
|
<code>$calendarData</code>
|
|
|
|
</ParamNameMismatch>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
|
|
|
<InvalidArgument occurrences="14">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::createCachedCalendarObject'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::createCalendar'</code>
|
|
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::createCalendarObject'</code>
|
|
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::createSubscription'</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCachedCalendarObject'</code>
|
|
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCalendar'</code>
|
|
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCalendarObject'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteSubscription'</code>
|
|
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::publishCalendar'</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateCachedCalendarObject'</code>
|
|
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateCalendar'</code>
|
|
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateCalendarObject'</code>
|
|
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateShares'</code>
|
|
|
|
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateSubscription'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
2021-03-08 11:54:08 +03:00
|
|
|
<RedundantCast occurrences="1">
|
|
|
|
<code>(int)$calendarId</code>
|
|
|
|
</RedundantCast>
|
2020-08-18 10:02:31 +03:00
|
|
|
<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>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>purgeProperties</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</TooManyArguments>
|
|
|
|
<UndefinedFunction occurrences="4">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>Uri\split($principalUri)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>Uri\split($row['principaluri'])</code>
|
|
|
|
<code>Uri\split($row['principaluri'])</code>
|
|
|
|
<code>Uri\split($row['principaluri'])</code>
|
|
|
|
</UndefinedFunction>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/CalDAV/CalendarHome.php">
|
|
|
|
<InvalidReturnStatement occurrences="5">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$calendarPlugin->getCalendarInCalendarHome($this->principalInfo['uri'], $calendarUri)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>new Inbox($this->caldavBackend, $this->principalInfo['uri'])</code>
|
|
|
|
<code>new Outbox($this->config, $this->principalInfo['uri'])</code>
|
|
|
|
<code>new Subscription($this->caldavBackend, $subscription)</code>
|
2021-03-08 11:54:08 +03:00
|
|
|
<code>new \Sabre\CalDAV\Notifications\Collection($this->caldavBackend, $this->principalInfo['uri'])</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
2020-10-14 12:47:54 +03:00
|
|
|
<file src="apps/dav/lib/CalDAV/Publishing/PublishPlugin.php">
|
|
|
|
<InvalidOperand occurrences="2">
|
|
|
|
<code>$canPublish</code>
|
|
|
|
<code>$canShare</code>
|
|
|
|
</InvalidOperand>
|
|
|
|
</file>
|
2020-08-18 10:02:31 +03:00
|
|
|
<file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php">
|
|
|
|
<UndefinedMethod occurrences="3">
|
|
|
|
<code>hasTime</code>
|
|
|
|
<code>isFloating</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>isFloating</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php">
|
|
|
|
<FalsableReturnStatement occurrences="4">
|
|
|
|
<code>$l10n->l('date', $dt, ['width' => 'medium'])</code>
|
|
|
|
<code>$l10n->l('datetime', $dt, ['width' => 'medium|short'])</code>
|
|
|
|
<code>$l10n->l('time', $dt, ['width' => 'short'])</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$l10n->l('weekdayName', $dt, ['width' => 'abbreviated'])</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</FalsableReturnStatement>
|
2021-02-16 07:30:43 +03:00
|
|
|
<InvalidReturnStatement occurrences="4">
|
2020-08-18 10:02:31 +03:00
|
|
|
<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>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$l10n->l('weekdayName', $dt, ['width' => 'abbreviated'])</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidReturnStatement>
|
2021-02-16 07:30:43 +03:00
|
|
|
<InvalidReturnType occurrences="4">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>string</code>
|
|
|
|
<code>string</code>
|
|
|
|
<code>string</code>
|
|
|
|
<code>string</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
<UndefinedMethod occurrences="3">
|
|
|
|
<code>getDateTime</code>
|
|
|
|
<code>getDateTime</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>isFloating</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/CalDAV/Reminder/Notifier.php">
|
|
|
|
<FalsableReturnStatement occurrences="4">
|
|
|
|
<code>$this->l10n->l('date', $dt, ['width' => 'medium'])</code>
|
|
|
|
<code>$this->l10n->l('datetime', $dt, ['width' => 'medium|short'])</code>
|
|
|
|
<code>$this->l10n->l('time', $dt, ['width' => 'short'])</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$this->l10n->l('weekdayName', $dt, ['width' => 'abbreviated'])</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</FalsableReturnStatement>
|
|
|
|
<InvalidReturnStatement occurrences="4">
|
|
|
|
<code>$this->l10n->l('date', $dt, ['width' => 'medium'])</code>
|
|
|
|
<code>$this->l10n->l('datetime', $dt, ['width' => 'medium|short'])</code>
|
|
|
|
<code>$this->l10n->l('time', $dt, ['width' => 'short'])</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$this->l10n->l('weekdayName', $dt, ['width' => 'abbreviated'])</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
2020-10-14 12:47:54 +03:00
|
|
|
<ImplicitToStringCast occurrences="2">
|
|
|
|
<code>$vevent->LOCATION</code>
|
|
|
|
<code>$vevent->SUMMARY</code>
|
|
|
|
</ImplicitToStringCast>
|
2020-08-18 10:02:31 +03:00
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>string</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>$lang->getValue()</code>
|
|
|
|
</NullableReturnStatement>
|
2020-12-30 07:42:04 +03:00
|
|
|
<UndefinedMethod occurrences="10">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>getDateTime</code>
|
|
|
|
<code>getDateTime</code>
|
|
|
|
<code>getDateTime</code>
|
|
|
|
<code>getDateTime</code>
|
|
|
|
<code>getDateTime</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>hasTime</code>
|
|
|
|
<code>hasTime</code>
|
|
|
|
<code>isFloating</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>isFloating</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>isFloating</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedMethod>
|
|
|
|
<UndefinedPropertyFetch occurrences="1">
|
|
|
|
<code>$iTipMessage->message->VEVENT->SUMMARY</code>
|
|
|
|
</UndefinedPropertyFetch>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/CalDAV/Schedule/Plugin.php">
|
|
|
|
<InvalidArgument occurrences="2">
|
|
|
|
<code>[$aclPlugin, 'propFind']</code>
|
|
|
|
<code>[$aclPlugin, 'propFind']</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<UndefinedFunction occurrences="1">
|
|
|
|
<code>split($principalUrl)</code>
|
|
|
|
</UndefinedFunction>
|
|
|
|
<UndefinedInterfaceMethod occurrences="2">
|
|
|
|
<code>get</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>getChildren</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
<UndefinedMethod occurrences="5">
|
|
|
|
<code>getDateTime</code>
|
|
|
|
<code>hasTime</code>
|
|
|
|
<code>isFloating</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>isFloating</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<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">
|
2020-11-20 05:18:02 +03:00
|
|
|
<TypeDoesNotContainType occurrences="3">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>!is_array($newProps['filters']['comps'])</code>
|
|
|
|
<code>!is_array($newProps['filters']['params'])</code>
|
|
|
|
<code>!is_array($newProps['filters']['props'])</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</TypeDoesNotContainType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$webcalData</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/CardDAV/AddressBookImpl.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$id</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$this->getKey()</code>
|
|
|
|
<code>$this->getKey()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/CardDAV/CardDavBackend.php">
|
|
|
|
<FalsableReturnStatement occurrences="1">
|
|
|
|
<code>false</code>
|
|
|
|
</FalsableReturnStatement>
|
|
|
|
<InvalidArgument occurrences="3">
|
|
|
|
<code>'\OCA\DAV\CardDAV\CardDavBackend::createCard'</code>
|
|
|
|
<code>'\OCA\DAV\CardDAV\CardDavBackend::deleteCard'</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>'\OCA\DAV\CardDAV\CardDavBackend::updateCard'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>array</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$uris</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
2021-03-08 11:54:08 +03:00
|
|
|
<RedundantCast occurrences="1">
|
|
|
|
<code>(int)$addressBookId</code>
|
|
|
|
</RedundantCast>
|
2020-08-18 10:02:31 +03:00
|
|
|
<TooManyArguments occurrences="3">
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
<TypeDoesNotContainType occurrences="1">
|
|
|
|
<code>$addressBooks[$row['id']][$readOnlyPropertyName] === 0</code>
|
|
|
|
</TypeDoesNotContainType>
|
|
|
|
<UndefinedFunction occurrences="2">
|
|
|
|
<code>\Sabre\Uri\split($principalUri)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>\Sabre\Uri\split($row['principaluri'])</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedFunction>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/CardDAV/MultiGetExportPlugin.php">
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>bool</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/CardDAV/PhotoCache.php">
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>string</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>$type</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
<UndefinedFunction occurrences="1">
|
|
|
|
<code>\Sabre\URI\parse($val)</code>
|
|
|
|
</UndefinedFunction>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/CardDAV/Plugin.php">
|
|
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
|
|
<code>string|null</code>
|
|
|
|
</ImplementedReturnTypeMismatch>
|
|
|
|
<UndefinedFunction occurrences="3">
|
|
|
|
<code>\Sabre\Uri\split($principal)</code>
|
|
|
|
<code>\Sabre\Uri\split($principal)</code>
|
|
|
|
<code>\Sabre\Uri\split($principal)</code>
|
|
|
|
</UndefinedFunction>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/CardDAV/SyncService.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$targetBookId</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/CardDAV/UserAddressBooks.php">
|
|
|
|
<InvalidArgument occurrences="2">
|
|
|
|
<code>$this->principalUri</code>
|
|
|
|
<code>$this->principalUri</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/CardDAV/Xml/Groups.php">
|
|
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
|
|
<code>$groups</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Comments/CommentNode.php">
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>int</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Comments/CommentsPlugin.php">
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$args['datetime']</code>
|
|
|
|
<code>200</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<NullArgument occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullArgument>
|
|
|
|
<UndefinedFunction occurrences="1">
|
|
|
|
<code>\Sabre\HTTP\toDate($value)</code>
|
|
|
|
</UndefinedFunction>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Comments/EntityCollection.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$value</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Comments/EntityTypeCollection.php">
|
2020-11-20 05:18:02 +03:00
|
|
|
<TypeDoesNotContainType occurrences="1">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>!is_string($name)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
|
|
|
</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>
|
2020-08-19 18:54:00 +03:00
|
|
|
<ParamNameMismatch occurrences="1">
|
|
|
|
<code>$fullSourcePath</code>
|
|
|
|
</ParamNameMismatch>
|
2020-08-18 10:02:31 +03:00
|
|
|
<UndefinedFunction occurrences="1">
|
|
|
|
<code>\Sabre\Uri\split($sourceNode->getPath())</code>
|
|
|
|
</UndefinedFunction>
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>$info</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Connector/Sabre/FakeLockerPlugin.php">
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>new SupportedLock(true)</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Connector/Sabre/File.php">
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$data</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
<UndefinedFunction occurrences="1">
|
|
|
|
<code>\Sabre\Uri\split($this->path)</code>
|
|
|
|
</UndefinedFunction>
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>writeStream</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Connector/Sabre/FilesPlugin.php">
|
|
|
|
<UndefinedFunction occurrences="3">
|
|
|
|
<code>\Sabre\Uri\split($destination)</code>
|
|
|
|
<code>\Sabre\Uri\split($filePath)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>\Sabre\Uri\split($source)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedFunction>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Connector/Sabre/FilesReportPlugin.php">
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>bool</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>0</code>
|
|
|
|
<code>200</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>$resultFileIds</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>new PreconditionFailed('Cannot filter by non-existing tag', 0, $e)</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
<UndefinedClass occurrences="1">
|
|
|
|
<code>\OCA\Circles\Api\v1\Circles</code>
|
|
|
|
</UndefinedClass>
|
|
|
|
<UndefinedInterfaceMethod occurrences="2">
|
|
|
|
<code>getById</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>getPath</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Connector/Sabre/Node.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$this</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidNullableReturnType occurrences="2">
|
|
|
|
<code>int</code>
|
|
|
|
<code>integer</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<NullableReturnStatement occurrences="2">
|
|
|
|
<code>$this->info->getId()</code>
|
|
|
|
<code>$this->info->getId()</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
<UndefinedFunction occurrences="2">
|
|
|
|
<code>\Sabre\Uri\split($name)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>\Sabre\Uri\split($this->path)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedFunction>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Connector/Sabre/ObjectTree.php">
|
|
|
|
<UndefinedFunction occurrences="3">
|
2020-08-19 18:54:00 +03:00
|
|
|
<code>\Sabre\Uri\split($destinationPath)</code>
|
|
|
|
<code>\Sabre\Uri\split($destinationPath)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>\Sabre\Uri\split($path)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
2020-12-01 07:28:53 +03:00
|
|
|
<NullableReturnStatement occurrences="8">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
<UndefinedClass occurrences="2">
|
|
|
|
<code>\OCA\Circles\Api\v1\Circles</code>
|
|
|
|
<code>\OCA\Circles\Api\v1\Circles</code>
|
|
|
|
</UndefinedClass>
|
|
|
|
<UndefinedFunction occurrences="4">
|
|
|
|
<code>\Sabre\Uri\split($path)</code>
|
|
|
|
<code>\Sabre\Uri\split($prefix)</code>
|
|
|
|
<code>\Sabre\Uri\split($principal)</code>
|
|
|
|
<code>\Sabre\Uri\split($principal)</code>
|
|
|
|
</UndefinedFunction>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Connector/Sabre/QuotaPlugin.php">
|
|
|
|
<UndefinedFunction occurrences="1">
|
|
|
|
<code>\Sabre\Uri\split($path)</code>
|
|
|
|
</UndefinedFunction>
|
|
|
|
<UndefinedInterfaceMethod occurrences="2">
|
|
|
|
<code>getPath</code>
|
|
|
|
<code>getPath</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Connector/Sabre/ServerFactory.php">
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>new \OCA\DAV\Connector\Sabre\QuotaPlugin($view, true)</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Connector/Sabre/ShareTypeList.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$shareType</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Connector/Sabre/ShareeList.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$share->getShareType()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Connector/Sabre/SharesPlugin.php">
|
|
|
|
<UndefinedFunction occurrences="1">
|
|
|
|
<code>\Sabre\Uri\split($sabreNode->getPath())</code>
|
|
|
|
</UndefinedFunction>
|
|
|
|
<UndefinedPropertyAssignment occurrences="1">
|
|
|
|
<code>$server->xml->namespacesMap</code>
|
|
|
|
</UndefinedPropertyAssignment>
|
|
|
|
<UndefinedPropertyFetch occurrences="1">
|
|
|
|
<code>$server->xml->namespacesMap</code>
|
|
|
|
</UndefinedPropertyFetch>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Connector/Sabre/TagsPlugin.php">
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>getId</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Controller/InvitationResponseController.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$guests</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<UndefinedPropertyAssignment occurrences="1">
|
|
|
|
<code>$vEvent->DTSTAMP</code>
|
|
|
|
</UndefinedPropertyAssignment>
|
|
|
|
<UndefinedPropertyFetch occurrences="1">
|
|
|
|
<code>$vEvent->{'ATTENDEE'}</code>
|
|
|
|
</UndefinedPropertyFetch>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/DAV/CustomPropertiesBackend.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$whereValues</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/DAV/GroupPrincipalBackend.php">
|
|
|
|
<InvalidNullableReturnType occurrences="2">
|
|
|
|
<code>array</code>
|
|
|
|
<code>string</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<InvalidReturnStatement occurrences="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>$argument</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$operator->arguments</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$value</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>?string</code>
|
|
|
|
</InvalidReturnType>
|
2020-10-22 15:44:38 +03:00
|
|
|
<UndefinedDocblockClass occurrences="1">
|
|
|
|
<code>$operator->arguments[0]->name</code>
|
|
|
|
</UndefinedDocblockClass>
|
2020-08-18 10:02:31 +03:00
|
|
|
<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/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>
|
2020-12-30 07:42:04 +03:00
|
|
|
<UndefinedMethod occurrences="5">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>getDateTime</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>getDateTime</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>hasTime</code>
|
|
|
|
<code>isFloating</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>isFloating</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Search/TasksSearchProvider.php">
|
|
|
|
<UndefinedMethod occurrences="3">
|
|
|
|
<code>getDateTime</code>
|
|
|
|
<code>getDateTime</code>
|
|
|
|
<code>hasTime</code>
|
|
|
|
</UndefinedMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/dav/lib/Server.php">
|
|
|
|
<InvalidArgument occurrences="2">
|
|
|
|
<code>'OCA\DAV\Connector\Sabre::addPlugin'</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>'OCA\DAV\Connector\Sabre::authInit'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>\Sabre\Uri\split($member)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>\Sabre\Uri\split($principal)</code>
|
|
|
|
<code>\Sabre\Uri\split($principal)</code>
|
|
|
|
<code>\Sabre\Uri\split($principalUri)</code>
|
|
|
|
<code>\Sabre\Uri\split($principalUri)</code>
|
|
|
|
<code>\Sabre\Uri\split($principalUri)</code>
|
|
|
|
<code>\Sabre\Uri\split($principalUri)</code>
|
|
|
|
<code>\Sabre\Uri\split($principalUri)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>\Sabre\Uri\split($realPrincipalUri)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
2020-08-20 15:20:54 +03:00
|
|
|
<file src="apps/encryption/lib/Command/ScanLegacyFormat.php">
|
2020-10-14 12:47:54 +03:00
|
|
|
<InvalidOperand occurrences="1">
|
|
|
|
<code>$result</code>
|
|
|
|
</InvalidOperand>
|
2020-08-20 15:20:54 +03:00
|
|
|
<RedundantCondition occurrences="1">
|
|
|
|
<code>$result</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
</file>
|
2020-08-18 10:02:31 +03:00
|
|
|
<file src="apps/encryption/lib/Crypto/Crypt.php">
|
|
|
|
<RedundantCondition occurrences="1">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$userSession</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</RedundantCondition>
|
2020-12-07 17:06:28 +03:00
|
|
|
<TypeDoesNotContainType occurrences="2">
|
|
|
|
<code>get_class($res) === 'OpenSSLAsymmetricKey'</code>
|
|
|
|
<code>is_object($res)</code>
|
|
|
|
</TypeDoesNotContainType>
|
2020-08-18 10:02:31 +03:00
|
|
|
</file>
|
|
|
|
<file src="apps/encryption/lib/Crypto/EncryptAll.php">
|
|
|
|
<UndefinedInterfaceMethod occurrences="3">
|
|
|
|
<code>setHtmlBody</code>
|
|
|
|
<code>setPlainBody</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>setSubject</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/encryption/lib/Crypto/Encryption.php">
|
|
|
|
<FalsableReturnStatement occurrences="1">
|
|
|
|
<code>$result</code>
|
|
|
|
</FalsableReturnStatement>
|
2020-10-14 12:47:54 +03:00
|
|
|
<ImplementedParamTypeMismatch occurrences="2">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$position</code>
|
|
|
|
<code>$position</code>
|
|
|
|
</ImplementedParamTypeMismatch>
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>boolean</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/encryption/lib/KeyManager.php">
|
|
|
|
<InvalidScalarArgument occurrences="3">
|
|
|
|
<code>time()</code>
|
|
|
|
<code>time()</code>
|
|
|
|
<code>time()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<InvalidThrow occurrences="1">
|
|
|
|
<code>throw $exception;</code>
|
|
|
|
</InvalidThrow>
|
2021-03-08 11:54:08 +03:00
|
|
|
<RedundantCondition occurrences="1">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$userSession</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</RedundantCondition>
|
|
|
|
</file>
|
|
|
|
<file src="apps/encryption/lib/Recovery.php">
|
|
|
|
<InvalidScalarArgument occurrences="3">
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>1</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
|
|
|
<RedundantCondition occurrences="1">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$userSession</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</RedundantCondition>
|
|
|
|
</file>
|
|
|
|
<file src="apps/encryption/lib/Session.php">
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0)</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
|
|
|
<file src="apps/encryption/lib/Util.php">
|
|
|
|
<RedundantCondition occurrences="1">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$userSession</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</RedundantCondition>
|
|
|
|
</file>
|
|
|
|
<file src="apps/federatedfilesharing/lib/Controller/RequestHandlerController.php">
|
|
|
|
<InvalidScalarArgument occurrences="7">
|
|
|
|
<code>$id</code>
|
|
|
|
<code>$id</code>
|
|
|
|
<code>$id</code>
|
|
|
|
<code>$id</code>
|
|
|
|
<code>$id</code>
|
|
|
|
<code>$id</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$remoteId</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
2020-10-22 15:44:38 +03:00
|
|
|
<TypeDoesNotContainNull occurrences="3">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$permission === null</code>
|
|
|
|
<code>$remoteId === null</code>
|
|
|
|
</TypeDoesNotContainNull>
|
|
|
|
</file>
|
|
|
|
<file src="apps/federatedfilesharing/lib/FederatedShareProvider.php">
|
2020-12-04 11:13:17 +03:00
|
|
|
<InvalidScalarArgument occurrences="5">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$shareId</code>
|
|
|
|
<code>$shareId</code>
|
|
|
|
<code>$shareId</code>
|
|
|
|
<code>$shareId</code>
|
|
|
|
<code>(int)$data['id']</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/federatedfilesharing/lib/Notifications.php">
|
2020-12-04 11:13:17 +03:00
|
|
|
<InvalidReturnType occurrences="3">
|
2020-08-18 10:02:31 +03:00
|
|
|
<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>
|
2020-12-04 11:13:17 +03:00
|
|
|
<InvalidScalarArgument occurrences="6">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$id</code>
|
|
|
|
<code>$id</code>
|
|
|
|
<code>$id</code>
|
|
|
|
<code>$id</code>
|
|
|
|
<code>$id</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>(int)$share['id']</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/federatedfilesharing/lib/Settings/Personal.php">
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>string</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="apps/federation/lib/TrustedServers.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>'OCP\Federation\TrustedServerEvent::remove'</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidClass occurrences="1">
|
|
|
|
<code>dbHandler</code>
|
|
|
|
</InvalidClass>
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files/ajax/download.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$files_list</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files/ajax/list.php">
|
|
|
|
<TypeDoesNotContainType occurrences="1">
|
|
|
|
<code>!$dirInfo->getType() === 'dir'</code>
|
|
|
|
</TypeDoesNotContainType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files/appinfo/routes.php">
|
|
|
|
<InvalidScope occurrences="2">
|
|
|
|
<code>$this</code>
|
|
|
|
<code>$this</code>
|
|
|
|
</InvalidScope>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files/lib/Activity/Provider.php">
|
|
|
|
<FalsableReturnStatement occurrences="1">
|
|
|
|
<code>$this->fileEncrypted[$fileId]</code>
|
|
|
|
</FalsableReturnStatement>
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$id</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<TypeDoesNotContainType occurrences="7">
|
|
|
|
<code>$this->fileIsEncrypted</code>
|
|
|
|
<code>$this->fileIsEncrypted</code>
|
|
|
|
<code>$this->fileIsEncrypted</code>
|
|
|
|
<code>$this->fileIsEncrypted</code>
|
|
|
|
<code>$this->fileIsEncrypted</code>
|
|
|
|
<code>$this->fileIsEncrypted</code>
|
|
|
|
<code>$this->fileIsEncrypted</code>
|
|
|
|
</TypeDoesNotContainType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files/lib/App.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>10 * 1024 * 1024</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files/lib/Command/Scan.php">
|
|
|
|
<NullArgument occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files/lib/Command/ScanAppData.php">
|
|
|
|
<NullArgument occurrences="2">
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
</NullArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files/lib/Command/TransferOwnership.php">
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$e->getCode() !== 0 ? $e->getCode() : 1</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>int</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files/lib/Controller/DirectEditingController.php">
|
2020-09-03 07:22:57 +03:00
|
|
|
<InvalidArgument occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$templateId</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<UndefinedInterfaceMethod occurrences="2">
|
|
|
|
<code>getTemplates</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>open</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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/Command/Applicable.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$mountId</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_external/lib/Command/Config.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$mountId</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_external/lib/Command/Delete.php">
|
|
|
|
<InvalidArgument occurrences="2">
|
|
|
|
<code>$mountId</code>
|
|
|
|
<code>$mountId</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<NullArgument occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_external/lib/Command/Notify.php">
|
|
|
|
<InvalidArgument occurrences="2">
|
|
|
|
<code>$input->getArgument('mount_id')</code>
|
|
|
|
<code>$storage</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidReturnStatement occurrences="1"/>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>int</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>\OC_Util::normalizeUnicode($parent)</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>isConnected</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_external/lib/Command/Verify.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$mountId</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$e->getCode()</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$status</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$e->getCode()</code>
|
|
|
|
<code>$status</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$this->service->getVisibilityType()</code>
|
|
|
|
<code>$this->service->getVisibilityType()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_external/lib/Controller/UserGlobalStoragesController.php">
|
|
|
|
<UndefinedMethod occurrences="1">
|
|
|
|
<code>getUniqueStorages</code>
|
|
|
|
</UndefinedMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_external/lib/Lib/Backend/Backend.php">
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>self</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_external/lib/Lib/DefinitionParameter.php">
|
|
|
|
<InvalidReturnStatement occurrences="1"/>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>string</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_external/lib/Lib/FrontendDefinitionTrait.php">
|
|
|
|
<UndefinedClass occurrences="2">
|
|
|
|
<code>FrontendDefinitionTrait</code>
|
|
|
|
<code>FrontendDefinitionTrait</code>
|
|
|
|
</UndefinedClass>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_external/lib/Lib/IdentifierTrait.php">
|
|
|
|
<UndefinedDocblockClass occurrences="2">
|
|
|
|
<code>$this->deprecateTo</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>IdentifierTrait</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
2020-08-19 18:54:00 +03:00
|
|
|
<ParamNameMismatch occurrences="2">
|
|
|
|
<code>$source</code>
|
|
|
|
<code>$target</code>
|
|
|
|
</ParamNameMismatch>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
2020-08-19 18:54:00 +03:00
|
|
|
<ParamNameMismatch occurrences="2">
|
|
|
|
<code>$source</code>
|
|
|
|
<code>$target</code>
|
|
|
|
</ParamNameMismatch>
|
2020-08-18 10:02:31 +03:00
|
|
|
<TooManyArguments occurrences="2">
|
|
|
|
<code>rename</code>
|
|
|
|
<code>rename</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_external/lib/Lib/Storage/Swift.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$object->lastModified</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidNullableReturnType occurrences="2">
|
|
|
|
<code>filetype</code>
|
|
|
|
<code>fopen</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_external/lib/Migration/DummyUserSession.php">
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>login</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_external/lib/MountConfig.php">
|
|
|
|
<InternalMethod occurrences="4">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>decrypt</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>encrypt</code>
|
|
|
|
<code>setIV</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>setIV</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
|
|
|
<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>
|
2020-11-20 05:18:02 +03:00
|
|
|
<InvalidReturnStatement occurrences="2">
|
|
|
|
<code>$entry</code>
|
|
|
|
<code>$this->formatCacheEntry(clone $this->sourceRootInfo, '')</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="2">
|
|
|
|
<code>formatCacheEntry</code>
|
|
|
|
<code>get</code>
|
|
|
|
</InvalidReturnType>
|
2020-08-18 10:02:31 +03:00
|
|
|
<NullArgument occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_sharing/lib/Capabilities.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>Constants::PERMISSION_ALL</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php">
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>getUserFolder</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_sharing/lib/Controller/ShareAPIController.php">
|
|
|
|
<InvalidScalarArgument occurrences="3">
|
|
|
|
<code>$code</code>
|
|
|
|
<code>$code</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>Constants::PERMISSION_ALL</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
|
|
|
<NullArgument occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullArgument>
|
|
|
|
<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">
|
2020-11-20 05:18:02 +03:00
|
|
|
<InvalidArgument occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$files_list</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidScalarArgument occurrences="3">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$freeSpace</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$maxUploadFilesize</code>
|
|
|
|
<code>$maxUploadFilesize</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<NullArgument occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_sharing/lib/Controller/ShareInfoController.php">
|
|
|
|
<NullArgument occurrences="1">
|
|
|
|
<code>$password</code>
|
|
|
|
</NullArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_sharing/lib/External/Manager.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>(int) $remoteShare</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_sharing/lib/External/Mount.php">
|
|
|
|
<InvalidDocblock occurrences="1">
|
|
|
|
<code>public function removeMount() {</code>
|
|
|
|
</InvalidDocblock>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_sharing/lib/External/Scanner.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$recursive</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$cacheData</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_sharing/lib/External/Storage.php">
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$this->getPermissions($path) & Constants::PERMISSION_SHARE</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>isSharable</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$legacyEvent</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_sharing/lib/Middleware/SharingCheckMiddleware.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$exception->getMessage()</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_sharing/lib/ShareBackend/File.php">
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$itemSource</code>
|
|
|
|
<code>$itemSource</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$shareWith</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_sharing/lib/ShareBackend/Folder.php">
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>fetchRow</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_sharing/lib/SharedMount.php">
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>bool</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_sharing/lib/SharedStorage.php">
|
2020-12-03 13:03:17 +03:00
|
|
|
<FalsableReturnStatement occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$this->sourceRootInfo</code>
|
|
|
|
</FalsableReturnStatement>
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>ICacheEntry</code>
|
|
|
|
</InvalidNullableReturnType>
|
2021-03-05 07:33:46 +03:00
|
|
|
<InvalidReturnStatement occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>new FailedCache()</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<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">
|
2020-08-18 17:25:19 +03:00
|
|
|
<InvalidArgument occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>'\OCP\Collaboration\Resources::loadAdditionalScripts'</code>
|
|
|
|
</InvalidArgument>
|
2020-08-18 17:25:19 +03:00
|
|
|
<TooManyArguments occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<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">
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$entry</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>ITrash</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_trashbin/lib/Sabre/RestoreFolder.php">
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>getChild</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_trashbin/lib/Sabre/RootCollection.php">
|
|
|
|
<MismatchingDocblockReturnType occurrences="1">
|
|
|
|
<code>INode</code>
|
|
|
|
</MismatchingDocblockReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_trashbin/lib/Sabre/TrashHome.php">
|
|
|
|
<UndefinedFunction occurrences="1">
|
|
|
|
<code>\Sabre\Uri\split($this->principalInfo['uri'])</code>
|
|
|
|
</UndefinedFunction>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_trashbin/lib/Sabre/TrashRoot.php">
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$entry</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>ITrash</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_trashbin/lib/Storage.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>'OCA\Files_Trashbin::moveToTrash'</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidOperand occurrences="1">
|
|
|
|
<code>$this->mountPoint</code>
|
|
|
|
</InvalidOperand>
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_trashbin/lib/Trash/LegacyTrashBackend.php">
|
|
|
|
<ParadoxicalCondition occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</ParadoxicalCondition>
|
|
|
|
<RedundantCondition occurrences="1">
|
|
|
|
<code>$trashFiles</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
<UndefinedInterfaceMethod occurrences="2">
|
|
|
|
<code>$file</code>
|
|
|
|
<code>getById</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/files_trashbin/lib/Trashbin.php">
|
|
|
|
<FalsableReturnStatement occurrences="1">
|
|
|
|
<code>false</code>
|
|
|
|
</FalsableReturnStatement>
|
|
|
|
<InvalidScalarArgument occurrences="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">
|
2021-03-08 11:54:08 +03:00
|
|
|
<InvalidArrayOffset occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$publicData[IAccountManager::PROPERTY_DISPLAYNAME]['value']</code>
|
|
|
|
</InvalidArrayOffset>
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$this->retries + 1</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/oauth2/lib/Controller/OauthApiController.php">
|
|
|
|
<NoInterfaceProperties occurrences="1">
|
|
|
|
<code>$this->request->server</code>
|
|
|
|
</NoInterfaceProperties>
|
|
|
|
</file>
|
|
|
|
<file src="apps/oauth2/lib/Db/AccessTokenMapper.php">
|
|
|
|
<InvalidCatch occurrences="1"/>
|
|
|
|
</file>
|
|
|
|
<file src="apps/oauth2/lib/Db/ClientMapper.php">
|
|
|
|
<InvalidCatch occurrences="2"/>
|
|
|
|
</file>
|
|
|
|
<file src="apps/provisioning_api/lib/Controller/UsersController.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$quota</code>
|
|
|
|
</InvalidScalarArgument>
|
2020-10-22 15:44:38 +03:00
|
|
|
<TypeDoesNotContainNull occurrences="2">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$groupid === null</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$groupid === null</code>
|
2020-10-22 15:44:38 +03:00
|
|
|
</TypeDoesNotContainNull>
|
2020-08-18 10:02:31 +03:00
|
|
|
<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/Controller/AppSettingsController.php">
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>ignoreNextcloudRequirementForApp</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/settings/lib/Controller/CheckSetupController.php">
|
2020-11-10 17:55:06 +03:00
|
|
|
<InvalidArgument occurrences="3">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>IDBConnection::CHECK_MISSING_COLUMNS_EVENT</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>IDBConnection::CHECK_MISSING_INDEXES_EVENT</code>
|
2020-11-10 17:55:06 +03:00
|
|
|
<code>IDBConnection::CHECK_MISSING_PRIMARY_KEYS_EVENT</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidOperand occurrences="1">
|
|
|
|
<code>$lastCronRun</code>
|
|
|
|
</InvalidOperand>
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$lastCronRun</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>0</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
2020-11-10 17:55:06 +03:00
|
|
|
<TooManyArguments occurrences="3">
|
|
|
|
<code>dispatch</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
|
|
|
<file src="apps/settings/lib/Hooks.php">
|
2021-03-08 11:54:08 +03:00
|
|
|
<InvalidArrayOffset occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>[$user->getEMailAddress() => $user->getDisplayName()]</code>
|
2021-03-08 11:54:08 +03:00
|
|
|
</InvalidArrayOffset>
|
2020-08-18 10:02:31 +03:00
|
|
|
</file>
|
|
|
|
<file src="apps/settings/lib/Settings/Admin/Security.php">
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>isReady</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/settings/lib/Settings/Admin/Sharing.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>Constants::PERMISSION_ALL</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<NullArgument occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/settings/lib/Settings/Personal/PersonalInfo.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$uid</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>getLanguages</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/sharebymail/lib/ShareByMailProvider.php">
|
|
|
|
<InvalidScalarArgument occurrences="4">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$share->getId()</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$shareId</code>
|
|
|
|
<code>$shareId</code>
|
|
|
|
<code>(int)$data['id']</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/systemtags/lib/Activity/Listener.php">
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$event->getObjectId()</code>
|
|
|
|
<code>$event->getObjectId()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/testing/lib/Controller/LockingController.php">
|
|
|
|
<InvalidScalarArgument occurrences="5">
|
|
|
|
<code>$this->config->getAppValue('testing', $lock)</code>
|
|
|
|
<code>$this->config->getAppValue('testing', $lock)</code>
|
|
|
|
<code>$this->config->getAppValue('testing', $lock)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$type</code>
|
|
|
|
<code>$type</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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/IconBuilder.php">
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$offset_h</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$offset_w</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
2020-10-14 12:47:54 +03:00
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>(int)$cacheBusterKey + 1</code>
|
|
|
|
</InvalidScalarArgument>
|
2020-08-18 10:02:31 +03:00
|
|
|
</file>
|
|
|
|
<file src="apps/theming/lib/Util.php">
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>0</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>int[]</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
<RedundantCondition occurrences="1">
|
|
|
|
<code>$folder !== null</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
</file>
|
|
|
|
<file src="apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>bool</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>bool</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/updatenotification/lib/Controller/AdminController.php">
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$this->timeFactory->getTime()</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>0</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/updatenotification/lib/Notification/BackgroundJob.php">
|
|
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
|
|
<code>$this->users</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
<InvalidScalarArgument occurrences="3">
|
|
|
|
<code>$errors</code>
|
|
|
|
<code>0</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>0</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
2020-10-14 12:47:54 +03:00
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$ln + 1</code>
|
|
|
|
</InvalidScalarArgument>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
2021-03-08 11:54:08 +03:00
|
|
|
<InvalidArrayOffset occurrences="1">
|
|
|
|
<code>[$attr => $result['values']]</code>
|
|
|
|
</InvalidArrayOffset>
|
2020-08-18 10:02:31 +03:00
|
|
|
<InvalidReturnStatement occurrences="2">
|
|
|
|
<code>$uuid</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$values</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>string[]</code>
|
|
|
|
</InvalidReturnType>
|
2021-03-08 11:54:08 +03:00
|
|
|
<InvalidScalarArgument occurrences="3">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$e->getCode()</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$key</code>
|
|
|
|
<code>$key</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<NullArgument occurrences="1">
|
|
|
|
<code>$cookie</code>
|
|
|
|
</NullArgument>
|
2020-11-20 05:18:02 +03:00
|
|
|
<RedundantCondition occurrences="4">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>!is_null($limit)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>!isset($ldapName[0]) && empty($ldapName[0])</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$limit === 0</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>is_array($result)</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
<TypeDoesNotContainNull occurrences="2">
|
|
|
|
<code>!$attribute === null</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>is_null($findings)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</TypeDoesNotContainNull>
|
2020-11-20 05:18:02 +03:00
|
|
|
<TypeDoesNotContainType occurrences="2">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>!is_null($attr) && !is_array($attr)</code>
|
2021-03-08 11:54:08 +03:00
|
|
|
<code>count($usedNames) === 0</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</TypeDoesNotContainType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/user_ldap/lib/AppInfo/Application.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>'OCA\\User_LDAP\\User\\User::postLDAPBackendAdded'</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
|
|
|
<file src="apps/user_ldap/lib/Configuration.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>time()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/user_ldap/lib/Connection.php">
|
|
|
|
<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">
|
2021-01-29 07:38:37 +03:00
|
|
|
<InvalidArgument occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$this->cachedGroupsByMember[$uid]</code>
|
|
|
|
</InvalidArgument>
|
2020-12-16 07:33:17 +03:00
|
|
|
<InvalidPropertyAssignmentValue occurrences="5">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$this->cachedGroupsByMember</code>
|
|
|
|
<code>$this->cachedNestedGroups</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>new CappedMemoryCache()</code>
|
|
|
|
<code>new CappedMemoryCache()</code>
|
|
|
|
<code>new CappedMemoryCache()</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$groupName</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>bool</code>
|
|
|
|
</InvalidReturnType>
|
2020-10-20 07:29:45 +03:00
|
|
|
<InvalidScalarArgument occurrences="2">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$groupID</code>
|
|
|
|
<code>$groupID</code>
|
|
|
|
</InvalidScalarArgument>
|
2020-11-20 05:18:02 +03:00
|
|
|
<RedundantCondition occurrences="2">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>is_array($groupDNs)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>is_array($list)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</RedundantCondition>
|
|
|
|
</file>
|
|
|
|
<file src="apps/user_ldap/lib/Helper.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$lastNumber + 1</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/user_ldap/lib/ILDAPWrapper.php">
|
|
|
|
<UndefinedDocblockClass occurrences="1">
|
|
|
|
<code>Resource</code>
|
|
|
|
</UndefinedDocblockClass>
|
|
|
|
</file>
|
|
|
|
<file src="apps/user_ldap/lib/Jobs/CleanUp.php">
|
|
|
|
<InvalidScalarArgument occurrences="3">
|
|
|
|
<code>$newOffset</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>0</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>50</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/user_ldap/lib/Jobs/Sync.php">
|
|
|
|
<InvalidOperand occurrences="2">
|
|
|
|
<code>$i</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$lastChange</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidOperand>
|
|
|
|
<InvalidScalarArgument occurrences="5">
|
|
|
|
<code>$interval</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>self::MIN_INTERVAL</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$baseDN</code>
|
|
|
|
<code>$baseDN</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$link</code>
|
|
|
|
<code>$link</code>
|
|
|
|
<code>$link</code>
|
|
|
|
<code>$link</code>
|
|
|
|
<code>$link</code>
|
|
|
|
<code>$link</code>
|
|
|
|
<code>$link</code>
|
|
|
|
<code>$link</code>
|
|
|
|
<code>$link</code>
|
|
|
|
<code>$link</code>
|
|
|
|
<code>$link</code>
|
|
|
|
<code>$link</code>
|
|
|
|
<code>$link</code>
|
|
|
|
<code>$link</code>
|
|
|
|
<code>$resource</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$result</code>
|
|
|
|
<code>$result</code>
|
|
|
|
<code>$result</code>
|
|
|
|
<code>$result</code>
|
|
|
|
<code>$result</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</ImplementedParamTypeMismatch>
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$baseDN</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<LessSpecificImplementedReturnType occurrences="13">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>array|mixed</code>
|
|
|
|
<code>array|mixed</code>
|
|
|
|
<code>bool|mixed</code>
|
|
|
|
<code>bool|mixed</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>bool|mixed</code>
|
|
|
|
<code>mixed</code>
|
|
|
|
<code>mixed</code>
|
|
|
|
<code>mixed</code>
|
|
|
|
<code>mixed</code>
|
|
|
|
<code>mixed</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>mixed|string</code>
|
|
|
|
<code>mixed|true</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>mixed|true</code>
|
|
|
|
</LessSpecificImplementedReturnType>
|
|
|
|
<UndefinedDocblockClass occurrences="1">
|
|
|
|
<code>Resource</code>
|
|
|
|
</UndefinedDocblockClass>
|
|
|
|
</file>
|
|
|
|
<file src="apps/user_ldap/lib/LogWrapper.php">
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>bool</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
2020-10-14 12:47:54 +03:00
|
|
|
<file src="apps/user_ldap/lib/Mapping/AbstractMapping.php">
|
|
|
|
<InvalidOperand occurrences="1">
|
|
|
|
<code>$result</code>
|
|
|
|
</InvalidOperand>
|
2021-03-08 11:54:08 +03:00
|
|
|
<RedundantCondition occurrences="1">
|
|
|
|
<code>isset($qb)</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
<TypeDoesNotContainNull occurrences="1">
|
|
|
|
<code>isset($qb)</code>
|
|
|
|
</TypeDoesNotContainNull>
|
2020-10-14 12:47:54 +03:00
|
|
|
</file>
|
2020-08-18 10:02:31 +03:00
|
|
|
<file src="apps/user_ldap/lib/Proxy.php">
|
|
|
|
<InvalidDocblock occurrences="1">
|
|
|
|
<code>protected function handleRequest($id, $method, $parameters, $passOnWhen = false) {</code>
|
|
|
|
</InvalidDocblock>
|
|
|
|
</file>
|
|
|
|
<file src="apps/user_ldap/lib/User/Manager.php">
|
|
|
|
<InvalidDocblock occurrences="1">
|
|
|
|
<code>public function setLdapAccess(Access $access) {</code>
|
|
|
|
</InvalidDocblock>
|
|
|
|
</file>
|
|
|
|
<file src="apps/user_ldap/lib/User/User.php">
|
|
|
|
<FalsableReturnStatement occurrences="1">
|
|
|
|
<code>$this->avatarImage</code>
|
|
|
|
</FalsableReturnStatement>
|
|
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
|
|
<code>$this->refreshedFeatures</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
<InvalidReturnType occurrences="2">
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
</InvalidReturnType>
|
2020-10-20 07:29:45 +03:00
|
|
|
<InvalidScalarArgument occurrences="3">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$this->getHomePath($ldapEntry[$attr][0])</code>
|
|
|
|
<code>1</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>true</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/user_ldap/lib/User_LDAP.php">
|
|
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
|
|
<code>string|false</code>
|
|
|
|
</ImplementedReturnTypeMismatch>
|
2020-10-20 07:29:45 +03:00
|
|
|
<InvalidScalarArgument occurrences="3">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$limit</code>
|
|
|
|
<code>$offset</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$path</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
2020-10-22 15:44:38 +03:00
|
|
|
<InvalidReturnStatement occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$users</code>
|
2020-10-22 15:44:38 +03:00
|
|
|
</InvalidReturnStatement>
|
2020-08-18 10:02:31 +03:00
|
|
|
</file>
|
|
|
|
<file src="apps/user_ldap/lib/Wizard.php">
|
|
|
|
<FalsableReturnStatement occurrences="2">
|
|
|
|
<code>false</code>
|
|
|
|
<code>false</code>
|
|
|
|
</FalsableReturnStatement>
|
|
|
|
<InvalidArgument occurrences="4">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$attributes</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$er</code>
|
|
|
|
<code>$er</code>
|
|
|
|
<code>$er</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidDocblock occurrences="3">
|
|
|
|
<code>private function checkAgentRequirements() {</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>private function detectGroupMemberAssoc() {</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>private function getAttributeValuesFromEntry($result, $attribute, &$known) {</code>
|
|
|
|
</InvalidDocblock>
|
|
|
|
<InvalidScalarArgument occurrences="8">
|
|
|
|
<code>$port</code>
|
|
|
|
<code>$port</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>LDAP_OPT_NETWORK_TIMEOUT</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>LDAP_OPT_NETWORK_TIMEOUT</code>
|
|
|
|
<code>LDAP_OPT_PROTOCOL_VERSION</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>LDAP_OPT_PROTOCOL_VERSION</code>
|
|
|
|
<code>LDAP_OPT_REFERRALS</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>LDAP_OPT_REFERRALS</code>
|
|
|
|
</InvalidScalarArgument>
|
2020-11-20 05:18:02 +03:00
|
|
|
<RedundantCondition occurrences="1">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>!isset($item['cn']) && !is_array($item['cn'])</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</RedundantCondition>
|
|
|
|
<TypeDoesNotContainType occurrences="1">
|
|
|
|
<code>$total === false</code>
|
|
|
|
</TypeDoesNotContainType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/user_status/lib/AppInfo/Application.php">
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>registerProvider</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="apps/user_status/lib/Db/UserStatusMapper.php">
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1"/>
|
|
|
|
</file>
|
|
|
|
<file src="apps/user_status/lib/Service/StatusService.php">
|
|
|
|
<MismatchingDocblockParamType occurrences="1">
|
|
|
|
<code>string|null</code>
|
|
|
|
</MismatchingDocblockParamType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/workflowengine/lib/Check/AbstractStringCheck.php">
|
|
|
|
<NullArgument occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullArgument>
|
|
|
|
</file>
|
2020-12-03 13:03:17 +03:00
|
|
|
<file src="apps/workflowengine/lib/Check/FileMimeType.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$path</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
2020-08-18 10:02:31 +03:00
|
|
|
<file src="apps/workflowengine/lib/Check/FileSize.php">
|
|
|
|
<FalsableReturnStatement occurrences="1">
|
|
|
|
<code>$this->size</code>
|
|
|
|
</FalsableReturnStatement>
|
|
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
|
|
<code>$size</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$this->size</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>string</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/workflowengine/lib/Check/RequestRemoteAddress.php">
|
|
|
|
<InvalidScalarArgument occurrences="4">
|
|
|
|
<code>$decodedValue[1]</code>
|
|
|
|
<code>$decodedValue[1]</code>
|
|
|
|
<code>$decodedValue[1]</code>
|
|
|
|
<code>$decodedValue[1]</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/workflowengine/lib/Check/RequestTime.php">
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$hour1</code>
|
|
|
|
<code>$minute1</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/workflowengine/lib/Check/TFileCheck.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>['app' => Application::APP_ID, 'class' => get_class($subject)]</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/workflowengine/lib/Controller/AWorkflowController.php">
|
|
|
|
<InvalidScalarArgument occurrences="3">
|
|
|
|
<code>$e->getCode()</code>
|
|
|
|
<code>$e->getCode()</code>
|
|
|
|
<code>$e->getCode()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="apps/workflowengine/lib/Entity/File.php">
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>string</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="apps/workflowengine/lib/Manager.php">
|
|
|
|
<InvalidArgument occurrences="3">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>IManager::EVENT_NAME_REG_CHECK</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>IManager::EVENT_NAME_REG_ENTITY</code>
|
|
|
|
<code>IManager::EVENT_NAME_REG_OPERATION</code>
|
|
|
|
</InvalidArgument>
|
2020-10-14 12:47:54 +03:00
|
|
|
<InvalidOperand occurrences="1">
|
|
|
|
<code>$result</code>
|
|
|
|
</InvalidOperand>
|
2020-08-18 10:02:31 +03:00
|
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
|
|
<code>[]</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$missingCheck</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<TooManyArguments occurrences="3">
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
|
|
|
<file src="apps/workflowengine/lib/Service/RuleMatcher.php">
|
|
|
|
<UndefinedInterfaceMethod occurrences="5">
|
|
|
|
<code>getAllConfiguredScopesForOperation</code>
|
|
|
|
<code>getChecks</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>getOperations</code>
|
|
|
|
<code>getOperations</code>
|
|
|
|
<code>isUserScopeEnabled</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</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>
|
2020-11-10 17:55:06 +03:00
|
|
|
<file src="core/Command/Db/AddMissingPrimaryKeys.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>IDBConnection::ADD_MISSING_PRIMARY_KEYS_EVENT</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
2020-08-18 10:02:31 +03:00
|
|
|
<file src="core/Command/Db/ConvertType.php">
|
|
|
|
<InvalidArgument occurrences="2">
|
|
|
|
<code>$chunk * $chunkSize</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$chunkSize</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>1</code>
|
|
|
|
<code>1</code>
|
|
|
|
<code>1</code>
|
|
|
|
<code>1</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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/ClientFlowLoginV2Controller.php">
|
2020-11-20 05:18:02 +03:00
|
|
|
<TypeDoesNotContainType occurrences="1">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>!is_string($stateToken)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</TypeDoesNotContainType>
|
|
|
|
</file>
|
|
|
|
<file src="core/Controller/CollaborationResourcesController.php">
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>searchCollections</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="core/Controller/SvgController.php">
|
|
|
|
<TypeDoesNotContainNull occurrences="1">
|
|
|
|
<code>$svg === null</code>
|
|
|
|
</TypeDoesNotContainNull>
|
|
|
|
</file>
|
|
|
|
<file src="core/Controller/UnifiedSearchController.php">
|
|
|
|
<NullArgument occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullArgument>
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>findMatchingRoute</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="core/Middleware/TwoFactorMiddleware.php">
|
|
|
|
<NoInterfaceProperties occurrences="1">
|
|
|
|
<code>$this->request->server</code>
|
|
|
|
</NoInterfaceProperties>
|
|
|
|
</file>
|
|
|
|
<file src="core/ajax/update.php">
|
|
|
|
<InvalidScalarArgument occurrences="12">
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>1</code>
|
|
|
|
<code>1</code>
|
|
|
|
<code>1</code>
|
|
|
|
<code>1</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="core/routes.php">
|
|
|
|
<InvalidScope occurrences="2">
|
|
|
|
<code>$this</code>
|
2021-03-08 11:54:08 +03:00
|
|
|
<code>$this</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScope>
|
|
|
|
</file>
|
|
|
|
<file src="core/templates/layout.public.php">
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>getIcon</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
2020-10-22 15:44:38 +03:00
|
|
|
<file src="lib/autoloader.php">
|
|
|
|
<RedundantCondition occurrences="1">
|
|
|
|
<code>$this->memoryCache</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
</file>
|
2020-08-18 10:02:31 +03:00
|
|
|
<file src="lib/base.php">
|
|
|
|
<InternalMethod occurrences="2">
|
|
|
|
<code>getAppsNeedingUpgrade</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>getIncompatibleApps</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InternalMethod>
|
2020-08-21 07:21:23 +03:00
|
|
|
<InvalidArgument occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<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">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>ManagerEvent::EVENT_APP_DISABLE</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>ManagerEvent::EVENT_APP_ENABLE</code>
|
|
|
|
<code>ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<LessSpecificImplementedReturnType occurrences="2">
|
|
|
|
<code>array</code>
|
|
|
|
<code>array</code>
|
|
|
|
</LessSpecificImplementedReturnType>
|
|
|
|
<TooManyArguments occurrences="3">
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
<TypeDoesNotContainNull occurrences="1">
|
|
|
|
<code>$group === null</code>
|
|
|
|
</TypeDoesNotContainNull>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/App/AppStore/Fetcher/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/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>
|
2021-03-08 11:54:08 +03:00
|
|
|
<file src="lib/private/AppFramework/Bootstrap/FunctionInjector.php">
|
|
|
|
<UndefinedMethod occurrences="1">
|
|
|
|
<code>getName</code>
|
|
|
|
</UndefinedMethod>
|
|
|
|
</file>
|
2020-08-18 10:02:31 +03:00
|
|
|
<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">
|
2020-11-20 05:18:02 +03:00
|
|
|
<NullableReturnStatement occurrences="9">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$host</code>
|
|
|
|
<code>$name</code>
|
|
|
|
<code>$remoteAddress</code>
|
|
|
|
<code>$this->getOverwriteHost()</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$this->method</code>
|
|
|
|
<code>$uri</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>isset($this->cookies[$key]) ? $this->cookies[$key] : null</code>
|
|
|
|
<code>isset($this->env[$key]) ? $this->env[$key] : null</code>
|
|
|
|
<code>isset($this->files[$key]) ? $this->files[$key] : null</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
2020-10-22 15:44:38 +03:00
|
|
|
<NoInterfaceProperties occurrences="2">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$this->request->server</code>
|
|
|
|
<code>$this->request->server</code>
|
|
|
|
</NoInterfaceProperties>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php">
|
|
|
|
<InvalidScalarArgument occurrences="6">
|
|
|
|
<code>$anonLimit</code>
|
|
|
|
<code>$anonPeriod</code>
|
|
|
|
<code>$exception->getCode()</code>
|
|
|
|
<code>$exception->getCode()</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$userLimit</code>
|
|
|
|
<code>$userPeriod</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php">
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$exception->getCode()</code>
|
|
|
|
<code>$exception->getCode()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<NoInterfaceProperties occurrences="1">
|
|
|
|
<code>$this->request->server</code>
|
|
|
|
</NoInterfaceProperties>
|
|
|
|
<UndefinedClass occurrences="1">
|
|
|
|
<code>\OCA\Talk\Controller\PageController</code>
|
|
|
|
</UndefinedClass>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/AppFramework/OCS/V1Response.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$meta</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/AppFramework/OCS/V2Response.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$meta</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/AppFramework/Routing/RouteConfig.php">
|
|
|
|
<InvalidArrayOffset occurrences="1">
|
|
|
|
<code>$action['url-postfix']</code>
|
|
|
|
</InvalidArrayOffset>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/AppFramework/Services/AppConfig.php">
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$default</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
</file>
|
2021-03-08 11:54:08 +03:00
|
|
|
<file src="lib/private/AppFramework/Utility/SimpleContainer.php">
|
2021-03-09 07:34:03 +03:00
|
|
|
<UndefinedMethod occurrences="1">
|
2021-03-08 11:54:08 +03:00
|
|
|
<code>getName</code>
|
|
|
|
</UndefinedMethod>
|
|
|
|
</file>
|
2020-08-18 10:02:31 +03:00
|
|
|
<file src="lib/private/Archive/TAR.php">
|
2021-01-09 07:53:55 +03:00
|
|
|
<InvalidReturnStatement occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$this->tar->extractInString($path)</code>
|
|
|
|
</InvalidReturnStatement>
|
2021-01-09 07:53:55 +03:00
|
|
|
<InvalidReturnType occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<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">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$trySession</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</RedundantCondition>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Authentication/Token/DefaultToken.php">
|
|
|
|
<UndefinedMethod occurrences="14">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>parent::getExpires()</code>
|
|
|
|
<code>parent::getLastCheck()</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>parent::getLoginName()</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>parent::getName()</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>parent::getPassword()</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>parent::getRemember()</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>parent::getScope()</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>parent::setExpires($expires)</code>
|
|
|
|
<code>parent::setLastCheck($time)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>parent::setName($name)</code>
|
|
|
|
<code>parent::setPassword($password)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>parent::setScope((string)$scope)</code>
|
|
|
|
<code>parent::setScope(json_encode($scope))</code>
|
|
|
|
<code>parent::setToken($token)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Authentication/Token/PublicKeyToken.php">
|
|
|
|
<UndefinedMethod occurrences="16">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>parent::getExpires()</code>
|
|
|
|
<code>parent::getLastCheck()</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>parent::getLoginName()</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>parent::getName()</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>parent::getPassword()</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>parent::getRemember()</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>parent::getScope()</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>parent::setExpires($expires)</code>
|
|
|
|
<code>parent::setLastCheck($time)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>parent::setName($name)</code>
|
|
|
|
<code>parent::setPassword($password)</code>
|
|
|
|
<code>parent::setPasswordInvalid($invalid)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>parent::setScope((string)$scope)</code>
|
|
|
|
<code>parent::setScope(json_encode($scope))</code>
|
|
|
|
<code>parent::setToken($token)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>parent::setType(IToken::WIPE_TOKEN)</code>
|
|
|
|
</UndefinedMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php">
|
|
|
|
<InvalidReturnStatement occurrences="2">
|
|
|
|
<code>$providers</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="2">
|
|
|
|
<code>int[]</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>string[]</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Authentication/TwoFactorAuth/Manager.php">
|
2021-01-23 08:02:34 +03:00
|
|
|
<InvalidArgument occurrences="2">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>IProvider::EVENT_FAILED</code>
|
|
|
|
<code>IProvider::EVENT_SUCCESS</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$providerStates</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>string[]</code>
|
|
|
|
</InvalidReturnType>
|
2021-01-23 08:02:34 +03:00
|
|
|
<InvalidScalarArgument occurrences="2">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$this->timeFactory->getTime()</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$tokenId</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
|
|
|
<TooManyArguments occurrences="2">
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Authentication/TwoFactorAuth/ProviderSet.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$this->providers</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidPropertyAssignmentValue occurrences="2">
|
|
|
|
<code>$this->providers</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>[]</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>$data</code>
|
|
|
|
<code>$data</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>(int) $this->config->getUserValue($this->user->getUID(), 'avatar', 'version', 0) + 1</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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/Resources/Manager.php">
|
|
|
|
<RedundantCondition occurrences="1">
|
|
|
|
<code>$user instanceof IUser</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
<TypeDoesNotContainType occurrences="1">
|
|
|
|
<code>''</code>
|
|
|
|
</TypeDoesNotContainType>
|
|
|
|
</file>
|
2020-12-02 22:27:14 +03:00
|
|
|
<file src="lib/private/Command/ClosureJob.php">
|
|
|
|
<UndefinedFunction occurrences="1">
|
|
|
|
<code>\Opis\Closure\unserialize($serializedCallable)</code>
|
|
|
|
</UndefinedFunction>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Command/CommandJob.php">
|
|
|
|
<UndefinedFunction occurrences="1">
|
|
|
|
<code>\Opis\Closure\unserialize($serializedCommand)</code>
|
|
|
|
</UndefinedFunction>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Command/CronBus.php">
|
|
|
|
<UndefinedFunction occurrences="1">
|
|
|
|
<code>\Opis\Closure\serialize($command)</code>
|
|
|
|
</UndefinedFunction>
|
|
|
|
</file>
|
2020-08-18 10:02:31 +03:00
|
|
|
<file src="lib/private/Comments/Comment.php">
|
|
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
|
|
<code>\DateTime|null</code>
|
|
|
|
</ImplementedReturnTypeMismatch>
|
2020-11-20 05:18:02 +03:00
|
|
|
<TypeDoesNotContainType occurrences="1">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>!is_array($mentions[0])</code>
|
|
|
|
</TypeDoesNotContainType>
|
2020-08-18 10:02:31 +03:00
|
|
|
</file>
|
|
|
|
<file src="lib/private/Comments/Manager.php">
|
|
|
|
<InvalidDocblock occurrences="1">
|
|
|
|
<code>public function getForObjectSince(</code>
|
|
|
|
</InvalidDocblock>
|
|
|
|
<NullArgument occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullArgument>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Config.php">
|
2020-10-14 12:47:54 +03:00
|
|
|
<FalseOperand occurrences="2">
|
|
|
|
<code>$needsUpdate</code>
|
|
|
|
<code>$needsUpdate</code>
|
|
|
|
</FalseOperand>
|
2020-08-18 10:02:31 +03:00
|
|
|
<TypeDoesNotContainType occurrences="1">
|
|
|
|
<code>$needsUpdate</code>
|
|
|
|
</TypeDoesNotContainType>
|
2020-10-22 15:44:38 +03:00
|
|
|
<UndefinedVariable occurrences="2">
|
|
|
|
<code>$CONFIG</code>
|
|
|
|
<code>$CONFIG</code>
|
|
|
|
</UndefinedVariable>
|
2020-08-18 10:02:31 +03:00
|
|
|
</file>
|
|
|
|
<file src="lib/private/Console/Application.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>ConsoleEvent::EVENT_RUN</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<NoInterfaceProperties occurrences="1">
|
|
|
|
<code>$this->request->server</code>
|
|
|
|
</NoInterfaceProperties>
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
<UndefinedThisPropertyAssignment occurrences="1">
|
|
|
|
<code>$this->application</code>
|
|
|
|
</UndefinedThisPropertyAssignment>
|
|
|
|
<UndefinedThisPropertyFetch occurrences="4">
|
|
|
|
<code>$this->application</code>
|
|
|
|
<code>$this->application</code>
|
|
|
|
<code>$this->application</code>
|
|
|
|
<code>$this->application</code>
|
|
|
|
</UndefinedThisPropertyFetch>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Contacts/ContactsMenu/Manager.php">
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>IEntry</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>$entry</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/ContactsManager.php">
|
|
|
|
<InvalidNullableReturnType occurrences="3">
|
|
|
|
<code>IAddressBook</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>array</code>
|
|
|
|
<code>bool</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$builder->execute()</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>int</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
2020-10-29 22:48:02 +03:00
|
|
|
<file src="lib/private/DB/AdapterMySQL.php">
|
|
|
|
<InternalMethod occurrences="1">
|
|
|
|
<code>getParams</code>
|
|
|
|
</InternalMethod>
|
|
|
|
</file>
|
2020-08-18 10:02:31 +03:00
|
|
|
<file src="lib/private/DB/Connection.php">
|
2020-10-29 22:48:02 +03:00
|
|
|
<InternalMethod occurrences="1">
|
|
|
|
<code>getParams</code>
|
|
|
|
</InternalMethod>
|
2020-08-18 10:02:31 +03:00
|
|
|
<InvalidReturnStatement occurrences="2">
|
|
|
|
<code>$insertQb->execute()</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$this->adapter->lastInsertId($seqName)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="2">
|
|
|
|
<code>int</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>string</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidReturnType>
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$e->getCode()</code>
|
|
|
|
</InvalidScalarArgument>
|
2020-08-19 18:54:00 +03:00
|
|
|
<ParamNameMismatch occurrences="1">
|
|
|
|
<code>$statement</code>
|
|
|
|
</ParamNameMismatch>
|
2020-08-18 10:02:31 +03:00
|
|
|
</file>
|
|
|
|
<file src="lib/private/DB/MDB2SchemaReader.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$options['default']</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->migrationsNamespace</code>
|
|
|
|
<code>$this->migrationsNamespace</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$this->migrationsPath</code>
|
|
|
|
<code>$this->migrationsPath</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedThisPropertyAssignment>
|
|
|
|
<UndefinedThisPropertyFetch occurrences="4">
|
|
|
|
<code>$this->migrationsNamespace</code>
|
|
|
|
<code>$this->migrationsNamespace</code>
|
|
|
|
<code>$this->migrationsPath</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$this->migrationsPath</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedThisPropertyFetch>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/DB/Migrator.php">
|
|
|
|
<InvalidArgument occurrences="2">
|
|
|
|
<code>'\OC\DB\Migrator::checkTable'</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>'\OC\DB\Migrator::executeSql'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php">
|
|
|
|
<ImplicitToStringCast occurrences="1">
|
|
|
|
<code>$this->functionBuilder->lower($x)</code>
|
|
|
|
</ImplicitToStringCast>
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$y</code>
|
|
|
|
<code>$y</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
2020-10-29 22:48:02 +03:00
|
|
|
<file src="lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php">
|
|
|
|
<InternalMethod occurrences="1">
|
|
|
|
<code>getParams</code>
|
|
|
|
</InternalMethod>
|
|
|
|
</file>
|
2020-08-18 10:02:31 +03:00
|
|
|
<file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
|
|
|
|
<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">
|
2020-11-20 05:18:02 +03:00
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>stopQuery</code>
|
|
|
|
</InvalidReturnType>
|
2020-08-18 10:02:31 +03:00
|
|
|
<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>
|
2020-08-19 18:54:00 +03:00
|
|
|
<ParamNameMismatch occurrences="1">
|
|
|
|
<code>$eventName</code>
|
|
|
|
</ParamNameMismatch>
|
2020-08-18 10:02:31 +03:00
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Cache/Cache.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$parentData</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>array</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<InvalidScalarArgument occurrences="3">
|
|
|
|
<code>$path</code>
|
|
|
|
<code>$path</code>
|
|
|
|
<code>\OC_Util::normalizeUnicode($path)</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<NullableReturnStatement occurrences="2">
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Cache/FailedCache.php">
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>[]</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="3">
|
|
|
|
<code>getIncomplete</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>insert</code>
|
|
|
|
<code>put</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Cache/HomeCache.php">
|
|
|
|
<FalsableReturnStatement occurrences="1">
|
|
|
|
<code>$data</code>
|
|
|
|
</FalsableReturnStatement>
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$path</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
</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">
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$existingChildren</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>array[]</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$path</code>
|
|
|
|
<code>self::SCAN_RECURSIVE_INCOMPLETE</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Cache/Storage.php">
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>array</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>self::getGlobalCache()->getStorageInfo($storageId)</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Cache/Updater.php">
|
|
|
|
<RedundantCondition occurrences="1">
|
|
|
|
<code>$this->cache instanceof Cache</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Cache/Wrapper/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>
|
|
|
|
</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">
|
|
|
|
<InvalidReturnType occurrences="2">
|
|
|
|
<code>remoteStorageMounts</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>removeUserStorageMount</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidReturnType>
|
|
|
|
<LessSpecificImplementedReturnType occurrences="1">
|
|
|
|
<code>array</code>
|
|
|
|
</LessSpecificImplementedReturnType>
|
|
|
|
<UndefinedInterfaceMethod occurrences="9">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$this->cacheInfoCache</code>
|
|
|
|
<code>$this->cacheInfoCache</code>
|
|
|
|
<code>$this->cacheInfoCache</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$this->mountsForUsers</code>
|
|
|
|
<code>$this->mountsForUsers</code>
|
|
|
|
<code>$this->mountsForUsers</code>
|
|
|
|
<code>$this->mountsForUsers</code>
|
|
|
|
<code>$this->mountsForUsers</code>
|
|
|
|
<code>$this->mountsForUsers</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Filesystem.php">
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>string</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>self::$defaultInstance->toTmpFile($path)</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>string</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
<InvalidScalarArgument occurrences="3">
|
|
|
|
<code>$user</code>
|
|
|
|
<code>$user</code>
|
|
|
|
<code>\OC_User::getUser()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
<RedundantCondition occurrences="1">
|
|
|
|
<code>$userObject</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>addStorageWrapper</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Mount/MountPoint.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>$exception->getCode()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>wrap</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Mount/MoveableMount.php">
|
|
|
|
<InvalidDocblock occurrences="1">
|
|
|
|
<code>public function removeMount();</code>
|
|
|
|
</InvalidDocblock>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Mount/ObjectHomeMountProvider.php">
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>\OCP\Files\Mount\IMountPoint</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Node/File.php">
|
|
|
|
<InvalidReturnStatement occurrences="2">
|
|
|
|
<code>$this->view->hash($type, $this->path, $raw)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>new NonExistingFile($this->root, $this->view, $path)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>$this->root->get($this->getFullPath($path))</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>new NonExistingFolder($this->root, $this->view, $path)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="2">
|
|
|
|
<code>\OC\Files\Node\Node</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>string</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidReturnType>
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$node</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
<UndefinedInterfaceMethod occurrences="2">
|
|
|
|
<code>getSourceStorage</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>getUnJailedPath</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
<UndefinedThisPropertyAssignment occurrences="1">
|
|
|
|
<code>$this->exists</code>
|
|
|
|
</UndefinedThisPropertyAssignment>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Node/HookConnector.php">
|
|
|
|
<InvalidArgument occurrences="13">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>'\OCP\Files::postCopy'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>'\OCP\Files::postCreate'</code>
|
|
|
|
<code>'\OCP\Files::postDelete'</code>
|
|
|
|
<code>'\OCP\Files::postRename'</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>'\OCP\Files::postTouch'</code>
|
|
|
|
<code>'\OCP\Files::postWrite'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>'\OCP\Files::preCopy'</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>'\OCP\Files::preCreate'</code>
|
|
|
|
<code>'\OCP\Files::preDelete'</code>
|
|
|
|
<code>'\OCP\Files::preRename'</code>
|
|
|
|
<code>'\OCP\Files::preTouch'</code>
|
|
|
|
<code>'\OCP\Files::preWrite'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<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>$targetNode</code>
|
|
|
|
<code>$targetNode</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$this->root->get($newPath)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="4">
|
|
|
|
<code>Node</code>
|
|
|
|
<code>\OC\Files\Node\Node</code>
|
|
|
|
<code>\OC\Files\Node\Node</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>getChecksum</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>Node</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>string</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</ImplementedReturnTypeMismatch>
|
|
|
|
<InvalidNullableReturnType occurrences="7">
|
|
|
|
<code>\OC\Files\Mount\MountPoint</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>\OC\User\User</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>array</code>
|
|
|
|
<code>int</code>
|
|
|
|
<code>int</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>int</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<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->mountManager->find($mountPoint)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$this->user</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<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">
|
2020-08-19 18:54:00 +03:00
|
|
|
<ParamNameMismatch occurrences="2">
|
|
|
|
<code>$source</code>
|
|
|
|
<code>$target</code>
|
|
|
|
</ParamNameMismatch>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
2020-08-20 22:12:15 +03:00
|
|
|
<UndefinedFunction occurrences="2">
|
2020-08-18 10:02:31 +03:00
|
|
|
<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>
|
2021-03-06 07:33:39 +03:00
|
|
|
<InvalidNullableReturnType occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>array</code>
|
|
|
|
</InvalidNullableReturnType>
|
2021-01-06 07:51:06 +03:00
|
|
|
<InvalidOperand occurrences="2">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>!$permissions</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$result</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidOperand>
|
|
|
|
<NoInterfaceProperties occurrences="8">
|
|
|
|
<code>$storage->cache</code>
|
|
|
|
<code>$storage->cache</code>
|
|
|
|
<code>$storage->propagator</code>
|
|
|
|
<code>$storage->propagator</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$storage->scanner</code>
|
|
|
|
<code>$storage->scanner</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$storage->updater</code>
|
|
|
|
<code>$storage->updater</code>
|
|
|
|
</NoInterfaceProperties>
|
2021-03-06 07:33:39 +03:00
|
|
|
<NullableReturnStatement occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$this->getStorageCache()->getAvailability()</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Storage/DAV.php">
|
|
|
|
<InvalidClass occurrences="2">
|
|
|
|
<code>ArrayCache</code>
|
|
|
|
<code>ArrayCache</code>
|
|
|
|
</InvalidClass>
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>getETag</code>
|
|
|
|
</InvalidNullableReturnType>
|
2020-12-22 19:44:16 +03:00
|
|
|
<InvalidReturnStatement occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$response->getBody()</code>
|
|
|
|
</InvalidReturnStatement>
|
2020-12-22 19:44:16 +03:00
|
|
|
<InvalidReturnType occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>fopen</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Storage/FailedStorage.php">
|
|
|
|
<InvalidReturnStatement occurrences="2">
|
|
|
|
<code>new FailedCache()</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>true</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="2">
|
|
|
|
<code>getCache</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>verifyPath</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
2020-08-19 18:54:00 +03:00
|
|
|
<ParamNameMismatch occurrences="4">
|
|
|
|
<code>$source</code>
|
|
|
|
<code>$source</code>
|
|
|
|
<code>$target</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$target</code>
|
2020-08-19 18:54:00 +03:00
|
|
|
</ParamNameMismatch>
|
2020-08-18 10:02:31 +03:00
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Storage/Local.php">
|
|
|
|
<ImplicitToStringCast occurrences="1">
|
|
|
|
<code>$file</code>
|
|
|
|
</ImplicitToStringCast>
|
2020-10-14 12:47:54 +03:00
|
|
|
<InvalidOperand occurrences="1">
|
|
|
|
<code>$result</code>
|
|
|
|
</InvalidOperand>
|
2020-12-22 19:44:16 +03:00
|
|
|
<InvalidReturnStatement occurrences="2">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$helper->getFileSize($fullPath)</code>
|
|
|
|
<code>$space</code>
|
|
|
|
</InvalidReturnStatement>
|
2020-12-22 19:44:16 +03:00
|
|
|
<InvalidReturnType occurrences="2">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>filesize</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>free_space</code>
|
|
|
|
</InvalidReturnType>
|
2021-03-06 07:33:39 +03:00
|
|
|
<NullableReturnStatement occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$helper->getFileSize($fullPath)</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
<TypeDoesNotContainNull occurrences="2">
|
|
|
|
<code>$space === false || is_null($space)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>is_null($space)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
2021-03-06 07:33:39 +03:00
|
|
|
<InvalidNullableReturnType occurrences="34">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>copy</code>
|
|
|
|
<code>copyFromStorage</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>file_exists</code>
|
|
|
|
<code>file_get_contents</code>
|
|
|
|
<code>file_put_contents</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>filemtime</code>
|
|
|
|
<code>filesize</code>
|
2020-11-20 05:18:02 +03:00
|
|
|
<code>filetype</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>fopen</code>
|
|
|
|
<code>free_space</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>getDirectDownload</code>
|
|
|
|
<code>getETag</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>getLocalFile</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>getMimeType</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>getOwner</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>getPermissions</code>
|
|
|
|
<code>hasUpdated</code>
|
|
|
|
<code>hash</code>
|
|
|
|
<code>isCreatable</code>
|
|
|
|
<code>isDeletable</code>
|
|
|
|
<code>isReadable</code>
|
|
|
|
<code>isSharable</code>
|
|
|
|
<code>isUpdatable</code>
|
|
|
|
<code>is_dir</code>
|
|
|
|
<code>is_file</code>
|
|
|
|
<code>mkdir</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>moveFromStorage</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>opendir</code>
|
|
|
|
<code>rename</code>
|
|
|
|
<code>rmdir</code>
|
|
|
|
<code>search</code>
|
|
|
|
<code>stat</code>
|
|
|
|
<code>touch</code>
|
|
|
|
<code>unlink</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>\Traversable</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Storage/Wrapper/Encoding.php">
|
|
|
|
<UndefinedInterfaceMethod occurrences="13">
|
|
|
|
<code>$this->namesCache</code>
|
|
|
|
<code>$this->namesCache</code>
|
|
|
|
<code>$this->namesCache</code>
|
|
|
|
<code>$this->namesCache</code>
|
|
|
|
<code>$this->namesCache</code>
|
|
|
|
<code>$this->namesCache</code>
|
|
|
|
<code>$this->namesCache</code>
|
|
|
|
<code>$this->namesCache</code>
|
|
|
|
<code>$this->namesCache</code>
|
|
|
|
<code>$this->namesCache</code>
|
|
|
|
<code>$this->namesCache</code>
|
|
|
|
<code>$this->namesCache</code>
|
|
|
|
<code>$this->namesCache</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Storage/Wrapper/Encryption.php">
|
2020-12-03 13:03:17 +03:00
|
|
|
<FalsableReturnStatement occurrences="1">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>false</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</FalsableReturnStatement>
|
|
|
|
<InvalidArgument occurrences="2">
|
|
|
|
<code>$source</code>
|
|
|
|
<code>$target</code>
|
|
|
|
</InvalidArgument>
|
2020-10-14 12:47:54 +03:00
|
|
|
<InvalidOperand occurrences="3">
|
|
|
|
<code>$result</code>
|
|
|
|
<code>$result</code>
|
|
|
|
<code>$result</code>
|
|
|
|
</InvalidOperand>
|
2020-12-03 13:03:17 +03:00
|
|
|
<InvalidReturnStatement occurrences="5">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$newUnencryptedSize</code>
|
2020-12-03 13:03:17 +03:00
|
|
|
<code>$stat</code>
|
|
|
|
<code>$this->storage->file_get_contents($path)</code>
|
|
|
|
<code>$this->storage->filesize($path)</code>
|
|
|
|
<code>$this->storage->getLocalFile($path)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidReturnStatement>
|
2020-12-03 13:03:17 +03:00
|
|
|
<InvalidReturnType occurrences="4">
|
|
|
|
<code>array</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>int</code>
|
2020-12-03 13:03:17 +03:00
|
|
|
<code>string</code>
|
|
|
|
<code>string</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidReturnType>
|
2020-12-03 13:03:17 +03:00
|
|
|
<InvalidScalarArgument occurrences="5">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$lastChunkPos</code>
|
|
|
|
<code>$newUnencryptedSize</code>
|
2020-12-03 13:03:17 +03:00
|
|
|
<code>$size</code>
|
|
|
|
<code>$size</code>
|
|
|
|
<code>$sourceStorage->filemtime($sourceInternalPath)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Storage/Wrapper/Jail.php">
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$this->getWrapperStorage()->filetype($this->getUnjailedPath($path))</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>bool</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Storage/Wrapper/Quota.php">
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$extension === 'part'</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>string</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>'ext'</code>
|
|
|
|
</InvalidScalarArgument>
|
2020-08-19 18:54:00 +03:00
|
|
|
<ParamNameMismatch occurrences="2">
|
|
|
|
<code>$source</code>
|
|
|
|
<code>$target</code>
|
|
|
|
</ParamNameMismatch>
|
2020-08-18 10:02:31 +03:00
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Storage/Wrapper/Wrapper.php">
|
2020-12-03 13:03:17 +03:00
|
|
|
<InvalidReturnStatement occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$this->getWrapperStorage()->test()</code>
|
|
|
|
</InvalidReturnStatement>
|
2020-12-03 13:03:17 +03:00
|
|
|
<InvalidReturnType occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>true</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</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">
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$update->execute()</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>int</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/Utils/Scanner.php">
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$mounts</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>\OC\Files\Mount\MountPoint[]</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Files/View.php">
|
|
|
|
<InvalidArgument occurrences="3">
|
|
|
|
<code>$mount</code>
|
|
|
|
<code>$mount</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidNullableReturnType occurrences="2">
|
|
|
|
<code>\OCP\Files\Mount\IMountPoint</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>string</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$results</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>\OC\Files\Mount\MountPoint</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
<InvalidScalarArgument occurrences="3">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$fileId</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$mtime</code>
|
|
|
|
<code>$user</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<NullableReturnStatement occurrences="6">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$mount</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>Filesystem::getMountManager()->find($this->getAbsolutePath($path))</code>
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>null</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</NullableReturnStatement>
|
2021-03-08 11:54:08 +03:00
|
|
|
<RedundantCondition occurrences="4">
|
|
|
|
<code>$data</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$result && in_array('delete', $hooks) and $result</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$storage1</code>
|
|
|
|
<code>is_resource($source)</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
<UndefinedDocblockClass occurrences="2">
|
|
|
|
<code>$storage</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>[$storage, $internalPath]</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedDocblockClass>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/FullTextSearch/Model/IndexDocument.php">
|
|
|
|
<TypeDoesNotContainNull occurrences="1">
|
|
|
|
<code>is_null($this->getContent())</code>
|
|
|
|
</TypeDoesNotContainNull>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Group/Database.php">
|
|
|
|
<InvalidArrayOffset occurrences="1">
|
|
|
|
<code>$this->groupCache[$gid]['displayname']</code>
|
|
|
|
</InvalidArrayOffset>
|
|
|
|
<InvalidPropertyAssignmentValue occurrences="3">
|
|
|
|
<code>$this->groupCache</code>
|
|
|
|
<code>$this->groupCache</code>
|
|
|
|
<code>$this->groupCache</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Group/Group.php">
|
2020-10-22 15:44:38 +03:00
|
|
|
<InvalidArgument occurrences="7">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>IGroup::class . '::postAddUser'</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>IGroup::class . '::postDelete'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>IGroup::class . '::postRemoveUser'</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>IGroup::class . '::preAddUser'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>IGroup::class . '::preDelete'</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>IGroup::class . '::preRemoveUser'</code>
|
2020-10-22 15:44:38 +03:00
|
|
|
<code>bool</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidOperand occurrences="1">
|
|
|
|
<code>$hide</code>
|
|
|
|
</InvalidOperand>
|
2020-10-22 15:44:38 +03:00
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$users</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>int|bool</code>
|
|
|
|
</InvalidReturnType>
|
2020-08-18 10:02:31 +03:00
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$user</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
2020-10-22 15:44:38 +03:00
|
|
|
<RedundantCondition occurrences="3">
|
|
|
|
<code>$this->emitter</code>
|
|
|
|
<code>$this->emitter</code>
|
|
|
|
<code>$this->emitter</code>
|
|
|
|
</RedundantCondition>
|
2020-08-18 10:02:31 +03:00
|
|
|
<TooManyArguments occurrences="6">
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
<UndefinedMethod occurrences="4">
|
|
|
|
<code>addToGroup</code>
|
|
|
|
<code>countUsersInGroup</code>
|
|
|
|
<code>deleteGroup</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>removeFromGroup</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Group/Manager.php">
|
|
|
|
<UndefinedInterfaceMethod occurrences="3">
|
|
|
|
<code>createGroup</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>getGroupDetails</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>isAdmin</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Group/MetaData.php">
|
|
|
|
<InvalidPropertyAssignmentValue occurrences="2">
|
|
|
|
<code>$sortMode</code>
|
|
|
|
<code>self::SORT_NONE</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Http/Client/Response.php">
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>string|resource</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<NullableReturnStatement occurrences="1"/>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Installer.php">
|
|
|
|
<FalsableReturnStatement occurrences="1">
|
|
|
|
<code>false</code>
|
|
|
|
</FalsableReturnStatement>
|
|
|
|
<InvalidArrayOffset occurrences="2">
|
|
|
|
<code>$app['path']</code>
|
|
|
|
<code>$app['path']</code>
|
|
|
|
</InvalidArrayOffset>
|
|
|
|
<NullArgument occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullArgument>
|
|
|
|
<RedundantCondition occurrences="1">
|
|
|
|
<code>$archive</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/IntegrityCheck/Checker.php">
|
|
|
|
<InvalidArrayAccess occurrences="3">
|
|
|
|
<code>$x509->getDN(X509::DN_OPENSSL)['CN']</code>
|
|
|
|
<code>$x509->getDN(X509::DN_OPENSSL)['CN']</code>
|
|
|
|
<code>$x509->getDN(true)['CN']</code>
|
|
|
|
</InvalidArrayAccess>
|
|
|
|
<UndefinedInterfaceMethod occurrences="2">
|
|
|
|
<code>getAllAliases</code>
|
|
|
|
<code>getOnlyDefaultAliases</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/L10N/Factory.php">
|
|
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
|
|
<code>null|string</code>
|
|
|
|
</ImplementedReturnTypeMismatch>
|
|
|
|
<LessSpecificImplementedReturnType occurrences="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/Lockdown/Filesystem/NullCache.php">
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>get</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>[]</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>getIncomplete</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
<NullableReturnStatement occurrences="1"/>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Lockdown/Filesystem/NullStorage.php">
|
|
|
|
<InvalidNullableReturnType occurrences="2">
|
|
|
|
<code>getOwner</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>getPermissions</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<InvalidReturnStatement occurrences="2">
|
|
|
|
<code>new IteratorDirectory([])</code>
|
|
|
|
<code>new NullCache()</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="2">
|
|
|
|
<code>getCache</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>opendir</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$request</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</RedundantCondition>
|
|
|
|
</file>
|
2020-10-22 15:44:38 +03:00
|
|
|
<file src="lib/private/Log/File.php">
|
|
|
|
<TypeDoesNotContainNull occurrences="1">
|
|
|
|
<code>$limit === null</code>
|
|
|
|
</TypeDoesNotContainNull>
|
|
|
|
</file>
|
2020-08-18 10:02:31 +03:00
|
|
|
<file src="lib/private/Log/LogDetails.php">
|
|
|
|
<RedundantCondition occurrences="1">
|
|
|
|
<code>is_string($request->getMethod())</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
</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">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>getSubject</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>getSwiftMessage</code>
|
|
|
|
<code>getTo</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Memcache/APCu.php">
|
2020-11-20 05:18:02 +03:00
|
|
|
<InvalidReturnStatement occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>apcu_add($this->getPrefix() . $key, $value, $ttl)</code>
|
|
|
|
</InvalidReturnStatement>
|
2020-11-20 05:18:02 +03:00
|
|
|
<InvalidReturnType occurrences="1">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>bool</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
2020-10-14 12:47:54 +03:00
|
|
|
<TypeDoesNotContainType occurrences="1">
|
|
|
|
<code>$lockingCacheClass && class_exists($distributedCacheClass)</code>
|
|
|
|
</TypeDoesNotContainType>
|
2020-08-18 10:02:31 +03:00
|
|
|
</file>
|
|
|
|
<file src="lib/private/Memcache/Memcached.php">
|
|
|
|
<RedundantCondition occurrences="1">
|
|
|
|
<code>method_exists(self::$cache, 'deleteMulti')</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Memcache/Redis.php">
|
|
|
|
<InvalidMethodCall occurrences="2">
|
|
|
|
<code>exec</code>
|
|
|
|
<code>exec</code>
|
|
|
|
</InvalidMethodCall>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Migration/BackgroundRepair.php">
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$jobList</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Notification/Manager.php">
|
2020-10-14 12:47:54 +03:00
|
|
|
<TypeDoesNotContainType occurrences="2">
|
|
|
|
<code>!($notification instanceof INotification)</code>
|
|
|
|
<code>!($notification instanceof INotification)</code>
|
|
|
|
</TypeDoesNotContainType>
|
2020-08-18 10:02:31 +03:00
|
|
|
</file>
|
|
|
|
<file src="lib/private/Preview/BackgroundCleanupJob.php">
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>[]</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Preview/Bitmap.php">
|
|
|
|
<ImplicitToStringCast occurrences="1">
|
|
|
|
<code>$bp</code>
|
|
|
|
</ImplicitToStringCast>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Preview/Generator.php">
|
|
|
|
<InvalidArgument occurrences="2">
|
|
|
|
<code>$maxPreviewImage</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>IPreview::EVENT</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>ISimpleFile</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$file->getId()</code>
|
|
|
|
<code>$file->getId()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<MismatchingDocblockParamType occurrences="1">
|
|
|
|
<code>ISimpleFile</code>
|
|
|
|
</MismatchingDocblockParamType>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>$preview</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
<UndefinedInterfaceMethod occurrences="7">
|
|
|
|
<code>height</code>
|
|
|
|
<code>height</code>
|
|
|
|
<code>preciseResizeCopy</code>
|
|
|
|
<code>resizeCopy</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>valid</code>
|
|
|
|
<code>width</code>
|
|
|
|
<code>width</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
2020-12-03 13:03:17 +03:00
|
|
|
<InvalidReturnStatement occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$file->getStorage()->getLocalFile($file->getInternalPath())</code>
|
2020-12-03 13:03:17 +03:00
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>string</code>
|
|
|
|
</InvalidReturnType>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout, false, $config['password'])</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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/RemoveLinkShares.php">
|
2020-10-07 07:26:43 +03:00
|
|
|
<ImplicitToStringCast occurrences="2">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$query->createFunction('(' . $subQuery->getSQL() . ')')</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$subQuery->createFunction('(' . $subSubQuery->getSQL() . ')')</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</ImplicitToStringCast>
|
|
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
|
|
<code>$this->userToNotify</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
</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->getMtime()</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$data->getPermissions()</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$this->hasPreview($data)</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Security/Bruteforce/Throttler.php">
|
|
|
|
<NullArgument occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullArgument>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php">
|
|
|
|
<NoInterfaceProperties occurrences="1">
|
|
|
|
<code>$this->request->server</code>
|
|
|
|
</NoInterfaceProperties>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Security/Certificate.php">
|
|
|
|
<ImplementedReturnTypeMismatch occurrences="3">
|
|
|
|
<code>string|null</code>
|
|
|
|
<code>string|null</code>
|
|
|
|
<code>string|null</code>
|
|
|
|
</ImplementedReturnTypeMismatch>
|
|
|
|
</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">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>decrypt</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>encrypt</code>
|
|
|
|
<code>setIV</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>setIV</code>
|
|
|
|
<code>setPassword</code>
|
|
|
|
<code>setPassword</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InternalMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Server.php">
|
|
|
|
<ImplementedReturnTypeMismatch occurrences="3">
|
|
|
|
<code>\OCP\Calendar\Resource\IManager</code>
|
|
|
|
<code>\OCP\Calendar\Room\IManager</code>
|
|
|
|
<code>\OCP\Files\Folder|null</code>
|
|
|
|
</ImplementedReturnTypeMismatch>
|
|
|
|
<InvalidCatch occurrences="1"/>
|
|
|
|
<UndefinedDocblockClass occurrences="1">
|
|
|
|
<code>\OC\OCSClient</code>
|
|
|
|
</UndefinedDocblockClass>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/ServerContainer.php">
|
|
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
|
|
<code>$this->hasNoAppContainer</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Session/Internal.php">
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$value</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Session/Memory.php">
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$value</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Setup.php">
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>microtime(true)</code>
|
|
|
|
<code>microtime(true)</code>
|
|
|
|
</InvalidScalarArgument>
|
2021-03-08 11:54:08 +03:00
|
|
|
<RedundantCondition occurrences="2">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$content !== ''</code>
|
2021-03-08 11:54:08 +03:00
|
|
|
<code>$type === 'pdo'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
2020-12-01 07:28:53 +03:00
|
|
|
<InvalidScalarArgument occurrences="2">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>\OC_User::getUser()</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>\OC_User::getUser()</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
|
|
|
<UndefinedInterfaceMethod occurrences="2">
|
|
|
|
<code>getParents</code>
|
|
|
|
<code>getParents</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Share20/DefaultShareProvider.php">
|
|
|
|
<InvalidScalarArgument occurrences="3">
|
|
|
|
<code>$share->getId()</code>
|
|
|
|
<code>$share->getId()</code>
|
|
|
|
<code>(int)$data['id']</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>set</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>getParent</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Share20/Manager.php">
|
2021-03-03 07:28:22 +03:00
|
|
|
<InvalidArgument occurrences="6">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>'OCP\Share::postAcceptShare'</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>'OCP\Share::postShare'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>'OCP\Share::postUnshare'</code>
|
|
|
|
<code>'OCP\Share::postUnshareFromSelf'</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>'OCP\Share::preShare'</code>
|
|
|
|
<code>'OCP\Share::preUnshare'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidArgument>
|
2020-11-17 07:22:33 +03:00
|
|
|
<InvalidScalarArgument occurrences="2">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$id</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$this->shareApiLinkDefaultExpireDays()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<TooManyArguments occurrences="7">
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>update</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
2020-12-08 19:18:34 +03:00
|
|
|
<InvalidReturnStatement occurrences="4">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$provider</code>
|
|
|
|
<code>$provider</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$this->roomShareProvider</code>
|
|
|
|
<code>$this->shareByCircleProvider</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidReturnStatement>
|
2020-12-08 19:18:34 +03:00
|
|
|
<InvalidReturnType occurrences="1">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>getProviderForType</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
<NullableReturnStatement occurrences="6">
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
<UndefinedClass occurrences="1">
|
|
|
|
<code>\OCA\Circles\ShareByCircleProvider</code>
|
|
|
|
</UndefinedClass>
|
|
|
|
<UndefinedDocblockClass occurrences="5">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>RoomShareProvider</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>\OCA\Circles\ShareByCircleProvider</code>
|
|
|
|
<code>\OCA\Talk\Share\RoomShareProvider</code>
|
|
|
|
<code>private $roomShareProvider = null;</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>private $shareByCircleProvider = null;</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
2020-10-08 12:41:16 +03:00
|
|
|
<UndefinedInterfaceMethod occurrences="2">
|
|
|
|
<code>countUsers</code>
|
2020-12-03 07:29:05 +03:00
|
|
|
<code>getSupportedApps</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/SystemTag/SystemTagManager.php">
|
|
|
|
<FalsableReturnStatement occurrences="3">
|
|
|
|
<code>false</code>
|
|
|
|
<code>false</code>
|
|
|
|
<code>false</code>
|
|
|
|
</FalsableReturnStatement>
|
|
|
|
<InvalidArgument occurrences="3">
|
|
|
|
<code>ManagerEvent::EVENT_CREATE</code>
|
|
|
|
<code>ManagerEvent::EVENT_DELETE</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>ManagerEvent::EVENT_UPDATE</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidReturnType occurrences="2">
|
|
|
|
<code>bool</code>
|
|
|
|
<code>bool</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
<TooManyArguments occurrences="3">
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/SystemTag/SystemTagObjectMapper.php">
|
|
|
|
<InvalidArgument occurrences="2">
|
|
|
|
<code>MapperEvent::EVENT_ASSIGN</code>
|
|
|
|
<code>MapperEvent::EVENT_UNASSIGN</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<TooManyArguments occurrences="2">
|
|
|
|
<code>dispatch</code>
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/TagManager.php">
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>\OCP\ITags</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Tags.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>[$this->user, $this->type, $chunk]</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$from</code>
|
|
|
|
<code>$names</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$tag</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/TempManager.php">
|
|
|
|
<FalsableReturnStatement occurrences="2">
|
|
|
|
<code>false</code>
|
|
|
|
<code>false</code>
|
|
|
|
</FalsableReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Template/JSConfigHelper.php">
|
|
|
|
<NullArgument occurrences="2">
|
|
|
|
<code>null</code>
|
|
|
|
<code>null</code>
|
|
|
|
</NullArgument>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Template/JSResourceLocator.php">
|
|
|
|
<InvalidOperand occurrences="6">
|
|
|
|
<code>$this->appendIfExist($this->serverroot, $script.'.js')</code>
|
|
|
|
<code>$this->appendIfExist($this->serverroot, $theme_dir.$script.'.js')</code>
|
|
|
|
<code>$this->appendIfExist($this->serverroot, $theme_dir.'apps/'.$script.'.js')</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$this->appendIfExist($this->serverroot, $theme_dir.'core/'.$script.'.js')</code>
|
|
|
|
<code>$this->appendIfExist($this->serverroot, 'apps/'.$script.'.js')</code>
|
|
|
|
<code>$this->appendIfExist($this->serverroot, 'core/'.$script.'.js')</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidOperand>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/TemplateLayout.php">
|
|
|
|
<InvalidParamDefault occurrences="2">
|
|
|
|
<code>string</code>
|
|
|
|
<code>string</code>
|
|
|
|
</InvalidParamDefault>
|
2020-11-03 07:23:30 +03:00
|
|
|
<InvalidScalarArgument occurrences="3">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$appName</code>
|
|
|
|
<code>$appName</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>\OC_User::getUser()</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>Util::addScript('dist/unified-search', null, true)</code>
|
|
|
|
</TooManyArguments>
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>getInitialStates</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/URLGenerator.php">
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$path</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Updater.php">
|
|
|
|
<InvalidScalarArgument occurrences="13">
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
|
|
|
<code>0</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>1</code>
|
|
|
|
<code>1</code>
|
|
|
|
<code>1</code>
|
|
|
|
<code>1</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/Updater/VersionCheck.php">
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>microtime(true)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>time()</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
|
|
|
<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>
|
|
|
|
<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>
|
2021-01-08 16:21:12 +03:00
|
|
|
<UndefinedInterfaceMethod occurrences="5">
|
|
|
|
<code>checkPassword</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>checkPassword</code>
|
|
|
|
<code>countUsers</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>createUser</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<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>
|
2021-03-08 11:54:08 +03:00
|
|
|
<UndefinedMethod occurrences="1">
|
|
|
|
<code>getByEmail</code>
|
|
|
|
</UndefinedMethod>
|
2020-08-18 10:02:31 +03:00
|
|
|
</file>
|
|
|
|
<file src="lib/private/User/User.php">
|
|
|
|
<InvalidArgument occurrences="5">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>IUser::class . '::changeUser'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>IUser::class . '::postDelete'</code>
|
|
|
|
<code>IUser::class . '::postSetPassword'</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>IUser::class . '::preDelete'</code>
|
|
|
|
<code>IUser::class . '::preSetPassword'</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>getBackend</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
|
|
<code>$this->config->getUserValue($uid, 'login', 'lastLogin', 0)</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>$image</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>IImage|null</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$quota</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$this->lastLogin</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>canChangeAvatar</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>deleteUserAvatar</code>
|
|
|
|
<code>getHome</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>setDisplayName</code>
|
|
|
|
<code>setPassword</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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>
|
|
|
|
<TooManyArguments occurrences="1">
|
|
|
|
<code>dispatch</code>
|
|
|
|
</TooManyArguments>
|
2020-10-22 15:44:38 +03:00
|
|
|
<TypeDoesNotContainNull occurrences="2">
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$appId === null</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$appId === null</code>
|
2020-10-22 15:44:38 +03:00
|
|
|
</TypeDoesNotContainNull>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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_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">
|
|
|
|
<InvalidArgument occurrences="3">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$fh</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$fileInfos</code>
|
|
|
|
<code>[$fileInfo]</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>mt_rand()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<RedundantCondition occurrences="2">
|
|
|
|
<code>$getType === self::ZIP_DIR</code>
|
|
|
|
<code>$getType === self::ZIP_DIR</code>
|
|
|
|
</RedundantCondition>
|
|
|
|
<UndefinedInterfaceMethod occurrences="2">
|
|
|
|
<code>get</code>
|
|
|
|
<code>get</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/legacy/OC_Helper.php">
|
2020-10-14 12:47:54 +03:00
|
|
|
<InvalidOperand occurrences="1">
|
|
|
|
<code>$matches[1][$last_match][0]</code>
|
|
|
|
</InvalidOperand>
|
2020-08-18 10:02:31 +03:00
|
|
|
<InvalidReturnStatement occurrences="4">
|
|
|
|
<code>(INF > 0)? INF: PHP_INT_MAX</code>
|
|
|
|
<code>INF</code>
|
|
|
|
<code>max($upload_max_filesize, $post_max_size)</code>
|
|
|
|
<code>min($upload_max_filesize, $post_max_size)</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>int</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
<InvalidScalarArgument occurrences="4">
|
|
|
|
<code>$includeExtStorage ? 'ext' : false</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$path</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$quota</code>
|
|
|
|
<code>'ext'</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<RedundantCondition occurrences="1">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>count($obd_values) > 0</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</RedundantCondition>
|
|
|
|
<UndefinedInterfaceMethod occurrences="1">
|
|
|
|
<code>getSourceStorage</code>
|
|
|
|
</UndefinedInterfaceMethod>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/legacy/OC_Image.php">
|
|
|
|
<FalsableReturnStatement occurrences="3">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$this->resource</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$this->valid() ? imagesx($this->resource) : -1</code>
|
|
|
|
<code>$this->valid() ? imagesy($this->resource) : -1</code>
|
|
|
|
</FalsableReturnStatement>
|
|
|
|
<ImplementedReturnTypeMismatch occurrences="1">
|
|
|
|
<code>null|string</code>
|
|
|
|
</ImplementedReturnTypeMismatch>
|
|
|
|
<InvalidArrayOffset occurrences="2">
|
|
|
|
<code>$data[floor($p)]</code>
|
|
|
|
<code>$data[floor($p)]</code>
|
|
|
|
</InvalidArrayOffset>
|
2020-12-07 17:06:28 +03:00
|
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
|
|
<code>$resource</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
2020-08-18 10:02:31 +03:00
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>bool</code>
|
|
|
|
</InvalidReturnType>
|
2021-01-20 08:05:00 +03:00
|
|
|
<InvalidScalarArgument occurrences="4">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$this->bitDepth</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$x</code>
|
|
|
|
<code>$y</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>90</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InvalidScalarArgument>
|
|
|
|
<MismatchingDocblockReturnType occurrences="1">
|
|
|
|
<code>bool</code>
|
|
|
|
</MismatchingDocblockReturnType>
|
|
|
|
<RedundantCondition occurrences="1">
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$isWritable</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</RedundantCondition>
|
2020-12-07 17:06:28 +03:00
|
|
|
<TypeDoesNotContainType occurrences="2">
|
|
|
|
<code>get_class($resource) === 'GdImage'</code>
|
|
|
|
<code>get_class($this->resource) === 'GdImage'</code>
|
|
|
|
</TypeDoesNotContainType>
|
2020-08-18 10:02:31 +03:00
|
|
|
</file>
|
|
|
|
<file src="lib/private/legacy/OC_JSON.php">
|
|
|
|
<InvalidScalarArgument occurrences="1">
|
|
|
|
<code>OC_User::getUser()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/legacy/OC_User.php">
|
|
|
|
<UndefinedClass occurrences="1">
|
|
|
|
<code>\Test\Util\User\Dummy</code>
|
|
|
|
</UndefinedClass>
|
|
|
|
</file>
|
|
|
|
<file src="lib/private/legacy/OC_Util.php">
|
|
|
|
<InternalMethod occurrences="2">
|
|
|
|
<code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($prevLogging)</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</InternalMethod>
|
2020-10-14 12:47:54 +03:00
|
|
|
<InvalidLiteralArgument occurrences="1">
|
|
|
|
<code>\OCP\Constants::FILENAME_INVALID_CHARS</code>
|
|
|
|
</InvalidLiteralArgument>
|
2020-08-18 10:02:31 +03:00
|
|
|
<InvalidReturnStatement occurrences="1">
|
|
|
|
<code>OC_Helper::computerFileSize($userQuota)</code>
|
|
|
|
</InvalidReturnStatement>
|
|
|
|
<InvalidReturnType occurrences="1">
|
|
|
|
<code>float</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
<InvalidScalarArgument occurrences="2">
|
|
|
|
<code>$user</code>
|
|
|
|
<code>OC_User::getUser()</code>
|
|
|
|
</InvalidScalarArgument>
|
|
|
|
<RedundantCondition occurrences="2">
|
|
|
|
<code>'off'</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>is_string($expected)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</RedundantCondition>
|
|
|
|
<TypeDoesNotContainType occurrences="3">
|
|
|
|
<code>is_bool($expected)</code>
|
|
|
|
<code>is_bool($setting[1])</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>is_int($expected)</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
</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/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['internalName']</code>
|
2020-10-14 12:47:54 +03:00
|
|
|
<code>$resource['resource']</code>
|
|
|
|
<code>$resource['size']</code>
|
2020-08-18 10:02:31 +03:00
|
|
|
<code>$resource['size']</code>
|
|
|
|
<code>$resource['time']</code>
|
|
|
|
</InvalidArrayAccess>
|
|
|
|
<InvalidPropertyAssignmentValue occurrences="1">
|
|
|
|
<code>$this->resources</code>
|
|
|
|
</InvalidPropertyAssignmentValue>
|
|
|
|
</file>
|
|
|
|
<file src="lib/public/BackgroundJob/TimedJob.php">
|
|
|
|
<MoreSpecificImplementedParamType occurrences="1">
|
|
|
|
<code>$jobList</code>
|
|
|
|
</MoreSpecificImplementedParamType>
|
|
|
|
</file>
|
|
|
|
<file src="lib/public/Dashboard/Model/WidgetTemplate.php">
|
|
|
|
<InvalidNullableReturnType occurrences="1">
|
|
|
|
<code>WidgetSetting</code>
|
|
|
|
</InvalidNullableReturnType>
|
|
|
|
<NullableReturnStatement occurrences="1">
|
|
|
|
<code>null</code>
|
|
|
|
</NullableReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="lib/public/Diagnostics/IQueryLogger.php">
|
|
|
|
<LessSpecificImplementedReturnType occurrences="1">
|
|
|
|
<code>mixed</code>
|
|
|
|
</LessSpecificImplementedReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="lib/public/Files.php">
|
|
|
|
<FalsableReturnStatement occurrences="1">
|
|
|
|
<code>\OC_App::getStorage($app)</code>
|
|
|
|
</FalsableReturnStatement>
|
|
|
|
</file>
|
|
|
|
<file src="lib/public/Files/Storage.php">
|
|
|
|
<InvalidParamDefault occurrences="1">
|
|
|
|
<code>array</code>
|
|
|
|
</InvalidParamDefault>
|
|
|
|
</file>
|
|
|
|
<file src="lib/public/FullTextSearch/Model/ISearchRequest.php">
|
|
|
|
<InvalidClass occurrences="1">
|
|
|
|
<code>IsearchRequest</code>
|
|
|
|
</InvalidClass>
|
|
|
|
</file>
|
|
|
|
<file src="lib/public/IAddressBook.php">
|
|
|
|
<InvalidDocblock occurrences="1">
|
|
|
|
<code>public function getUri(): string;</code>
|
|
|
|
</InvalidDocblock>
|
|
|
|
</file>
|
|
|
|
<file src="lib/public/IAvatar.php">
|
|
|
|
<UndefinedDocblockClass occurrences="1">
|
|
|
|
<code>Color</code>
|
|
|
|
</UndefinedDocblockClass>
|
|
|
|
</file>
|
|
|
|
<file src="lib/public/IContainer.php">
|
|
|
|
<InvalidThrow occurrences="2">
|
|
|
|
<code>ContainerExceptionInterface</code>
|
|
|
|
<code>ContainerExceptionInterface</code>
|
|
|
|
</InvalidThrow>
|
|
|
|
</file>
|
|
|
|
<file src="lib/public/IDBConnection.php">
|
|
|
|
<InvalidClass occurrences="1">
|
|
|
|
<code>PreconditionNotMetException</code>
|
|
|
|
</InvalidClass>
|
|
|
|
</file>
|
|
|
|
<file src="lib/public/Search/SearchResult.php">
|
|
|
|
<InvalidArgument occurrences="1">
|
|
|
|
<code>$cursor</code>
|
|
|
|
</InvalidArgument>
|
|
|
|
</file>
|
|
|
|
<file src="lib/public/Share.php">
|
|
|
|
<InvalidReturnType occurrences="3">
|
|
|
|
<code>array</code>
|
|
|
|
<code>array|bool</code>
|
|
|
|
<code>mixed</code>
|
|
|
|
</InvalidReturnType>
|
|
|
|
</file>
|
|
|
|
<file src="lib/public/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>
|