nextcloud/build/psalm-baseline.xml

5654 lines
200 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.2.1@ea9cb72143b77e7520c52fa37290bd8d8bc88fd9">
<file src="3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>string|null</code>
</ImplementedReturnTypeMismatch>
</file>
<file src="3rdparty/sabre/dav/lib/CalDAV/Calendar.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$calendarData</code>
</MoreSpecificImplementedParamType>
</file>
<file src="3rdparty/sabre/dav/lib/CalDAV/CalendarHome.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$data</code>
</MoreSpecificImplementedParamType>
</file>
<file src="3rdparty/sabre/dav/lib/CalDAV/Principal/User.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$data</code>
</MoreSpecificImplementedParamType>
</file>
<file src="3rdparty/sabre/dav/lib/CardDAV/AddressBook.php">
<LessSpecificImplementedReturnType occurrences="1">
<code>array</code>
</LessSpecificImplementedReturnType>
<MoreSpecificImplementedParamType occurrences="1">
<code>$vcardData</code>
</MoreSpecificImplementedParamType>
</file>
<file src="3rdparty/sabre/dav/lib/CardDAV/AddressBookHome.php">
<InvalidPropertyAssignmentValue occurrences="1">
<code>$principalUri</code>
</InvalidPropertyAssignmentValue>
<MoreSpecificImplementedParamType occurrences="1">
<code>$data</code>
</MoreSpecificImplementedParamType>
</file>
<file src="3rdparty/sabre/dav/lib/DAVACL/AbstractPrincipalCollection.php">
<LessSpecificImplementedReturnType occurrences="1">
<code>array</code>
</LessSpecificImplementedReturnType>
</file>
<file src="apps/cloud_federation_api/lib/Controller/RequestHandlerController.php">
<InvalidScalarArgument occurrences="1">
<code>$e-&gt;getCode()</code>
</InvalidScalarArgument>
<TypeDoesNotContainType occurrences="1">
<code>!is_array($notification)</code>
</TypeDoesNotContainType>
</file>
<file src="apps/comments/lib/JSSettingsHelper.php">
<InvalidScalarArgument occurrences="1">
<code>10</code>
</InvalidScalarArgument>
</file>
<file src="apps/comments/lib/Search/Result.php">
<InvalidScalarArgument occurrences="1">
<code>(int) $comment-&gt;getId()</code>
</InvalidScalarArgument>
</file>
<file src="apps/contactsinteraction/lib/AddressBook.php">
<UndefinedFunction occurrences="1">
<code>\Sabre\Uri\split($this-&gt;principalUri)</code>
</UndefinedFunction>
</file>
<file src="apps/contactsinteraction/lib/Card.php">
<InvalidReturnType occurrences="1">
<code>?string</code>
</InvalidReturnType>
</file>
<file src="apps/dav/appinfo/v1/caldav.php">
<TooManyArguments occurrences="1">
<code>new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud')</code>
</TooManyArguments>
<UndefinedGlobalVariable occurrences="1">
<code>$baseuri</code>
</UndefinedGlobalVariable>
</file>
<file src="apps/dav/appinfo/v1/carddav.php">
<TooManyArguments occurrences="1">
<code>new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud')</code>
</TooManyArguments>
<UndefinedGlobalVariable occurrences="1">
<code>$baseuri</code>
</UndefinedGlobalVariable>
</file>
<file src="apps/dav/appinfo/v1/publicwebdav.php">
<InternalMethod occurrences="2">
<code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($previousLog)</code>
<code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code>
</InternalMethod>
<UndefinedGlobalVariable occurrences="1">
<code>$baseuri</code>
</UndefinedGlobalVariable>
</file>
<file src="apps/dav/appinfo/v1/webdav.php">
<InvalidArgument occurrences="1">
<code>'OCA\DAV\Connector\Sabre::addPlugin'</code>
</InvalidArgument>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
<UndefinedGlobalVariable occurrences="1">
<code>$baseuri</code>
</UndefinedGlobalVariable>
</file>
<file src="apps/dav/appinfo/v2/direct.php">
<UndefinedGlobalVariable occurrences="1">
<code>$baseuri</code>
</UndefinedGlobalVariable>
</file>
<file src="apps/dav/appinfo/v2/remote.php">
<UndefinedGlobalVariable occurrences="1">
<code>$baseuri</code>
</UndefinedGlobalVariable>
</file>
<file src="apps/dav/bin/chunkperf.php">
<InvalidOperand occurrences="1">
<code>$argv[5]</code>
</InvalidOperand>
<InvalidScalarArgument occurrences="1">
<code>$chunkSize</code>
</InvalidScalarArgument>
<MissingFile occurrences="1">
<code>require '../../../../3rdparty/autoload.php'</code>
</MissingFile>
</file>
<file src="apps/dav/lib/AppInfo/Application.php">
<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-&gt;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-&gt;VEVENT-&gt;DTSTART</code>
<code>$existingBirthday-&gt;VEVENT-&gt;SUMMARY</code>
<code>$newCalendarData-&gt;VEVENT-&gt;DTSTART</code>
<code>$newCalendarData-&gt;VEVENT-&gt;SUMMARY</code>
</UndefinedPropertyFetch>
</file>
<file src="apps/dav/lib/CalDAV/CachedSubscription.php">
<LessSpecificImplementedReturnType occurrences="1">
<code>array</code>
</LessSpecificImplementedReturnType>
<MoreSpecificImplementedParamType occurrences="1">
<code>$calendarData</code>
</MoreSpecificImplementedParamType>
<ParamNameMismatch occurrences="1">
<code>$calendarData</code>
</ParamNameMismatch>
</file>
<file src="apps/dav/lib/CalDAV/CachedSubscriptionObject.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>string|void</code>
</ImplementedReturnTypeMismatch>
<NullableReturnStatement occurrences="1">
<code>$this-&gt;objectData['calendardata']</code>
</NullableReturnStatement>
</file>
<file src="apps/dav/lib/CalDAV/CalDavBackend.php">
<InvalidArgument occurrences="14">
<code>'\OCA\DAV\CalDAV\CalDavBackend::createCachedCalendarObject'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::createCalendar'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::createCalendarObject'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::createSubscription'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCachedCalendarObject'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCalendar'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCalendarObject'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteSubscription'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::publishCalendar'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateCachedCalendarObject'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateCalendar'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateCalendarObject'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateShares'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateSubscription'</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="2">
<code>array</code>
<code>array</code>
</InvalidNullableReturnType>
<MoreSpecificImplementedParamType occurrences="2">
<code>$objectData</code>
<code>$uris</code>
</MoreSpecificImplementedParamType>
<NullableReturnStatement occurrences="2">
<code>null</code>
<code>null</code>
</NullableReturnStatement>
<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>
<code>purgeProperties</code>
</TooManyArguments>
<UndefinedFunction occurrences="4">
<code>Uri\split($principalUri)</code>
<code>Uri\split($row['principaluri'])</code>
<code>Uri\split($row['principaluri'])</code>
<code>Uri\split($row['principaluri'])</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/CalDAV/CalendarHome.php">
<InvalidClass occurrences="1">
<code>\Sabre\CalDAv\Notifications\Collection</code>
</InvalidClass>
<InvalidReturnStatement occurrences="5">
<code>$calendarPlugin-&gt;getCalendarInCalendarHome($this-&gt;principalInfo['uri'], $calendarUri)</code>
<code>new Inbox($this-&gt;caldavBackend, $this-&gt;principalInfo['uri'])</code>
<code>new Outbox($this-&gt;config, $this-&gt;principalInfo['uri'])</code>
<code>new Subscription($this-&gt;caldavBackend, $subscription)</code>
<code>new \Sabre\CalDAv\Notifications\Collection($this-&gt;caldavBackend, $this-&gt;principalInfo['uri'])</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>getChild</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="1">
<code>$calendarPlugin-&gt;getCalendarInCalendarHome($this-&gt;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-&gt;defaultUsernamePath</code>
</UndefinedPropertyAssignment>
</file>
<file src="apps/dav/lib/CalDAV/Plugin.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>string|null</code>
</ImplementedReturnTypeMismatch>
<UndefinedFunction occurrences="3">
<code>\Sabre\Uri\split($principalUrl)</code>
<code>\Sabre\Uri\split($principalUrl)</code>
<code>\Sabre\Uri\split($principalUrl)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/CalDAV/PublicCalendar.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$paths</code>
</MoreSpecificImplementedParamType>
</file>
<file src="apps/dav/lib/CalDAV/Publishing/PublishPlugin.php">
<InvalidOperand occurrences="2">
<code>$canPublish</code>
<code>$canShare</code>
</InvalidOperand>
</file>
<file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/AbstractProvider.php">
<UndefinedMethod occurrences="3">
<code>hasTime</code>
<code>isFloating</code>
<code>isFloating</code>
</UndefinedMethod>
</file>
<file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php">
<FalsableReturnStatement occurrences="4">
<code>$l10n-&gt;l('date', $dt, ['width' =&gt; 'medium'])</code>
<code>$l10n-&gt;l('datetime', $dt, ['width' =&gt; 'medium|short'])</code>
<code>$l10n-&gt;l('time', $dt, ['width' =&gt; 'short'])</code>
<code>$l10n-&gt;l('weekdayName', $dt, ['width' =&gt; 'abbreviated'])</code>
</FalsableReturnStatement>
<InvalidReturnStatement occurrences="5">
<code>$l10n-&gt;l('date', $dt, ['width' =&gt; 'medium'])</code>
<code>$l10n-&gt;l('datetime', $dt, ['width' =&gt; 'medium|short'])</code>
<code>$l10n-&gt;l('time', $dt, ['width' =&gt; 'short'])</code>
<code>$l10n-&gt;l('weekdayName', $dt, ['width' =&gt; 'abbreviated'])</code>
<code>[$organizerEMail =&gt; $name]</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="5">
<code>array|null</code>
<code>string</code>
<code>string</code>
<code>string</code>
<code>string</code>
</InvalidReturnType>
<UndefinedMethod occurrences="3">
<code>getDateTime</code>
<code>getDateTime</code>
<code>isFloating</code>
</UndefinedMethod>
</file>
<file src="apps/dav/lib/CalDAV/Reminder/Notifier.php">
<FalsableReturnStatement occurrences="4">
<code>$this-&gt;l10n-&gt;l('date', $dt, ['width' =&gt; 'medium'])</code>
<code>$this-&gt;l10n-&gt;l('datetime', $dt, ['width' =&gt; 'medium|short'])</code>
<code>$this-&gt;l10n-&gt;l('time', $dt, ['width' =&gt; 'short'])</code>
<code>$this-&gt;l10n-&gt;l('weekdayName', $dt, ['width' =&gt; 'abbreviated'])</code>
</FalsableReturnStatement>
<InvalidReturnStatement occurrences="4">
<code>$this-&gt;l10n-&gt;l('date', $dt, ['width' =&gt; 'medium'])</code>
<code>$this-&gt;l10n-&gt;l('datetime', $dt, ['width' =&gt; 'medium|short'])</code>
<code>$this-&gt;l10n-&gt;l('time', $dt, ['width' =&gt; 'short'])</code>
<code>$this-&gt;l10n-&gt;l('weekdayName', $dt, ['width' =&gt; 'abbreviated'])</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="4">
<code>string</code>
<code>string</code>
<code>string</code>
<code>string</code>
</InvalidReturnType>
</file>
<file src="apps/dav/lib/CalDAV/Reminder/ReminderService.php">
<UndefinedMethod occurrences="3">
<code>getDateInterval</code>
<code>getDateTime</code>
<code>getDateTime</code>
</UndefinedMethod>
<UndefinedPropertyFetch occurrences="1">
<code>$valarm-&gt;parent-&gt;UID</code>
</UndefinedPropertyFetch>
</file>
<file src="apps/dav/lib/CalDAV/ResourceBooking/AbstractPrincipalBackend.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>null|string</code>
</ImplementedReturnTypeMismatch>
<InvalidNullableReturnType occurrences="1">
<code>array</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1">
<code>$principals</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string[]</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="2">
<code>null</code>
<code>null</code>
</NullableReturnStatement>
<UndefinedFunction occurrences="2">
<code>\Sabre\Uri\split($path)</code>
<code>\Sabre\Uri\split($path)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/CalDAV/Schedule/IMipPlugin.php">
<ImplicitToStringCast occurrences="2">
<code>$vevent-&gt;LOCATION</code>
<code>$vevent-&gt;SUMMARY</code>
</ImplicitToStringCast>
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<InvalidScalarArgument occurrences="2">
<code>[$recipient =&gt; $recipientName]</code>
<code>[$sender =&gt; $senderName]</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="1">
<code>$lang-&gt;getValue()</code>
</NullableReturnStatement>
<UndefinedMethod occurrences="15">
<code>getDateTime</code>
<code>getDateTime</code>
<code>getDateTime</code>
<code>getDateTime</code>
<code>getDateTime</code>
<code>getDateTime</code>
<code>getDateTime</code>
<code>getDateTime</code>
<code>hasTime</code>
<code>hasTime</code>
<code>isFloating</code>
<code>isFloating</code>
<code>isFloating</code>
<code>setDateTime</code>
<code>setDateTime</code>
</UndefinedMethod>
<UndefinedPropertyFetch occurrences="1">
<code>$iTipMessage-&gt;message-&gt;VEVENT-&gt;SUMMARY</code>
</UndefinedPropertyFetch>
</file>
<file src="apps/dav/lib/CalDAV/Schedule/Plugin.php">
<InvalidArgument occurrences="2">
<code>[$aclPlugin, 'propFind']</code>
<code>[$aclPlugin, 'propFind']</code>
</InvalidArgument>
<UndefinedFunction occurrences="1">
<code>split($principalUrl)</code>
</UndefinedFunction>
<UndefinedInterfaceMethod occurrences="2">
<code>get</code>
<code>getChildren</code>
</UndefinedInterfaceMethod>
<UndefinedMethod occurrences="5">
<code>getDateTime</code>
<code>hasTime</code>
<code>isFloating</code>
<code>isFloating</code>
<code>principalSearch</code>
</UndefinedMethod>
</file>
<file src="apps/dav/lib/CalDAV/Search/SearchPlugin.php">
<InvalidNullableReturnType occurrences="1">
<code>bool</code>
</InvalidNullableReturnType>
</file>
<file src="apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php">
<InvalidReturnStatement occurrences="1"/>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
</file>
<file src="apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php">
<TypeDoesNotContainType occurrences="3">
<code>!is_array($newProps['filters']['comps'])</code>
<code>!is_array($newProps['filters']['params'])</code>
<code>!is_array($newProps['filters']['props'])</code>
</TypeDoesNotContainType>
</file>
<file src="apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php">
<InvalidArgument occurrences="1">
<code>$webcalData</code>
</InvalidArgument>
</file>
<file src="apps/dav/lib/CardDAV/AddressBookImpl.php">
<InvalidArgument occurrences="1">
<code>$id</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="2">
<code>$this-&gt;getKey()</code>
<code>$this-&gt;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>
<code>'\OCA\DAV\CardDAV\CardDavBackend::updateCard'</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="1">
<code>array</code>
</InvalidNullableReturnType>
<MoreSpecificImplementedParamType occurrences="1">
<code>$uris</code>
</MoreSpecificImplementedParamType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
<TooManyArguments occurrences="3">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
<TypeDoesNotContainType occurrences="1">
<code>$addressBooks[$row['id']][$readOnlyPropertyName] === 0</code>
</TypeDoesNotContainType>
<UndefinedFunction occurrences="2">
<code>\Sabre\Uri\split($principalUri)</code>
<code>\Sabre\Uri\split($row['principaluri'])</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/CardDAV/MultiGetExportPlugin.php">
<InvalidNullableReturnType occurrences="1">
<code>bool</code>
</InvalidNullableReturnType>
</file>
<file src="apps/dav/lib/CardDAV/PhotoCache.php">
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$type</code>
</NullableReturnStatement>
<UndefinedFunction occurrences="1">
<code>\Sabre\URI\parse($val)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/CardDAV/Plugin.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>string|null</code>
</ImplementedReturnTypeMismatch>
<UndefinedFunction occurrences="3">
<code>\Sabre\Uri\split($principal)</code>
<code>\Sabre\Uri\split($principal)</code>
<code>\Sabre\Uri\split($principal)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/CardDAV/SyncService.php">
<InvalidScalarArgument occurrences="1">
<code>$targetBookId</code>
</InvalidScalarArgument>
</file>
<file src="apps/dav/lib/CardDAV/SystemAddressbook.php">
<RedundantCondition occurrences="1">
<code>$shareEnumeration</code>
</RedundantCondition>
</file>
<file src="apps/dav/lib/CardDAV/UserAddressBooks.php">
<InvalidArgument occurrences="2">
<code>$this-&gt;principalUri</code>
<code>$this-&gt;principalUri</code>
</InvalidArgument>
</file>
<file src="apps/dav/lib/CardDAV/Xml/Groups.php">
<InvalidPropertyAssignmentValue occurrences="1">
<code>$groups</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="apps/dav/lib/Comments/CommentNode.php">
<InvalidNullableReturnType occurrences="1">
<code>int</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="apps/dav/lib/Comments/CommentsPlugin.php">
<InvalidScalarArgument occurrences="2">
<code>$args['datetime']</code>
<code>200</code>
</InvalidScalarArgument>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
<UndefinedFunction occurrences="1">
<code>\Sabre\HTTP\toDate($value)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/Comments/EntityCollection.php">
<InvalidArgument occurrences="1">
<code>$value</code>
</InvalidArgument>
</file>
<file src="apps/dav/lib/Comments/EntityTypeCollection.php">
<TypeDoesNotContainType occurrences="1">
<code>!is_string($name)</code>
</TypeDoesNotContainType>
</file>
<file src="apps/dav/lib/Comments/RootCollection.php">
<InvalidArgument occurrences="1">
<code>CommentsEntityEvent::EVENT_ENTITY</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="2">
<code>\Sabre\DAV\INode[]</code>
<code>int</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="2">
<code>$this-&gt;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-&gt;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-&gt;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-&gt;dirContent</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>\Sabre\DAV\INode[]</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="1">
<code>$e-&gt;getCode()</code>
</InvalidScalarArgument>
<NullArgument occurrences="3">
<code>null</code>
<code>null</code>
<code>null</code>
</NullArgument>
<ParamNameMismatch occurrences="1">
<code>$fullSourcePath</code>
</ParamNameMismatch>
<UndefinedFunction occurrences="1">
<code>\Sabre\Uri\split($sourceNode-&gt;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-&gt;path)</code>
</UndefinedFunction>
<UndefinedInterfaceMethod occurrences="1">
<code>writeStream</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/dav/lib/Connector/Sabre/FilesPlugin.php">
<UndefinedFunction occurrences="3">
<code>\Sabre\Uri\split($destination)</code>
<code>\Sabre\Uri\split($filePath)</code>
<code>\Sabre\Uri\split($source)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/Connector/Sabre/FilesReportPlugin.php">
<InvalidNullableReturnType occurrences="1">
<code>bool</code>
</InvalidNullableReturnType>
<InvalidScalarArgument occurrences="2">
<code>0</code>
<code>200</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="1">
<code>$resultFileIds</code>
</NullableReturnStatement>
<TooManyArguments occurrences="1">
<code>new PreconditionFailed('Cannot filter by non-existing tag', 0, $e)</code>
</TooManyArguments>
<UndefinedClass occurrences="1">
<code>\OCA\Circles\Api\v1\Circles</code>
</UndefinedClass>
<UndefinedInterfaceMethod occurrences="2">
<code>getById</code>
<code>getPath</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/dav/lib/Connector/Sabre/Node.php">
<InvalidArgument occurrences="1">
<code>$this</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="2">
<code>int</code>
<code>integer</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="2">
<code>$this-&gt;info-&gt;getId()</code>
<code>$this-&gt;info-&gt;getId()</code>
</NullableReturnStatement>
<UndefinedFunction occurrences="2">
<code>\Sabre\Uri\split($name)</code>
<code>\Sabre\Uri\split($this-&gt;path)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/Connector/Sabre/ObjectTree.php">
<UndefinedFunction occurrences="3">
<code>\Sabre\Uri\split($destinationPath)</code>
<code>\Sabre\Uri\split($destinationPath)</code>
<code>\Sabre\Uri\split($path)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/Connector/Sabre/Principal.php">
<InvalidNullableReturnType occurrences="1">
<code>array</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1">
<code>$principals</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string[]</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="8">
<code>$this-&gt;circleToPrincipal($name)</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
</NullableReturnStatement>
<UndefinedClass occurrences="2">
<code>\OCA\Circles\Api\v1\Circles</code>
<code>\OCA\Circles\Api\v1\Circles</code>
</UndefinedClass>
<UndefinedFunction occurrences="4">
<code>\Sabre\Uri\split($path)</code>
<code>\Sabre\Uri\split($prefix)</code>
<code>\Sabre\Uri\split($principal)</code>
<code>\Sabre\Uri\split($principal)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/Connector/Sabre/QuotaPlugin.php">
<UndefinedFunction occurrences="1">
<code>\Sabre\Uri\split($path)</code>
</UndefinedFunction>
<UndefinedInterfaceMethod occurrences="2">
<code>getPath</code>
<code>getPath</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/dav/lib/Connector/Sabre/ServerFactory.php">
<TooManyArguments occurrences="1">
<code>new \OCA\DAV\Connector\Sabre\QuotaPlugin($view, true)</code>
</TooManyArguments>
</file>
<file src="apps/dav/lib/Connector/Sabre/ShareTypeList.php">
<InvalidScalarArgument occurrences="1">
<code>$shareType</code>
</InvalidScalarArgument>
</file>
<file src="apps/dav/lib/Connector/Sabre/ShareeList.php">
<InvalidScalarArgument occurrences="1">
<code>$share-&gt;getShareType()</code>
</InvalidScalarArgument>
</file>
<file src="apps/dav/lib/Connector/Sabre/SharesPlugin.php">
<InvalidReturnStatement occurrences="1">
<code>$shares</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>array</code>
</InvalidReturnType>
<UndefinedFunction occurrences="1">
<code>\Sabre\Uri\split($sabreNode-&gt;getPath())</code>
</UndefinedFunction>
<UndefinedInterfaceMethod occurrences="5">
<code>getId</code>
<code>getId</code>
<code>getId</code>
<code>getPath</code>
<code>getPath</code>
</UndefinedInterfaceMethod>
<UndefinedPropertyAssignment occurrences="1">
<code>$server-&gt;xml-&gt;namespacesMap</code>
</UndefinedPropertyAssignment>
<UndefinedPropertyFetch occurrences="1">
<code>$server-&gt;xml-&gt;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-&gt;DTSTAMP</code>
</UndefinedPropertyAssignment>
<UndefinedPropertyFetch occurrences="1">
<code>$vEvent-&gt;{'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-&gt;enablePropfindDepthInfinityf</code>
</UndefinedThisPropertyAssignment>
</file>
<file src="apps/dav/lib/Files/BrowserErrorPagePlugin.php">
<InvalidScalarArgument occurrences="1">
<code>$body</code>
</InvalidScalarArgument>
</file>
<file src="apps/dav/lib/Files/FileSearchBackend.php">
<InvalidArgument occurrences="2">
<code>$argument</code>
<code>$operator-&gt;arguments</code>
</InvalidArgument>
<InvalidReturnStatement occurrences="1">
<code>$value</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>?string</code>
</InvalidReturnType>
<UndefinedDocblockClass occurrences="1">
<code>$operator-&gt;arguments[0]-&gt;name</code>
</UndefinedDocblockClass>
<UndefinedPropertyFetch occurrences="1">
<code>$operator-&gt;arguments[0]-&gt;name</code>
</UndefinedPropertyFetch>
</file>
<file src="apps/dav/lib/Files/FilesHome.php">
<UndefinedFunction occurrences="1">
<code>\Sabre\Uri\split($this-&gt;principalInfo['uri'])</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/Files/LazySearchBackend.php">
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;backend-&gt;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-&gt;usersToDelete</code>
<code>$this-&gt;usersToDelete</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="apps/dav/lib/RootCollection.php">
<UndefinedPropertyAssignment occurrences="1">
<code>$publicCalendarRoot-&gt;disableListing</code>
</UndefinedPropertyAssignment>
</file>
<file src="apps/dav/lib/Search/EventsSearchProvider.php">
<FalsableReturnStatement occurrences="1">
<code>$this-&gt;l10n-&gt;l('date', $startDateTime, ['width' =&gt; 'medium'])</code>
</FalsableReturnStatement>
<InvalidPropertyAssignmentValue occurrences="1"/>
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;l10n-&gt;l('date', $startDateTime, ['width' =&gt; 'medium'])</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
<UndefinedMethod occurrences="9">
<code>getDateTime</code>
<code>getDateTime</code>
<code>getDateTime</code>
<code>getDateTime</code>
<code>hasTime</code>
<code>isFloating</code>
<code>isFloating</code>
<code>setDateTime</code>
<code>setDateTime</code>
</UndefinedMethod>
</file>
<file src="apps/dav/lib/Search/TasksSearchProvider.php">
<UndefinedMethod occurrences="3">
<code>getDateTime</code>
<code>getDateTime</code>
<code>hasTime</code>
</UndefinedMethod>
</file>
<file src="apps/dav/lib/Server.php">
<InvalidArgument occurrences="2">
<code>'OCA\DAV\Connector\Sabre::addPlugin'</code>
<code>'OCA\DAV\Connector\Sabre::authInit'</code>
</InvalidArgument>
<TooManyArguments occurrences="3">
<code>dispatch</code>
<code>dispatch</code>
<code>new QuotaPlugin($view, false)</code>
</TooManyArguments>
<UndefinedPropertyAssignment occurrences="1">
<code>$acl-&gt;defaultUsernamePath</code>
</UndefinedPropertyAssignment>
</file>
<file src="apps/dav/lib/SystemTag/SystemTagsByIdCollection.php">
<InvalidNullableReturnType occurrences="1">
<code>int</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="apps/dav/lib/SystemTag/SystemTagsObjectMappingCollection.php">
<InvalidNullableReturnType occurrences="1">
<code>int</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="apps/dav/lib/SystemTag/SystemTagsObjectTypeCollection.php">
<InvalidNullableReturnType occurrences="1">
<code>int</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="apps/dav/lib/SystemTag/SystemTagsRelationsCollection.php">
<InvalidArgument occurrences="1">
<code>SystemTagsEntityEvent::EVENT_ENTITY</code>
</InvalidArgument>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="apps/dav/lib/Traits/PrincipalProxyTrait.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$members</code>
</MoreSpecificImplementedParamType>
<UndefinedFunction occurrences="9">
<code>\Sabre\Uri\split($member)</code>
<code>\Sabre\Uri\split($principal)</code>
<code>\Sabre\Uri\split($principal)</code>
<code>\Sabre\Uri\split($principalUri)</code>
<code>\Sabre\Uri\split($principalUri)</code>
<code>\Sabre\Uri\split($principalUri)</code>
<code>\Sabre\Uri\split($principalUri)</code>
<code>\Sabre\Uri\split($principalUri)</code>
<code>\Sabre\Uri\split($realPrincipalUri)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/Upload/AssemblyStream.php">
<FalsableReturnStatement occurrences="1">
<code>false</code>
</FalsableReturnStatement>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$this-&gt;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-&gt;principalInfo['uri'])</code>
</UndefinedFunction>
</file>
<file src="apps/encryption/lib/Command/ScanLegacyFormat.php">
<InvalidOperand occurrences="1">
<code>$result</code>
</InvalidOperand>
<RedundantCondition occurrences="1">
<code>$result</code>
</RedundantCondition>
</file>
<file src="apps/encryption/lib/Crypto/Crypt.php">
<RedundantCondition occurrences="1">
<code>$userSession</code>
</RedundantCondition>
</file>
<file src="apps/encryption/lib/Crypto/EncryptAll.php">
<InvalidArgument occurrences="1">
<code>[$to =&gt; $recipientDisplayName]</code>
</InvalidArgument>
<UndefinedInterfaceMethod occurrences="3">
<code>setHtmlBody</code>
<code>setPlainBody</code>
<code>setSubject</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/encryption/lib/Crypto/Encryption.php">
<FalsableReturnStatement occurrences="1">
<code>$result</code>
</FalsableReturnStatement>
<ImplementedParamTypeMismatch occurrences="2">
<code>$position</code>
<code>$position</code>
</ImplementedParamTypeMismatch>
<InvalidNullableReturnType occurrences="1">
<code>boolean</code>
</InvalidNullableReturnType>
</file>
<file src="apps/encryption/lib/KeyManager.php">
<InvalidScalarArgument occurrences="3">
<code>time()</code>
<code>time()</code>
<code>time()</code>
</InvalidScalarArgument>
<InvalidThrow occurrences="1">
<code>throw $exception;</code>
</InvalidThrow>
<RedundantCondition occurrences="2">
<code>$encryptedFileKey</code>
<code>$userSession</code>
</RedundantCondition>
</file>
<file src="apps/encryption/lib/Recovery.php">
<InvalidScalarArgument occurrences="3">
<code>0</code>
<code>0</code>
<code>1</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="1">
<code>$userSession</code>
</RedundantCondition>
</file>
<file src="apps/encryption/lib/Session.php">
<TooManyArguments occurrences="1">
<code>new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0)</code>
</TooManyArguments>
</file>
<file src="apps/encryption/lib/Util.php">
<RedundantCondition occurrences="1">
<code>$userSession</code>
</RedundantCondition>
</file>
<file src="apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php">
<TooFewArguments occurrences="1"/>
</file>
<file src="apps/federatedfilesharing/lib/Controller/RequestHandlerController.php">
<InvalidScalarArgument occurrences="7">
<code>$id</code>
<code>$id</code>
<code>$id</code>
<code>$id</code>
<code>$id</code>
<code>$id</code>
<code>$remoteId</code>
</InvalidScalarArgument>
<TypeDoesNotContainNull occurrences="3">
<code>$permission === null</code>
<code>$remoteId === null</code>
</TypeDoesNotContainNull>
</file>
<file src="apps/federatedfilesharing/lib/FederatedShareProvider.php">
<InvalidArrayAccess occurrences="2">
<code>$remoteId</code>
<code>$token</code>
</InvalidArrayAccess>
<InvalidArrayOffset occurrences="1">
<code>list($token, $remoteId)</code>
</InvalidArrayOffset>
<InvalidReturnStatement occurrences="1">
<code>$shares</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>getSharesInFolder</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="6">
<code>$share-&gt;getId()</code>
<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">
<InvalidReturnStatement occurrences="2">
<code>[$ocmResult['token'], $ocmResult['providerId']]</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="4">
<code>bool</code>
<code>bool</code>
<code>bool</code>
<code>bool</code>
</InvalidReturnType>
</file>
<file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php">
<InvalidReturnStatement occurrences="1">
<code>$shareId</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="7">
<code>$id</code>
<code>$id</code>
<code>$id</code>
<code>$id</code>
<code>$id</code>
<code>$remoteId</code>
<code>(int)$share['id']</code>
</InvalidScalarArgument>
</file>
<file src="apps/federatedfilesharing/lib/Settings/Personal.php">
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="apps/federation/lib/TrustedServers.php">
<InvalidArgument occurrences="1">
<code>'OCP\Federation\TrustedServerEvent::remove'</code>
</InvalidArgument>
<InvalidClass occurrences="1">
<code>dbHandler</code>
</InvalidClass>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="apps/files/ajax/download.php">
<InvalidArgument occurrences="1">
<code>$files_list</code>
</InvalidArgument>
</file>
<file src="apps/files/ajax/list.php">
<TypeDoesNotContainType occurrences="1">
<code>!$dirInfo-&gt;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-&gt;fileEncrypted[$fileId]</code>
</FalsableReturnStatement>
<InvalidScalarArgument occurrences="1">
<code>$id</code>
</InvalidScalarArgument>
<TypeDoesNotContainType occurrences="7">
<code>$this-&gt;fileIsEncrypted</code>
<code>$this-&gt;fileIsEncrypted</code>
<code>$this-&gt;fileIsEncrypted</code>
<code>$this-&gt;fileIsEncrypted</code>
<code>$this-&gt;fileIsEncrypted</code>
<code>$this-&gt;fileIsEncrypted</code>
<code>$this-&gt;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">
<InvalidReturnStatement occurrences="1">
<code>$connection</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>\OCP\IDBConnection</code>
</InvalidReturnType>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="apps/files/lib/Command/ScanAppData.php">
<InvalidReturnStatement occurrences="1">
<code>$connection</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>\OCP\IDBConnection</code>
</InvalidReturnType>
<NullArgument occurrences="2">
<code>null</code>
<code>null</code>
</NullArgument>
</file>
<file src="apps/files/lib/Command/TransferOwnership.php">
<InvalidReturnStatement occurrences="1">
<code>$e-&gt;getCode() !== 0 ? $e-&gt;getCode() : 1</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>int</code>
</InvalidReturnType>
</file>
<file src="apps/files/lib/Controller/DirectEditingController.php">
<InvalidArgument occurrences="1">
<code>$templateId</code>
</InvalidArgument>
<UndefinedInterfaceMethod occurrences="2">
<code>getTemplates</code>
<code>open</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files/lib/Controller/ViewController.php">
<InvalidScalarArgument occurrences="1">
<code>$fileId</code>
</InvalidScalarArgument>
<UndefinedInterfaceMethod occurrences="3">
<code>getById</code>
<code>getRelativePath</code>
<code>getRelativePath</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files/lib/Helper.php">
<UndefinedInterfaceMethod occurrences="13">
<code>$file</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php">
<InvalidArgument occurrences="1">
<code>$legacyEvent</code>
</InvalidArgument>
</file>
<file src="apps/files/lib/Service/DirectEditingService.php">
<UndefinedInterfaceMethod occurrences="1">
<code>getEditors</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files/lib/Service/OwnershipTransferService.php">
<InvalidIterator occurrences="1">
<code>$encryptedFiles</code>
</InvalidIterator>
<TypeDoesNotContainType occurrences="1">
<code>empty($encryptedFiles)</code>
</TypeDoesNotContainType>
<UndefinedInterfaceMethod occurrences="1">
<code>isReadyForUser</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files/lib/Service/TagService.php">
<InvalidArgument occurrences="1">
<code>self::class . '::' . $eventName</code>
</InvalidArgument>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="apps/files_external/appinfo/routes.php">
<InvalidScope occurrences="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-&gt;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-&gt;getCode()</code>
<code>$status</code>
</InvalidScalarArgument>
</file>
<file src="apps/files_external/lib/Config/ConfigAdapter.php">
<UndefinedClass occurrences="1">
<code>new $objectClass($objectStore)</code>
</UndefinedClass>
</file>
<file src="apps/files_external/lib/Controller/StoragesController.php">
<InvalidScalarArgument occurrences="4">
<code>$e-&gt;getCode()</code>
<code>$status</code>
<code>$this-&gt;service-&gt;getVisibilityType()</code>
<code>$this-&gt;service-&gt;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-&gt;deprecateTo</code>
<code>IdentifierTrait</code>
</UndefinedDocblockClass>
</file>
<file src="apps/files_external/lib/Lib/LegacyDependencyCheckPolyfill.php">
<TooManyArguments occurrences="1">
<code>new MissingDependency($module, $this)</code>
</TooManyArguments>
</file>
<file src="apps/files_external/lib/Lib/PriorityTrait.php">
<UndefinedClass occurrences="2">
<code>PriorityTrait</code>
<code>PriorityTrait</code>
</UndefinedClass>
</file>
<file src="apps/files_external/lib/Lib/Storage/AmazonS3.php">
<UndefinedMagicMethod occurrences="1">
<code>clearBucket</code>
</UndefinedMagicMethod>
</file>
<file src="apps/files_external/lib/Lib/Storage/SFTP.php">
<InternalMethod occurrences="1">
<code>put</code>
</InternalMethod>
<ParamNameMismatch occurrences="2">
<code>$source</code>
<code>$target</code>
</ParamNameMismatch>
</file>
<file src="apps/files_external/lib/Lib/Storage/SFTPReadStream.php">
<FalsableReturnStatement occurrences="2">
<code>false</code>
<code>false</code>
</FalsableReturnStatement>
<InvalidArgument occurrences="2">
<code>$this-&gt;handle</code>
<code>$this-&gt;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-&gt;handle</code>
<code>$this-&gt;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-&gt;getCode()</code>
<code>$e-&gt;getCode()</code>
<code>$e-&gt;getCode()</code>
<code>$e-&gt;getCode()</code>
<code>$e-&gt;getCode()</code>
<code>$e-&gt;getCode()</code>
<code>$e-&gt;getCode()</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
<ParamNameMismatch occurrences="2">
<code>$source</code>
<code>$target</code>
</ParamNameMismatch>
<TooManyArguments occurrences="2">
<code>rename</code>
<code>rename</code>
</TooManyArguments>
</file>
<file src="apps/files_external/lib/Lib/Storage/Swift.php">
<InvalidArgument occurrences="1">
<code>$object-&gt;lastModified</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="2">
<code>filetype</code>
<code>fopen</code>
</InvalidNullableReturnType>
</file>
<file src="apps/files_external/lib/Migration/DummyUserSession.php">
<InvalidReturnType occurrences="1">
<code>login</code>
</InvalidReturnType>
</file>
<file src="apps/files_external/lib/MountConfig.php">
<InternalMethod occurrences="4">
<code>decrypt</code>
<code>encrypt</code>
<code>setIV</code>
<code>setIV</code>
</InternalMethod>
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$message</code>
</NullableReturnStatement>
<TooManyArguments occurrences="1">
<code>test</code>
</TooManyArguments>
<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-&gt;getVisibilityType()</code>
<code>$this-&gt;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>
<InvalidReturnStatement occurrences="2">
<code>$entry</code>
<code>$this-&gt;formatCacheEntry(clone $this-&gt;sourceRootInfo, '')</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>formatCacheEntry</code>
<code>get</code>
</InvalidReturnType>
<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/DeletedShareAPIController.php">
<UndefinedDocblockClass occurrences="2">
<code>$this-&gt;getRoomShareHelper()</code>
<code>\OCA\Talk\Share\Helper\DeletedShareAPIController</code>
</UndefinedDocblockClass>
</file>
<file src="apps/files_sharing/lib/Controller/ShareAPIController.php">
<InvalidScalarArgument occurrences="3">
<code>$code</code>
<code>$code</code>
<code>Constants::PERMISSION_ALL</code>
</InvalidScalarArgument>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
<TypeDoesNotContainType occurrences="1">
<code>$date === false</code>
</TypeDoesNotContainType>
<UndefinedClass occurrences="2">
<code>\OCA\Circles\Api\v1\Circles</code>
<code>\OCA\Circles\Api\v1\Circles</code>
</UndefinedClass>
<UndefinedDocblockClass occurrences="4">
<code>$this-&gt;getRoomShareHelper()</code>
<code>$this-&gt;getRoomShareHelper()</code>
<code>$this-&gt;getRoomShareHelper()</code>
<code>\OCA\Talk\Share\Helper\ShareAPIController</code>
</UndefinedDocblockClass>
</file>
<file src="apps/files_sharing/lib/Controller/ShareController.php">
<InvalidArgument occurrences="1">
<code>$files_list</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="3">
<code>$freeSpace</code>
<code>$maxUploadFilesize</code>
<code>$maxUploadFilesize</code>
</InvalidScalarArgument>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="apps/files_sharing/lib/Controller/ShareInfoController.php">
<NullArgument occurrences="1">
<code>$password</code>
</NullArgument>
</file>
<file src="apps/files_sharing/lib/External/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">
<InvalidNullableReturnType occurrences="2">
<code>array</code>
<code>scan</code>
</InvalidNullableReturnType>
<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-&gt;getPermissions($path) &amp; 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-&gt;getMessage()</code>
</InvalidArgument>
<InvalidReturnStatement occurrences="1">
<code>new JSONResponse($exception-&gt;getMessage(), 405)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>NotFoundResponse</code>
</InvalidReturnType>
</file>
<file src="apps/files_sharing/lib/Scanner.php">
<InvalidNullableReturnType occurrences="1">
<code>array</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="apps/files_sharing/lib/ShareBackend/File.php">
<InvalidScalarArgument occurrences="2">
<code>$itemSource</code>
<code>$itemSource</code>
</InvalidScalarArgument>
<MoreSpecificImplementedParamType occurrences="1">
<code>$shareWith</code>
</MoreSpecificImplementedParamType>
</file>
<file src="apps/files_sharing/lib/ShareBackend/Folder.php">
<UndefinedInterfaceMethod occurrences="1">
<code>fetchRow</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files_sharing/lib/SharedMount.php">
<InvalidReturnType occurrences="1">
<code>bool</code>
</InvalidReturnType>
</file>
<file src="apps/files_sharing/lib/SharedStorage.php">
<FalsableReturnStatement occurrences="5">
<code>$this-&gt;nonMaskedStorage-&gt;fopen($this-&gt;getUnjailedPath($path), $mode)</code>
<code>$this-&gt;sourceRootInfo</code>
<code>false</code>
<code>false</code>
<code>false</code>
</FalsableReturnStatement>
<InvalidNullableReturnType occurrences="1">
<code>ICacheEntry</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="5">
<code>$this-&gt;getPermissions($path) &amp; \OCP\Constants::PERMISSION_CREATE</code>
<code>$this-&gt;getPermissions($path) &amp; \OCP\Constants::PERMISSION_DELETE</code>
<code>$this-&gt;getPermissions($path) &amp; \OCP\Constants::PERMISSION_SHARE</code>
<code>$this-&gt;getPermissions($path) &amp; \OCP\Constants::PERMISSION_UPDATE</code>
<code>new FailedCache()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="4">
<code>isCreatable</code>
<code>isDeletable</code>
<code>isSharable</code>
<code>isUpdatable</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="1">
<code>$this-&gt;sourceRootInfo</code>
</NullableReturnStatement>
<TooManyArguments occurrences="1">
<code>new \OCA\Files_Sharing\Cache($storage, $sourceRoot, $this-&gt;superShare)</code>
</TooManyArguments>
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&gt;mountOptions</code>
</UndefinedThisPropertyAssignment>
</file>
<file src="apps/files_sharing/lib/Updater.php">
<UndefinedMethod occurrences="1">
<code>moveMount</code>
</UndefinedMethod>
</file>
<file src="apps/files_sharing/list.php">
<InvalidArgument occurrences="1">
<code>'\OCP\Collaboration\Resources::loadAdditionalScripts'</code>
</InvalidArgument>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="apps/files_trashbin/lib/Sabre/AbstractTrash.php">
<InvalidNullableReturnType occurrences="1">
<code>int</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$this-&gt;data-&gt;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-&gt;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-&gt;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-&gt;principalInfo['uri'])</code>
</UndefinedFunction>
</file>
<file src="apps/files_versions/lib/Storage.php">
<InvalidArgument occurrences="1">
<code>'OCA\Files_Versions::createVersion'</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="1">
<code>$timestamp</code>
</InvalidScalarArgument>
<TooManyArguments occurrences="2">
<code>dispatch</code>
<code>getURLGenerator</code>
</TooManyArguments>
</file>
<file src="apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php">
<InvalidArrayOffset occurrences="10">
<code>$publicData[IAccountManager::PROPERTY_ADDRESS]['value']</code>
<code>$publicData[IAccountManager::PROPERTY_DISPLAYNAME]['value']</code>
<code>$publicData[IAccountManager::PROPERTY_EMAIL]['value']</code>
<code>$publicData[IAccountManager::PROPERTY_PHONE]['value']</code>
<code>$publicData[IAccountManager::PROPERTY_TWITTER]['signature']</code>
<code>$publicData[IAccountManager::PROPERTY_TWITTER]['value']</code>
<code>$publicData[IAccountManager::PROPERTY_TWITTER]['verified']</code>
<code>$publicData[IAccountManager::PROPERTY_WEBSITE]['signature']</code>
<code>$publicData[IAccountManager::PROPERTY_WEBSITE]['value']</code>
<code>$publicData[IAccountManager::PROPERTY_WEBSITE]['verified']</code>
</InvalidArrayOffset>
<InvalidScalarArgument occurrences="1">
<code>$this-&gt;retries + 1</code>
</InvalidScalarArgument>
</file>
<file src="apps/oauth2/lib/Controller/OauthApiController.php">
<NoInterfaceProperties occurrences="1">
<code>$this-&gt;request-&gt;server</code>
</NoInterfaceProperties>
</file>
<file src="apps/oauth2/lib/Controller/SettingsController.php">
<UndefinedMagicMethod occurrences="4">
<code>getClientIdentifier</code>
<code>getName</code>
<code>getRedirectUri</code>
<code>getSecret</code>
</UndefinedMagicMethod>
</file>
<file src="apps/oauth2/lib/Db/AccessTokenMapper.php">
<InvalidCatch occurrences="1"/>
</file>
<file src="apps/oauth2/lib/Db/ClientMapper.php">
<InvalidCatch occurrences="2"/>
</file>
<file src="apps/provisioning_api/lib/Controller/UsersController.php">
<InvalidScalarArgument occurrences="1">
<code>$quota</code>
</InvalidScalarArgument>
<TypeDoesNotContainNull occurrences="2">
<code>$groupid === null</code>
<code>$groupid === null</code>
</TypeDoesNotContainNull>
<UndefinedInterfaceMethod occurrences="1">
<code>getSubAdmin</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/settings/lib/AppInfo/Application.php">
<InvalidScalarArgument occurrences="1">
<code>\OC_User::getUser()</code>
</InvalidScalarArgument>
<UndefinedInterfaceMethod occurrences="1">
<code>getSettingsManager</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/settings/lib/Controller/AppSettingsController.php">
<UndefinedInterfaceMethod occurrences="1">
<code>ignoreNextcloudRequirementForApp</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/settings/lib/Controller/CheckSetupController.php">
<InvalidArgument occurrences="3">
<code>IDBConnection::CHECK_MISSING_COLUMNS_EVENT</code>
<code>IDBConnection::CHECK_MISSING_INDEXES_EVENT</code>
<code>IDBConnection::CHECK_MISSING_PRIMARY_KEYS_EVENT</code>
</InvalidArgument>
<InvalidOperand occurrences="1">
<code>$lastCronRun</code>
</InvalidOperand>
<InvalidReturnStatement occurrences="2">
<code>$response</code>
<code>new DataDisplayResponse('Integrity checker has been disabled. Integrity cannot be verified.')</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>DataResponse</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="2">
<code>$lastCronRun</code>
<code>0</code>
</InvalidScalarArgument>
<TooManyArguments occurrences="3">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="apps/settings/lib/Hooks.php">
<InvalidArgument occurrences="1">
<code>[$user-&gt;getEMailAddress() =&gt; $user-&gt;getDisplayName()]</code>
</InvalidArgument>
</file>
<file src="apps/settings/lib/Mailer/NewUserMailHelper.php">
<InvalidArgument occurrences="1">
<code>[$user-&gt;getEMailAddress() =&gt; $user-&gt;getDisplayName()]</code>
</InvalidArgument>
</file>
<file src="apps/settings/lib/Settings/Admin/Security.php">
<UndefinedInterfaceMethod occurrences="1">
<code>isReady</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/settings/lib/Settings/Admin/Sharing.php">
<InvalidScalarArgument occurrences="1">
<code>Constants::PERMISSION_ALL</code>
</InvalidScalarArgument>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="apps/settings/lib/Settings/Personal/Additional.php">
<InvalidReturnStatement occurrences="1">
<code>'5'</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>int</code>
</InvalidReturnType>
</file>
<file src="apps/settings/lib/Settings/Personal/PersonalInfo.php">
<InvalidScalarArgument occurrences="1">
<code>$uid</code>
</InvalidScalarArgument>
<UndefinedInterfaceMethod occurrences="1">
<code>getLanguages</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/settings/lib/Settings/Personal/Security/WebAuthn.php">
<InvalidNullableReturnType occurrences="1">
<code>?string</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="apps/settings/lib/Settings/Personal/ServerDevNotice.php">
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="apps/sharebymail/lib/ShareByMailProvider.php">
<InvalidReturnStatement occurrences="1">
<code>$shares</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>getSharesInFolder</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="4">
<code>$share-&gt;getId()</code>
<code>$shareId</code>
<code>$shareId</code>
<code>(int)$data['id']</code>
</InvalidScalarArgument>
</file>
<file src="apps/systemtags/lib/Activity/Listener.php">
<InvalidScalarArgument occurrences="2">
<code>$event-&gt;getObjectId()</code>
<code>$event-&gt;getObjectId()</code>
</InvalidScalarArgument>
</file>
<file src="apps/testing/lib/Controller/LockingController.php">
<InvalidScalarArgument occurrences="5">
<code>$this-&gt;config-&gt;getAppValue('testing', $lock)</code>
<code>$this-&gt;config-&gt;getAppValue('testing', $lock)</code>
<code>$this-&gt;config-&gt;getAppValue('testing', $lock)</code>
<code>$type</code>
<code>$type</code>
</InvalidScalarArgument>
</file>
<file src="apps/theming/lib/Controller/IconController.php">
<InvalidReturnStatement occurrences="1">
<code>$response</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>FileDisplayResponse|NotFoundResponse</code>
</InvalidReturnType>
<RedundantCondition occurrences="3">
<code>$iconFile !== false</code>
<code>$iconFile !== false</code>
<code>$iconFile !== false</code>
</RedundantCondition>
</file>
<file src="apps/theming/lib/IconBuilder.php">
<InvalidScalarArgument occurrences="2">
<code>$offset_h</code>
<code>$offset_w</code>
</InvalidScalarArgument>
</file>
<file src="apps/theming/lib/ImageManager.php">
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
</file>
<file src="apps/theming/lib/ThemingDefaults.php">
<InvalidReturnStatement occurrences="1">
<code>\OCP\Util::sanitizeHTML($this-&gt;config-&gt;getAppValue('theming', 'slogan', parent::getSlogan($lang)))</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>getSlogan</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="1">
<code>(int)$cacheBusterKey + 1</code>
</InvalidScalarArgument>
</file>
<file src="apps/theming/lib/Util.php">
<InvalidReturnStatement occurrences="1">
<code>0</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>int[]</code>
</InvalidReturnType>
<RedundantCondition occurrences="1">
<code>$folder !== null</code>
</RedundantCondition>
</file>
<file src="apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php">
<InvalidPropertyAssignmentValue occurrences="1">
<code>$registry</code>
</InvalidPropertyAssignmentValue>
<UndefinedMethod occurrences="1">
<code>getProviderStates</code>
</UndefinedMethod>
</file>
<file src="apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php">
<InvalidArgument occurrences="1">
<code>bool</code>
</InvalidArgument>
</file>
<file src="apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php">
<InvalidArgument occurrences="1">
<code>bool</code>
</InvalidArgument>
</file>
<file src="apps/updatenotification/lib/Controller/AdminController.php">
<InvalidScalarArgument occurrences="2">
<code>$this-&gt;timeFactory-&gt;getTime()</code>
<code>0</code>
</InvalidScalarArgument>
</file>
<file src="apps/updatenotification/lib/Notification/BackgroundJob.php">
<InvalidPropertyAssignmentValue occurrences="1">
<code>$this-&gt;users</code>
</InvalidPropertyAssignmentValue>
<InvalidScalarArgument occurrences="3">
<code>$errors</code>
<code>0</code>
<code>0</code>
</InvalidScalarArgument>
</file>
<file src="apps/updatenotification/lib/Notification/Notifier.php">
<InvalidScalarArgument occurrences="1">
<code>0</code>
</InvalidScalarArgument>
</file>
<file src="apps/updatenotification/lib/ResetTokenBackgroundJob.php">
<InvalidOperand occurrences="1">
<code>$this-&gt;config-&gt;getAppValue('core', 'updater.secret.created', $this-&gt;timeFactory-&gt;getTime())</code>
</InvalidOperand>
<InvalidScalarArgument occurrences="1">
<code>$this-&gt;timeFactory-&gt;getTime()</code>
</InvalidScalarArgument>
</file>
<file src="apps/updatenotification/lib/Settings/Admin.php">
<InvalidScalarArgument occurrences="1">
<code>$lastUpdateCheckTimestamp</code>
</InvalidScalarArgument>
</file>
<file src="apps/user_ldap/ajax/getNewServerConfigPrefix.php">
<InvalidScalarArgument occurrences="1">
<code>$ln + 1</code>
</InvalidScalarArgument>
</file>
<file src="apps/user_ldap/appinfo/routes.php">
<InvalidScope occurrences="1">
<code>$this</code>
</InvalidScope>
</file>
<file src="apps/user_ldap/lib/Access.php">
<FalsableReturnStatement occurrences="1">
<code>$this-&gt;countUsers($filter)</code>
</FalsableReturnStatement>
<InvalidArgument occurrences="1">
<code>$record</code>
</InvalidArgument>
<InvalidReturnStatement occurrences="2">
<code>$uuid</code>
<code>$values</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string[]</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="4">
<code>$e-&gt;getCode()</code>
<code>$key</code>
<code>$key</code>
<code>[$attr =&gt; $result['values']]</code>
</InvalidScalarArgument>
<NullArgument occurrences="1">
<code>$cookie</code>
</NullArgument>
<RedundantCondition occurrences="4">
<code>!is_null($limit)</code>
<code>!isset($ldapName[0]) &amp;&amp; empty($ldapName[0])</code>
<code>$limit === 0</code>
<code>is_array($result)</code>
</RedundantCondition>
<TypeDoesNotContainNull occurrences="2">
<code>!$attribute === null</code>
<code>is_null($findings)</code>
</TypeDoesNotContainNull>
<TypeDoesNotContainType occurrences="2">
<code>!is_null($attr) &amp;&amp; !is_array($attr)</code>
<code>isset($ldapRecord[$this-&gt;connection-&gt;$uuidAttr])</code>
</TypeDoesNotContainType>
<UndefinedVariable occurrences="1">
<code>$uidsByDn</code>
</UndefinedVariable>
</file>
<file src="apps/user_ldap/lib/AppInfo/Application.php">
<InvalidArgument occurrences="1">
<code>'OCA\\User_LDAP\\User\\User::postLDAPBackendAdded'</code>
</InvalidArgument>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="apps/user_ldap/lib/Configuration.php">
<InvalidScalarArgument occurrences="1">
<code>time()</code>
</InvalidScalarArgument>
</file>
<file src="apps/user_ldap/lib/Connection.php">
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<InvalidScalarArgument occurrences="2">
<code>LDAP_OPT_PROTOCOL_VERSION</code>
<code>LDAP_OPT_REFERRALS</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
<ParadoxicalCondition occurrences="1"/>
</file>
<file src="apps/user_ldap/lib/Group_LDAP.php">
<InvalidArgument occurrences="3">
<code>$this-&gt;cachedGroupMembers[$gid]</code>
<code>$this-&gt;cachedGroupsByMember[$uid]</code>
<code>'dn'</code>
</InvalidArgument>
<InvalidPropertyAssignmentValue occurrences="6">
<code>$this-&gt;cachedGroupMembers</code>
<code>$this-&gt;cachedGroupsByMember</code>
<code>$this-&gt;cachedNestedGroups</code>
<code>new CappedMemoryCache()</code>
<code>new CappedMemoryCache()</code>
<code>new CappedMemoryCache()</code>
</InvalidPropertyAssignmentValue>
<InvalidReturnStatement occurrences="1">
<code>$groupName</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>bool</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="2">
<code>$groupID</code>
<code>$groupID</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="2">
<code>is_array($groupDNs)</code>
<code>is_array($list)</code>
</RedundantCondition>
<TypeDoesNotContainType occurrences="1">
<code>!is_array($members)</code>
</TypeDoesNotContainType>
</file>
<file src="apps/user_ldap/lib/Helper.php">
<InvalidScalarArgument occurrences="1">
<code>$lastNumber + 1</code>
</InvalidScalarArgument>
</file>
<file src="apps/user_ldap/lib/ILDAPWrapper.php">
<UndefinedDocblockClass occurrences="1">
<code>Resource</code>
</UndefinedDocblockClass>
</file>
<file src="apps/user_ldap/lib/Jobs/CleanUp.php">
<InvalidScalarArgument occurrences="3">
<code>$newOffset</code>
<code>0</code>
<code>50</code>
</InvalidScalarArgument>
</file>
<file src="apps/user_ldap/lib/Jobs/Sync.php">
<InvalidOperand occurrences="2">
<code>$i</code>
<code>$lastChange</code>
</InvalidOperand>
<InvalidScalarArgument occurrences="5">
<code>$interval</code>
<code>0</code>
<code>0</code>
<code>self::MIN_INTERVAL</code>
</InvalidScalarArgument>
<MoreSpecificImplementedParamType occurrences="1">
<code>$argument</code>
</MoreSpecificImplementedParamType>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="apps/user_ldap/lib/Jobs/UpdateGroups.php">
<InvalidReturnStatement occurrences="1">
<code>\OC::$server-&gt;getConfig()-&gt;getAppValue('user_ldap', 'bgjRefreshInterval', 3600)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>int</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="1">
<code>3600</code>
</InvalidScalarArgument>
</file>
<file src="apps/user_ldap/lib/LDAP.php">
<ImplementedParamTypeMismatch occurrences="22">
<code>$baseDN</code>
<code>$baseDN</code>
<code>$link</code>
<code>$link</code>
<code>$link</code>
<code>$link</code>
<code>$link</code>
<code>$link</code>
<code>$link</code>
<code>$link</code>
<code>$link</code>
<code>$link</code>
<code>$link</code>
<code>$link</code>
<code>$link</code>
<code>$link</code>
<code>$resource</code>
<code>$result</code>
<code>$result</code>
<code>$result</code>
<code>$result</code>
<code>$result</code>
</ImplementedParamTypeMismatch>
<InvalidArgument occurrences="1">
<code>$baseDN</code>
</InvalidArgument>
<LessSpecificImplementedReturnType occurrences="13">
<code>array|mixed</code>
<code>array|mixed</code>
<code>bool|mixed</code>
<code>bool|mixed</code>
<code>bool|mixed</code>
<code>mixed</code>
<code>mixed</code>
<code>mixed</code>
<code>mixed</code>
<code>mixed</code>
<code>mixed|string</code>
<code>mixed|true</code>
<code>mixed|true</code>
</LessSpecificImplementedReturnType>
<UndefinedDocblockClass occurrences="1">
<code>Resource</code>
</UndefinedDocblockClass>
</file>
<file src="apps/user_ldap/lib/LogWrapper.php">
<InvalidReturnType occurrences="1">
<code>bool</code>
</InvalidReturnType>
</file>
<file src="apps/user_ldap/lib/Mapping/AbstractMapping.php">
<InvalidOperand occurrences="1">
<code>$result</code>
</InvalidOperand>
</file>
<file src="apps/user_ldap/lib/Proxy.php">
<InvalidDocblock occurrences="1">
<code>protected function handleRequest($id, $method, $parameters, $passOnWhen = false) {</code>
</InvalidDocblock>
</file>
<file src="apps/user_ldap/lib/User/Manager.php">
<InvalidDocblock occurrences="1">
<code>public function setLdapAccess(Access $access) {</code>
</InvalidDocblock>
</file>
<file src="apps/user_ldap/lib/User/User.php">
<FalsableReturnStatement occurrences="1">
<code>$this-&gt;avatarImage</code>
</FalsableReturnStatement>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$this-&gt;refreshedFeatures</code>
</InvalidPropertyAssignmentValue>
<InvalidReturnType occurrences="2">
<code>null</code>
<code>null</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="3">
<code>$this-&gt;getHomePath($ldapEntry[$attr][0])</code>
<code>1</code>
<code>true</code>
</InvalidScalarArgument>
</file>
<file src="apps/user_ldap/lib/User_LDAP.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>string|false</code>
</ImplementedReturnTypeMismatch>
<InvalidScalarArgument occurrences="3">
<code>$limit</code>
<code>$offset</code>
<code>$path</code>
</InvalidScalarArgument>
<MoreSpecificImplementedParamType occurrences="2">
<code>$limit</code>
<code>$offset</code>
</MoreSpecificImplementedParamType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="apps/user_ldap/lib/User_Proxy.php">
<InvalidReturnStatement occurrences="1">
<code>$users</code>
</InvalidReturnStatement>
</file>
<file src="apps/user_ldap/lib/Wizard.php">
<FalsableReturnStatement occurrences="2">
<code>false</code>
<code>false</code>
</FalsableReturnStatement>
<InvalidArgument occurrences="4">
<code>$attributes</code>
<code>$er</code>
<code>$er</code>
<code>$er</code>
</InvalidArgument>
<InvalidDocblock occurrences="3">
<code>private function checkAgentRequirements() {</code>
<code>private function detectGroupMemberAssoc() {</code>
<code>private function getAttributeValuesFromEntry($result, $attribute, &amp;$known) {</code>
</InvalidDocblock>
<InvalidScalarArgument occurrences="8">
<code>$port</code>
<code>$port</code>
<code>LDAP_OPT_NETWORK_TIMEOUT</code>
<code>LDAP_OPT_NETWORK_TIMEOUT</code>
<code>LDAP_OPT_PROTOCOL_VERSION</code>
<code>LDAP_OPT_PROTOCOL_VERSION</code>
<code>LDAP_OPT_REFERRALS</code>
<code>LDAP_OPT_REFERRALS</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="1">
<code>!isset($item['cn']) &amp;&amp; !is_array($item['cn'])</code>
</RedundantCondition>
<TypeDoesNotContainType occurrences="1">
<code>$total === false</code>
</TypeDoesNotContainType>
</file>
<file src="apps/user_status/lib/AppInfo/Application.php">
<UndefinedInterfaceMethod occurrences="1">
<code>registerProvider</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/user_status/lib/Db/UserStatusMapper.php">
<MoreSpecificImplementedParamType occurrences="1"/>
</file>
<file src="apps/user_status/lib/Service/StatusService.php">
<MismatchingDocblockParamType occurrences="1">
<code>string|null</code>
</MismatchingDocblockParamType>
</file>
<file src="apps/workflowengine/lib/Check/AbstractStringCheck.php">
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="apps/workflowengine/lib/Check/FileSize.php">
<FalsableReturnStatement occurrences="1">
<code>$this-&gt;size</code>
</FalsableReturnStatement>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$size</code>
</InvalidPropertyAssignmentValue>
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;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' =&gt; Application::APP_ID, 'class' =&gt; get_class($subject)]</code>
</InvalidArgument>
</file>
<file src="apps/workflowengine/lib/Controller/AWorkflowController.php">
<InvalidScalarArgument occurrences="3">
<code>$e-&gt;getCode()</code>
<code>$e-&gt;getCode()</code>
<code>$e-&gt;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">
<code>IManager::EVENT_NAME_REG_CHECK</code>
<code>IManager::EVENT_NAME_REG_ENTITY</code>
<code>IManager::EVENT_NAME_REG_OPERATION</code>
</InvalidArgument>
<InvalidOperand occurrences="1">
<code>$result</code>
</InvalidOperand>
<InvalidPropertyAssignmentValue occurrences="1">
<code>[]</code>
</InvalidPropertyAssignmentValue>
<InvalidScalarArgument occurrences="1">
<code>$missingCheck</code>
</InvalidScalarArgument>
<TooManyArguments occurrences="3">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php">
<InvalidReturnStatement occurrences="1">
<code>$selectQuery-&gt;execute()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>Statement</code>
</InvalidReturnType>
</file>
<file src="apps/workflowengine/lib/Service/RuleMatcher.php">
<UndefinedInterfaceMethod occurrences="5">
<code>getAllConfiguredScopesForOperation</code>
<code>getChecks</code>
<code>getOperations</code>
<code>getOperations</code>
<code>isUserScopeEnabled</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/workflowengine/lib/Settings/Personal.php">
<InvalidNullableReturnType occurrences="1">
<code>getSection</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$this-&gt;manager-&gt;isUserScopeEnabled() ? 'workflow' : null</code>
</NullableReturnStatement>
</file>
<file src="core/Command/App/CheckCode.php">
<InvalidScalarArgument occurrences="1"/>
</file>
<file src="core/Command/App/GetPath.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>null|int</code>
</ImplementedReturnTypeMismatch>
<MismatchingDocblockReturnType occurrences="1">
<code>null|int</code>
</MismatchingDocblockReturnType>
</file>
<file src="core/Command/App/Install.php">
<TypeDoesNotContainType occurrences="1">
<code>$result === false</code>
</TypeDoesNotContainType>
</file>
<file src="core/Command/App/ListApps.php">
<LessSpecificImplementedReturnType occurrences="1">
<code>array</code>
</LessSpecificImplementedReturnType>
</file>
<file src="core/Command/Config/App/GetConfig.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>null|int</code>
</ImplementedReturnTypeMismatch>
<MismatchingDocblockReturnType occurrences="1">
<code>null|int</code>
</MismatchingDocblockReturnType>
</file>
<file src="core/Command/Config/Import.php">
<InvalidScalarArgument occurrences="2">
<code>0</code>
<code>1</code>
</InvalidScalarArgument>
</file>
<file src="core/Command/Config/ListConfigs.php">
<FalsableReturnStatement occurrences="1">
<code>$this-&gt;appConfig-&gt;getValues($app, false)</code>
</FalsableReturnStatement>
<TooManyArguments occurrences="1">
<code>getFilteredValues</code>
</TooManyArguments>
</file>
<file src="core/Command/Config/System/GetConfig.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>null|int</code>
</ImplementedReturnTypeMismatch>
<MismatchingDocblockReturnType occurrences="1">
<code>null|int</code>
</MismatchingDocblockReturnType>
</file>
<file src="core/Command/Db/AddMissingColumns.php">
<InvalidArgument occurrences="1">
<code>IDBConnection::ADD_MISSING_COLUMNS_EVENT</code>
</InvalidArgument>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="core/Command/Db/AddMissingIndices.php">
<InvalidArgument occurrences="1">
<code>IDBConnection::ADD_MISSING_INDEXES_EVENT</code>
</InvalidArgument>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="core/Command/Db/AddMissingPrimaryKeys.php">
<InvalidArgument occurrences="1">
<code>IDBConnection::ADD_MISSING_PRIMARY_KEYS_EVENT</code>
</InvalidArgument>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="core/Command/Db/ConvertType.php">
<InvalidArgument occurrences="2">
<code>$chunk * $chunkSize</code>
<code>$chunkSize</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="2">
<code>0</code>
<code>1</code>
</InvalidScalarArgument>
</file>
<file src="core/Command/Db/Migrations/GenerateFromSchemaFileCommand.php">
<InvalidScalarArgument occurrences="1">
<code>$column-&gt;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-&gt;timeFactory-&gt;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>
<code>1</code>
<code>1</code>
<code>1</code>
<code>1</code>
</InvalidScalarArgument>
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&gt;installer</code>
</UndefinedThisPropertyAssignment>
<UndefinedThisPropertyFetch occurrences="1">
<code>$this-&gt;installer</code>
</UndefinedThisPropertyFetch>
</file>
<file src="core/Command/User/Setting.php">
<InvalidScalarArgument occurrences="1">
<code>$input-&gt;getOption('default-value')</code>
</InvalidScalarArgument>
</file>
<file src="core/Controller/AppPasswordController.php">
<InvalidArgument occurrences="1">
<code>'app_password_created'</code>
</InvalidArgument>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="core/Controller/ClientFlowLoginController.php">
<InvalidArgument occurrences="1">
<code>'app_password_created'</code>
</InvalidArgument>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="core/Controller/ClientFlowLoginV2Controller.php">
<TypeDoesNotContainType occurrences="1">
<code>!is_string($stateToken)</code>
</TypeDoesNotContainType>
</file>
<file src="core/Controller/CollaborationResourcesController.php">
<UndefinedInterfaceMethod occurrences="1">
<code>searchCollections</code>
</UndefinedInterfaceMethod>
</file>
<file src="core/Controller/SvgController.php">
<TypeDoesNotContainNull occurrences="1">
<code>$svg === null</code>
</TypeDoesNotContainNull>
</file>
<file src="core/Controller/UnifiedSearchController.php">
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
<UndefinedInterfaceMethod occurrences="1">
<code>findMatchingRoute</code>
</UndefinedInterfaceMethod>
</file>
<file src="core/Middleware/TwoFactorMiddleware.php">
<NoInterfaceProperties occurrences="1">
<code>$this-&gt;request-&gt;server</code>
</NoInterfaceProperties>
</file>
<file src="core/ajax/update.php">
<InvalidScalarArgument occurrences="12">
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>1</code>
<code>1</code>
<code>1</code>
<code>1</code>
</InvalidScalarArgument>
</file>
<file src="core/routes.php">
<InvalidScope occurrences="2">
<code>$this</code>
<code>$this</code>
</InvalidScope>
</file>
<file src="core/templates/layout.public.php">
<UndefinedInterfaceMethod occurrences="1">
<code>getIcon</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/autoloader.php">
<RedundantCondition occurrences="1">
<code>$this-&gt;memoryCache</code>
</RedundantCondition>
</file>
<file src="lib/base.php">
<InternalMethod occurrences="2">
<code>getAppsNeedingUpgrade</code>
<code>getIncompatibleApps</code>
</InternalMethod>
<InvalidArgument occurrences="1">
<code>$restrictions</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="1">
<code>true</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="1">
<code>((array)$request-&gt;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-&gt;filterClasses</code>
<code>$this-&gt;providerClasses</code>
<code>$this-&gt;settingsClasses</code>
</InvalidPropertyAssignmentValue>
<TypeDoesNotContainType occurrences="1">
<code>!is_string($currentUserId) &amp;&amp; $currentUserId !== null</code>
</TypeDoesNotContainType>
</file>
<file src="lib/private/AllConfig.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$key</code>
</MoreSpecificImplementedParamType>
</file>
<file src="lib/private/App/AppManager.php">
<InvalidArgument occurrences="3">
<code>ManagerEvent::EVENT_APP_DISABLE</code>
<code>ManagerEvent::EVENT_APP_ENABLE</code>
<code>ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS</code>
</InvalidArgument>
<LessSpecificImplementedReturnType occurrences="2">
<code>array</code>
<code>array</code>
</LessSpecificImplementedReturnType>
<TooManyArguments occurrences="3">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
<TypeDoesNotContainNull occurrences="1">
<code>$group === null</code>
</TypeDoesNotContainNull>
</file>
<file src="lib/private/App/AppStore/Fetcher/AppFetcher.php">
<InvalidScalarArgument occurrences="1">
<code>'version_compare'</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/App/AppStore/Fetcher/Fetcher.php">
<TooManyArguments occurrences="1">
<code>fetch</code>
</TooManyArguments>
</file>
<file src="lib/private/App/CodeChecker/MigrationSchemaChecker.php">
<InvalidPropertyAssignmentValue occurrences="2">
<code>$this-&gt;tableVariableNames</code>
<code>$this-&gt;tableVariableNames</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="lib/private/App/CodeChecker/NodeVisitor.php">
<ImplicitToStringCast occurrences="1">
<code>$node-&gt;alias</code>
</ImplicitToStringCast>
</file>
<file src="lib/private/App/DependencyAnalyzer.php">
<InvalidNullableReturnType occurrences="1">
<code>bool</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>version_compare($first, $second, $operator)</code>
</NullableReturnStatement>
</file>
<file src="lib/private/App/InfoParser.php">
<InvalidArrayOffset occurrences="2">
<code>$array[$element][]</code>
<code>$array[$element][]</code>
</InvalidArrayOffset>
<InvalidReturnStatement occurrences="1">
<code>(string)$xml</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>array</code>
</InvalidReturnType>
</file>
<file src="lib/private/App/Platform.php">
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&gt;config</code>
</UndefinedThisPropertyAssignment>
<UndefinedThisPropertyFetch occurrences="1">
<code>$this-&gt;config</code>
</UndefinedThisPropertyFetch>
</file>
<file src="lib/private/App/PlatformRepository.php">
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&gt;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-&gt;bootedApps</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="lib/private/AppFramework/DependencyInjection/DIContainer.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>boolean|null</code>
</ImplementedReturnTypeMismatch>
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;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-&gt;getCode()</code>
</InvalidScalarArgument>
<NoInterfaceProperties occurrences="1">
<code>$this-&gt;request-&gt;method</code>
</NoInterfaceProperties>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="lib/private/AppFramework/Http/Output.php">
<InvalidReturnStatement occurrences="2">
<code>@readfile($path)</code>
<code>http_response_code()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>bool</code>
<code>int</code>
</InvalidReturnType>
</file>
<file src="lib/private/AppFramework/Http/Request.php">
<NullableReturnStatement occurrences="9">
<code>$host</code>
<code>$name</code>
<code>$remoteAddress</code>
<code>$this-&gt;getOverwriteHost()</code>
<code>$this-&gt;method</code>
<code>$uri</code>
<code>isset($this-&gt;cookies[$key]) ? $this-&gt;cookies[$key] : null</code>
<code>isset($this-&gt;env[$key]) ? $this-&gt;env[$key] : null</code>
<code>isset($this-&gt;files[$key]) ? $this-&gt;files[$key] : null</code>
</NullableReturnStatement>
<RedundantCondition occurrences="1">
<code>\is_array($params)</code>
</RedundantCondition>
<UndefinedFunction occurrences="1">
<code>\Sabre\Uri\split($scriptName)</code>
</UndefinedFunction>
</file>
<file src="lib/private/AppFramework/Logger.php">
<InvalidReturnType occurrences="1">
<code>log</code>
</InvalidReturnType>
</file>
<file src="lib/private/AppFramework/Middleware/AdditionalScriptsMiddleware.php">
<InvalidArgument occurrences="2">
<code>TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS</code>
<code>TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS_LOGGEDIN</code>
</InvalidArgument>
<TooManyArguments occurrences="2">
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="lib/private/AppFramework/Middleware/OCSMiddleware.php">
<InternalMethod occurrences="1">
<code>setOCSVersion</code>
</InternalMethod>
<InvalidScalarArgument occurrences="1">
<code>$code</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/AppFramework/Middleware/Security/CORSMiddleware.php">
<InvalidScalarArgument occurrences="1">
<code>$exception-&gt;getCode()</code>
</InvalidScalarArgument>
<NoInterfaceProperties occurrences="2">
<code>$this-&gt;request-&gt;server</code>
<code>$this-&gt;request-&gt;server</code>
</NoInterfaceProperties>
</file>
<file src="lib/private/AppFramework/Middleware/Security/RateLimitingMiddleware.php">
<InvalidScalarArgument occurrences="6">
<code>$anonLimit</code>
<code>$anonPeriod</code>
<code>$exception-&gt;getCode()</code>
<code>$exception-&gt;getCode()</code>
<code>$userLimit</code>
<code>$userPeriod</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/AppFramework/Middleware/Security/SecurityMiddleware.php">
<InvalidScalarArgument occurrences="2">
<code>$exception-&gt;getCode()</code>
<code>$exception-&gt;getCode()</code>
</InvalidScalarArgument>
<NoInterfaceProperties occurrences="1">
<code>$this-&gt;request-&gt;server</code>
</NoInterfaceProperties>
<UndefinedClass occurrences="1">
<code>\OCA\Talk\Controller\PageController</code>
</UndefinedClass>
</file>
<file src="lib/private/AppFramework/OCS/V1Response.php">
<InvalidScalarArgument occurrences="1">
<code>$meta</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/AppFramework/OCS/V2Response.php">
<InvalidScalarArgument occurrences="1">
<code>$meta</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/AppFramework/Routing/RouteConfig.php">
<InvalidArrayOffset occurrences="1">
<code>$action['url-postfix']</code>
</InvalidArrayOffset>
<RedundantCondition occurrences="1">
<code>strtolower</code>
</RedundantCondition>
</file>
<file src="lib/private/AppFramework/Services/AppConfig.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$default</code>
</MoreSpecificImplementedParamType>
</file>
<file src="lib/private/Archive/TAR.php">
<FalsableReturnStatement occurrences="1">
<code>false</code>
</FalsableReturnStatement>
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;tar-&gt;extractInString($path)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
<UndefinedDocblockClass occurrences="1">
<code>$this-&gt;tar-&gt;extractInString($path)</code>
</UndefinedDocblockClass>
</file>
<file src="lib/private/Archive/ZIP.php">
<ImplementedReturnTypeMismatch occurrences="2">
<code>boolean|null</code>
<code>boolean|null</code>
</ImplementedReturnTypeMismatch>
</file>
<file src="lib/private/Authentication/LoginCredentials/Store.php">
<RedundantCondition occurrences="1">
<code>$trySession</code>
</RedundantCondition>
</file>
<file src="lib/private/Authentication/Token/DefaultToken.php">
<UndefinedMethod occurrences="14">
<code>parent::getExpires()</code>
<code>parent::getLastCheck()</code>
<code>parent::getLoginName()</code>
<code>parent::getName()</code>
<code>parent::getPassword()</code>
<code>parent::getRemember()</code>
<code>parent::getScope()</code>
<code>parent::setExpires($expires)</code>
<code>parent::setLastCheck($time)</code>
<code>parent::setName($name)</code>
<code>parent::setPassword($password)</code>
<code>parent::setScope((string)$scope)</code>
<code>parent::setScope(json_encode($scope))</code>
<code>parent::setToken($token)</code>
</UndefinedMethod>
</file>
<file src="lib/private/Authentication/Token/PublicKeyToken.php">
<UndefinedMethod occurrences="16">
<code>parent::getExpires()</code>
<code>parent::getLastCheck()</code>
<code>parent::getLoginName()</code>
<code>parent::getName()</code>
<code>parent::getPassword()</code>
<code>parent::getRemember()</code>
<code>parent::getScope()</code>
<code>parent::setExpires($expires)</code>
<code>parent::setLastCheck($time)</code>
<code>parent::setName($name)</code>
<code>parent::setPassword($password)</code>
<code>parent::setPasswordInvalid($invalid)</code>
<code>parent::setScope((string)$scope)</code>
<code>parent::setScope(json_encode($scope))</code>
<code>parent::setToken($token)</code>
<code>parent::setType(IToken::WIPE_TOKEN)</code>
</UndefinedMethod>
</file>
<file src="lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php">
<InvalidReturnStatement occurrences="2">
<code>$providers</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>int[]</code>
<code>string[]</code>
</InvalidReturnType>
</file>
<file src="lib/private/Authentication/TwoFactorAuth/Manager.php">
<InvalidArgument occurrences="3">
<code>$tokenId</code>
<code>IProvider::EVENT_FAILED</code>
<code>IProvider::EVENT_SUCCESS</code>
</InvalidArgument>
<InvalidReturnStatement occurrences="1">
<code>$providerStates</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string[]</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="3">
<code>$this-&gt;timeFactory-&gt;getTime()</code>
<code>$token-&gt;getId()</code>
<code>$tokenId</code>
</InvalidScalarArgument>
<TooManyArguments occurrences="2">
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="lib/private/Authentication/TwoFactorAuth/ProviderSet.php">
<InvalidArgument occurrences="1">
<code>$this-&gt;providers</code>
</InvalidArgument>
<InvalidPropertyAssignmentValue occurrences="2">
<code>$this-&gt;providers</code>
<code>[]</code>
</InvalidPropertyAssignmentValue>
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;providers</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>IProvider[]</code>
</InvalidReturnType>
<UndefinedInterfaceMethod occurrences="1">
<code>$this-&gt;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-&gt;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>
<code>(int) $this-&gt;config-&gt;getUserValue($this-&gt;user-&gt;getUID(), 'avatar', 'version', 0) + 1</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/BackgroundJob/JobList.php">
<InvalidScalarArgument occurrences="1">
<code>$job-&gt;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-&gt;shareeEnumerationInGroupOnly</code>
</UndefinedThisPropertyAssignment>
<UndefinedThisPropertyFetch occurrences="2">
<code>$this-&gt;shareeEnumerationInGroupOnly</code>
<code>$this-&gt;shareeEnumerationInGroupOnly</code>
</UndefinedThisPropertyFetch>
</file>
<file src="lib/private/Collaboration/Collaborators/MailPlugin.php">
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&gt;shareeEnumerationInGroupOnly</code>
</UndefinedThisPropertyAssignment>
<UndefinedThisPropertyFetch occurrences="1">
<code>$this-&gt;shareeEnumerationInGroupOnly</code>
</UndefinedThisPropertyFetch>
</file>
<file src="lib/private/Collaboration/Resources/Manager.php">
<InvalidArgument occurrences="4"/>
<RedundantCondition occurrences="1">
<code>$user instanceof IUser</code>
</RedundantCondition>
<TypeDoesNotContainType occurrences="1">
<code>''</code>
</TypeDoesNotContainType>
</file>
<file src="lib/private/Comments/Comment.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>\DateTime|null</code>
</ImplementedReturnTypeMismatch>
<TypeDoesNotContainType occurrences="1">
<code>!is_array($mentions[0])</code>
</TypeDoesNotContainType>
</file>
<file src="lib/private/Comments/Manager.php">
<InvalidArgument occurrences="3"/>
<InvalidDocblock occurrences="1">
<code>public function getForObjectSince(</code>
</InvalidDocblock>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="lib/private/Config.php">
<FalseOperand occurrences="2">
<code>$needsUpdate</code>
<code>$needsUpdate</code>
</FalseOperand>
<TypeDoesNotContainType occurrences="1">
<code>$needsUpdate</code>
</TypeDoesNotContainType>
<UndefinedVariable occurrences="2">
<code>$CONFIG</code>
<code>$CONFIG</code>
</UndefinedVariable>
</file>
<file src="lib/private/Console/Application.php">
<InvalidArgument occurrences="1">
<code>ConsoleEvent::EVENT_RUN</code>
</InvalidArgument>
<NoInterfaceProperties occurrences="1">
<code>$this-&gt;request-&gt;server</code>
</NoInterfaceProperties>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&gt;application</code>
</UndefinedThisPropertyAssignment>
<UndefinedThisPropertyFetch occurrences="4">
<code>$this-&gt;application</code>
<code>$this-&gt;application</code>
<code>$this-&gt;application</code>
<code>$this-&gt;application</code>
</UndefinedThisPropertyFetch>
</file>
<file src="lib/private/Contacts/ContactsMenu/ActionProviderStore.php">
<ParadoxicalCondition occurrences="1">
<code>!isset($info['contactsmenu']) || !isset($info['contactsmenu'])</code>
</ParadoxicalCondition>
</file>
<file src="lib/private/Contacts/ContactsMenu/ContactsStore.php">
<InvalidIterator occurrences="1">
<code>$mailAddresses</code>
</InvalidIterator>
</file>
<file src="lib/private/Contacts/ContactsMenu/Entry.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>string</code>
</ImplementedReturnTypeMismatch>
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;emailAddresses</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="1">
<code>$this-&gt;avatar</code>
</NullableReturnStatement>
</file>
<file src="lib/private/Contacts/ContactsMenu/Manager.php">
<InvalidNullableReturnType occurrences="1">
<code>IEntry</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$entry</code>
</NullableReturnStatement>
</file>
<file src="lib/private/ContactsManager.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>IAddressBook[]</code>
</ImplementedReturnTypeMismatch>
<InvalidNullableReturnType occurrences="3">
<code>IAddressBook</code>
<code>array</code>
<code>bool</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="5">
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
</NullableReturnStatement>
</file>
<file src="lib/private/DB/Adapter.php">
<InvalidReturnStatement occurrences="1">
<code>$builder-&gt;execute()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>int</code>
</InvalidReturnType>
</file>
<file src="lib/private/DB/AdapterMySQL.php">
<InternalMethod occurrences="1">
<code>getParams</code>
</InternalMethod>
</file>
<file src="lib/private/DB/AdapterPgSql.php">
<FalsableReturnStatement occurrences="1">
<code>$this-&gt;conn-&gt;fetchColumn('SELECT lastval()')</code>
</FalsableReturnStatement>
</file>
<file src="lib/private/DB/Connection.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>string</code>
</ImplementedReturnTypeMismatch>
<InternalMethod occurrences="1">
<code>getParams</code>
</InternalMethod>
<InvalidReturnStatement occurrences="2">
<code>$insertQb-&gt;execute()</code>
<code>$this-&gt;adapter-&gt;lastInsertId($seqName)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>int</code>
<code>string</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="1">
<code>$e-&gt;getCode()</code>
</InvalidScalarArgument>
<LessSpecificImplementedReturnType occurrences="1">
<code>\Doctrine\DBAL\Driver\Statement</code>
</LessSpecificImplementedReturnType>
<ParamNameMismatch occurrences="1">
<code>$statement</code>
</ParamNameMismatch>
</file>
<file src="lib/private/DB/MDB2SchemaReader.php">
<InvalidScalarArgument occurrences="1">
<code>$options['default']</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/DB/MDB2SchemaWriter.php">
<InvalidScalarArgument occurrences="1">
<code>$column-&gt;getLength()</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/DB/MigrationService.php">
<InvalidOperand occurrences="2">
<code>$offset</code>
<code>$offset</code>
</InvalidOperand>
<UndefinedThisPropertyAssignment occurrences="4">
<code>$this-&gt;migrationsNamespace</code>
<code>$this-&gt;migrationsNamespace</code>
<code>$this-&gt;migrationsPath</code>
<code>$this-&gt;migrationsPath</code>
</UndefinedThisPropertyAssignment>
<UndefinedThisPropertyFetch occurrences="4">
<code>$this-&gt;migrationsNamespace</code>
<code>$this-&gt;migrationsNamespace</code>
<code>$this-&gt;migrationsPath</code>
<code>$this-&gt;migrationsPath</code>
</UndefinedThisPropertyFetch>
</file>
<file src="lib/private/DB/Migrator.php">
<InvalidArgument occurrences="2">
<code>'\OC\DB\Migrator::checkTable'</code>
<code>'\OC\DB\Migrator::executeSql'</code>
</InvalidArgument>
<TooManyArguments occurrences="2">
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="lib/private/DB/OracleConnection.php">
<InvalidArrayAccess occurrences="1">
<code>$key[0]</code>
</InvalidArrayAccess>
</file>
<file src="lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php">
<ImplicitToStringCast occurrences="1">
<code>$this-&gt;functionBuilder-&gt;lower($x)</code>
</ImplicitToStringCast>
<InvalidArgument occurrences="1">
<code>$connection</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="2">
<code>$y</code>
<code>$y</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/DB/QueryBuilder/ExpressionBuilder/MySqlExpressionBuilder.php">
<InternalMethod occurrences="1">
<code>getParams</code>
</InternalMethod>
</file>
<file src="lib/private/DB/QueryBuilder/ExpressionBuilder/OCIExpressionBuilder.php">
<InvalidReturnStatement occurrences="1">
<code>parent::castColumn($column, $type)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>IQueryFunction</code>
</InvalidReturnType>
</file>
<file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
<InvalidArgument occurrences="1">
<code>$this-&gt;connection</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$alias</code>
</NullableReturnStatement>
</file>
<file src="lib/private/DB/QueryBuilder/QuoteHelper.php">
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$string</code>
</NullableReturnStatement>
</file>
<file src="lib/private/DB/ReconnectWrapper.php">
<InternalMethod occurrences="1">
<code>parent::__construct($params, $driver, $config, $eventManager)</code>
</InternalMethod>
</file>
<file src="lib/private/DateTimeFormatter.php">
<FalsableReturnStatement occurrences="1"/>
<InvalidDocblock occurrences="2">
<code>public function formatDateSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code>
<code>public function formatTimeSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code>
</InvalidDocblock>
<InvalidReturnStatement occurrences="1"/>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
</file>
<file src="lib/private/DateTimeZone.php">
<InvalidScalarArgument occurrences="1">
<code>$timestamp</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/Diagnostics/Query.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>float</code>
</ImplementedReturnTypeMismatch>
</file>
<file src="lib/private/Diagnostics/QueryLogger.php">
<InvalidReturnType occurrences="1">
<code>stopQuery</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="1">
<code>microtime(true)</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/DirectEditing/Manager.php">
<InvalidReturnStatement occurrences="1">
<code>$query-&gt;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-&gt;event-&gt;offsetSet($key, $value)</code>
<code>$this-&gt;event-&gt;offsetUnset($key)</code>
</InvalidReturnStatement>
</file>
<file src="lib/private/EventDispatcher/SymfonyAdapter.php">
<ImplementedParamTypeMismatch occurrences="1">
<code>$eventName</code>
</ImplementedParamTypeMismatch>
<ImplementedReturnTypeMismatch occurrences="1">
<code>void</code>
</ImplementedReturnTypeMismatch>
<InvalidArgument occurrences="1">
<code>$eventName</code>
</InvalidArgument>
<ParamNameMismatch occurrences="1">
<code>$eventName</code>
</ParamNameMismatch>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="lib/private/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>
<code>insert</code>
<code>put</code>
</InvalidReturnType>
</file>
<file src="lib/private/Files/Cache/HomeCache.php">
<FalsableReturnStatement occurrences="1">
<code>$data</code>
</FalsableReturnStatement>
<MoreSpecificImplementedParamType occurrences="1">
<code>$path</code>
</MoreSpecificImplementedParamType>
</file>
<file src="lib/private/Files/Cache/LocalRootScanner.php">
<InvalidNullableReturnType occurrences="2">
<code>scan</code>
<code>scanFile</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="2">
<code>null</code>
<code>null</code>
</NullableReturnStatement>
</file>
<file src="lib/private/Files/Cache/QuerySearchHelper.php">
<InvalidScalarArgument occurrences="4">
<code>$value</code>
<code>$value</code>
<code>$value</code>
<code>$value</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/Files/Cache/Scanner.php">
<InvalidNullableReturnType occurrences="1">
<code>array</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1">
<code>$existingChildren</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>array[]</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="2">
<code>$path</code>
<code>self::SCAN_RECURSIVE_INCOMPLETE</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="4">
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
</NullableReturnStatement>
<TypeDoesNotContainType occurrences="1">
<code>$data ?? $this-&gt;getData($file)</code>
</TypeDoesNotContainType>
</file>
<file src="lib/private/Files/Cache/Storage.php">
<InvalidNullableReturnType occurrences="1">
<code>array</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>self::getGlobalCache()-&gt;getStorageInfo($storageId)</code>
</NullableReturnStatement>
</file>
<file src="lib/private/Files/Cache/Updater.php">
<RedundantCondition occurrences="1">
<code>$this-&gt;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">
<InvalidArgument occurrences="1"/>
<InvalidReturnType occurrences="2">
<code>remoteStorageMounts</code>
<code>removeUserStorageMount</code>
</InvalidReturnType>
<LessSpecificImplementedReturnType occurrences="1">
<code>array</code>
</LessSpecificImplementedReturnType>
<UndefinedInterfaceMethod occurrences="9">
<code>$this-&gt;cacheInfoCache</code>
<code>$this-&gt;cacheInfoCache</code>
<code>$this-&gt;cacheInfoCache</code>
<code>$this-&gt;mountsForUsers</code>
<code>$this-&gt;mountsForUsers</code>
<code>$this-&gt;mountsForUsers</code>
<code>$this-&gt;mountsForUsers</code>
<code>$this-&gt;mountsForUsers</code>
<code>$this-&gt;mountsForUsers</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Filesystem.php">
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1">
<code>self::$defaultInstance-&gt;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-&gt;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-&gt;view-&gt;hash($type, $this-&gt;path, $raw)</code>
<code>new NonExistingFile($this-&gt;root, $this-&gt;view, $path)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>string</code>
<code>string</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="1">
<code>$this-&gt;view-&gt;hash($type, $this-&gt;path, $raw)</code>
</NullableReturnStatement>
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&gt;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-&gt;root-&gt;get($this-&gt;getFullPath($path))</code>
<code>new NonExistingFolder($this-&gt;root, $this-&gt;view, $path)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>\OC\Files\Node\Node</code>
<code>string</code>
</InvalidReturnType>
<MoreSpecificImplementedParamType occurrences="1">
<code>$node</code>
</MoreSpecificImplementedParamType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
<UndefinedInterfaceMethod occurrences="2">
<code>getSourceStorage</code>
<code>getUnJailedPath</code>
</UndefinedInterfaceMethod>
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&gt;exists</code>
</UndefinedThisPropertyAssignment>
</file>
<file src="lib/private/Files/Node/HookConnector.php">
<InvalidArgument occurrences="13">
<code>'\OCP\Files::postCopy'</code>
<code>'\OCP\Files::postCreate'</code>
<code>'\OCP\Files::postDelete'</code>
<code>'\OCP\Files::postRename'</code>
<code>'\OCP\Files::postTouch'</code>
<code>'\OCP\Files::postWrite'</code>
<code>'\OCP\Files::preCopy'</code>
<code>'\OCP\Files::preCreate'</code>
<code>'\OCP\Files::preDelete'</code>
<code>'\OCP\Files::preRename'</code>
<code>'\OCP\Files::preTouch'</code>
<code>'\OCP\Files::preWrite'</code>
<code>'\OCP\Files::read'</code>
</InvalidArgument>
<TooManyArguments occurrences="13">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
<UndefinedInterfaceMethod occurrences="13">
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Node/LazyFolder.php">
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;__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>
<code>$this-&gt;root-&gt;get($newPath)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="4">
<code>Node</code>
<code>\OC\Files\Node\Node</code>
<code>\OC\Files\Node\Node</code>
<code>getChecksum</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="1">
<code>$this-&gt;getFileInfo()-&gt;getId()</code>
</NullableReturnStatement>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
<UndefinedInterfaceMethod occurrences="1">
<code>$this-&gt;fileInfo</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Node/Root.php">
<ImplementedReturnTypeMismatch occurrences="2">
<code>Node</code>
<code>string</code>
</ImplementedReturnTypeMismatch>
<InvalidNullableReturnType occurrences="7">
<code>\OC\Files\Mount\MountPoint</code>
<code>\OC\User\User</code>
<code>array</code>
<code>int</code>
<code>int</code>
<code>int</code>
<code>string</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;createNode($fullPath, $fileInfo)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="7">
<code>$this-&gt;mountManager-&gt;find($mountPoint)</code>
<code>$this-&gt;user</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
</NullableReturnStatement>
<UndefinedMethod occurrences="1">
<code>remove</code>
</UndefinedMethod>
</file>
<file src="lib/private/Files/ObjectStore/HomeObjectStoreStorage.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>false|string</code>
</ImplementedReturnTypeMismatch>
</file>
<file src="lib/private/Files/ObjectStore/NoopScanner.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$cacheData</code>
</MoreSpecificImplementedParamType>
</file>
<file src="lib/private/Files/ObjectStore/ObjectStoreStorage.php">
<ParamNameMismatch occurrences="2">
<code>$source</code>
<code>$target</code>
</ParamNameMismatch>
</file>
<file src="lib/private/Files/ObjectStore/S3ConnectionTrait.php">
<InternalClass occurrences="1">
<code>ClientResolver::_default_signature_provider()</code>
</InternalClass>
<InternalMethod occurrences="1">
<code>ClientResolver::_default_signature_provider()</code>
</InternalMethod>
<UndefinedFunction occurrences="2">
<code>\Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())</code>
</UndefinedFunction>
</file>
<file src="lib/private/Files/ObjectStore/S3ObjectTrait.php">
<InternalMethod occurrences="1">
<code>upload</code>
</InternalMethod>
<UndefinedFunction occurrences="1">
<code>\Aws\serialize($command)</code>
</UndefinedFunction>
</file>
<file src="lib/private/Files/ObjectStore/S3Signature.php">
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
<UndefinedFunction occurrences="2">
<code>Psr7\modify_request($request, $modify)</code>
<code>Psr7\parse_query($query)</code>
</UndefinedFunction>
</file>
<file src="lib/private/Files/ObjectStore/StorageObjectStore.php">
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
</file>
<file src="lib/private/Files/ObjectStore/Swift.php">
<UndefinedFunction occurrences="2">
<code>stream_for($handle)</code>
<code>stream_for($handle)</code>
</UndefinedFunction>
</file>
<file src="lib/private/Files/ObjectStore/SwiftFactory.php">
<InvalidArrayOffset occurrences="1">
<code>$this-&gt;params['url']</code>
</InvalidArrayOffset>
</file>
<file src="lib/private/Files/Storage/Common.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>string|false</code>
</ImplementedReturnTypeMismatch>
<InvalidNullableReturnType occurrences="2">
<code>array</code>
<code>getMetaData</code>
</InvalidNullableReturnType>
<InvalidOperand occurrences="4">
<code>!$permissions</code>
<code>$result</code>
<code>$result</code>
<code>$result</code>
</InvalidOperand>
<InvalidReturnStatement occurrences="1">
<code>$count</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>file_put_contents</code>
</InvalidReturnType>
<NoInterfaceProperties occurrences="8">
<code>$storage-&gt;cache</code>
<code>$storage-&gt;cache</code>
<code>$storage-&gt;propagator</code>
<code>$storage-&gt;propagator</code>
<code>$storage-&gt;scanner</code>
<code>$storage-&gt;scanner</code>
<code>$storage-&gt;updater</code>
<code>$storage-&gt;updater</code>
</NoInterfaceProperties>
<NullableReturnStatement occurrences="2">
<code>$this-&gt;getStorageCache()-&gt;getAvailability()</code>
<code>null</code>
</NullableReturnStatement>
</file>
<file src="lib/private/Files/Storage/DAV.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>int</code>
</ImplementedReturnTypeMismatch>
<InvalidClass occurrences="2">
<code>ArrayCache</code>
<code>ArrayCache</code>
</InvalidClass>
<InvalidNullableReturnType occurrences="1">
<code>getETag</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="2">
<code>$response-&gt;getBody()</code>
<code>$result</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>fopen</code>
<code>int</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="lib/private/Files/Storage/FailedStorage.php">
<InvalidReturnStatement occurrences="2">
<code>new FailedCache()</code>
<code>true</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>getCache</code>
<code>verifyPath</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="39">
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
<code>$this-&gt;e-&gt;getCode()</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/Files/Storage/Flysystem.php">
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;flysystem-&gt;getTimestamp($this-&gt;buildPath($path))</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>filemtime</code>
</InvalidReturnType>
<ParamNameMismatch occurrences="4">
<code>$source</code>
<code>$source</code>
<code>$target</code>
<code>$target</code>
</ParamNameMismatch>
</file>
<file src="lib/private/Files/Storage/Local.php">
<ImplicitToStringCast occurrences="1">
<code>$file</code>
</ImplicitToStringCast>
<InvalidNullableReturnType occurrences="1">
<code>getMetaData</code>
</InvalidNullableReturnType>
<InvalidOperand occurrences="1">
<code>$result</code>
</InvalidOperand>
<InvalidReturnStatement occurrences="3">
<code>$helper-&gt;getFileSize($fullPath)</code>
<code>$space</code>
<code>file_put_contents($this-&gt;getSourcePath($path), $data)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="3">
<code>file_put_contents</code>
<code>filesize</code>
<code>free_space</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="2">
<code>$helper-&gt;getFileSize($fullPath)</code>
<code>null</code>
</NullableReturnStatement>
<TypeDoesNotContainNull occurrences="2">
<code>$space === false || is_null($space)</code>
<code>is_null($space)</code>
</TypeDoesNotContainNull>
<TypeDoesNotContainType occurrences="1">
<code>$stat === false</code>
</TypeDoesNotContainType>
</file>
<file src="lib/private/Files/Storage/LocalRootStorage.php">
<NoInterfaceProperties occurrences="2">
<code>$storage-&gt;scanner</code>
<code>$storage-&gt;scanner</code>
</NoInterfaceProperties>
</file>
<file src="lib/private/Files/Storage/Wrapper/Availability.php">
<InvalidNullableReturnType occurrences="35">
<code>copy</code>
<code>copyFromStorage</code>
<code>file_exists</code>
<code>file_get_contents</code>
<code>file_put_contents</code>
<code>filemtime</code>
<code>filesize</code>
<code>filetype</code>
<code>fopen</code>
<code>free_space</code>
<code>getDirectDownload</code>
<code>getETag</code>
<code>getLocalFile</code>
<code>getMetaData</code>
<code>getMimeType</code>
<code>getOwner</code>
<code>getPermissions</code>
<code>hasUpdated</code>
<code>hash</code>
<code>isCreatable</code>
<code>isDeletable</code>
<code>isReadable</code>
<code>isSharable</code>
<code>isUpdatable</code>
<code>is_dir</code>
<code>is_file</code>
<code>mkdir</code>
<code>moveFromStorage</code>
<code>opendir</code>
<code>rename</code>
<code>rmdir</code>
<code>search</code>
<code>stat</code>
<code>touch</code>
<code>unlink</code>
</InvalidNullableReturnType>
<InvalidReturnType occurrences="1">
<code>\Traversable</code>
</InvalidReturnType>
</file>
<file src="lib/private/Files/Storage/Wrapper/Encoding.php">
<FalsableReturnStatement occurrences="12">
<code>$result</code>
<code>$this-&gt;storage-&gt;file_get_contents($this-&gt;findPathToUse($path))</code>
<code>$this-&gt;storage-&gt;filemtime($this-&gt;findPathToUse($path))</code>
<code>$this-&gt;storage-&gt;filesize($this-&gt;findPathToUse($path))</code>
<code>$this-&gt;storage-&gt;free_space($this-&gt;findPathToUse($path))</code>
<code>$this-&gt;storage-&gt;getETag($this-&gt;findPathToUse($path))</code>
<code>$this-&gt;storage-&gt;getLocalFile($this-&gt;findPathToUse($path))</code>
<code>$this-&gt;storage-&gt;getMimeType($this-&gt;findPathToUse($path))</code>
<code>$this-&gt;storage-&gt;hash($type, $this-&gt;findPathToUse($path), $raw)</code>
<code>$this-&gt;storage-&gt;opendir($this-&gt;findPathToUse($path))</code>
<code>$this-&gt;storage-&gt;search($query)</code>
<code>$this-&gt;storage-&gt;stat($this-&gt;findPathToUse($path))</code>
</FalsableReturnStatement>
<ImplementedReturnTypeMismatch occurrences="1">
<code>bool</code>
</ImplementedReturnTypeMismatch>
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;storage-&gt;filetype($this-&gt;findPathToUse($path))</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>bool</code>
</InvalidReturnType>
<UndefinedInterfaceMethod occurrences="13">
<code>$this-&gt;namesCache</code>
<code>$this-&gt;namesCache</code>
<code>$this-&gt;namesCache</code>
<code>$this-&gt;namesCache</code>
<code>$this-&gt;namesCache</code>
<code>$this-&gt;namesCache</code>
<code>$this-&gt;namesCache</code>
<code>$this-&gt;namesCache</code>
<code>$this-&gt;namesCache</code>
<code>$this-&gt;namesCache</code>
<code>$this-&gt;namesCache</code>
<code>$this-&gt;namesCache</code>
<code>$this-&gt;namesCache</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Storage/Wrapper/Encryption.php">
<FalsableReturnStatement occurrences="5">
<code>$stat</code>
<code>$this-&gt;storage-&gt;file_get_contents($path)</code>
<code>$this-&gt;storage-&gt;filesize($path)</code>
<code>$this-&gt;storage-&gt;getLocalFile($path)</code>
<code>false</code>
</FalsableReturnStatement>
<ImplementedReturnTypeMismatch occurrences="1">
<code>resource|bool</code>
</ImplementedReturnTypeMismatch>
<InvalidArgument occurrences="2">
<code>$source</code>
<code>$target</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="1">
<code>array</code>
</InvalidNullableReturnType>
<InvalidOperand occurrences="3">
<code>$result</code>
<code>$result</code>
<code>$result</code>
</InvalidOperand>
<InvalidReturnStatement occurrences="2">
<code>$newUnencryptedSize</code>
<code>$written</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>bool</code>
<code>int</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="2">
<code>$lastChunkPos</code>
<code>$newUnencryptedSize</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="lib/private/Files/Storage/Wrapper/Jail.php">
<FalsableReturnStatement occurrences="12">
<code>$this-&gt;getWrapperStorage()-&gt;file_get_contents($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;filemtime($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;filesize($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;fopen($this-&gt;getUnjailedPath($path), $mode)</code>
<code>$this-&gt;getWrapperStorage()-&gt;free_space($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;getETag($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;getLocalFile($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;getMimeType($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;hash($type, $this-&gt;getUnjailedPath($path), $raw)</code>
<code>$this-&gt;getWrapperStorage()-&gt;opendir($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;search($query)</code>
<code>$this-&gt;getWrapperStorage()-&gt;stat($this-&gt;getUnjailedPath($path))</code>
</FalsableReturnStatement>
<ImplementedReturnTypeMismatch occurrences="1">
<code>bool</code>
</ImplementedReturnTypeMismatch>
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;getWrapperStorage()-&gt;filetype($this-&gt;getUnjailedPath($path))</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>bool</code>
</InvalidReturnType>
</file>
<file src="lib/private/Files/Storage/Wrapper/PermissionsMask.php">
<FalsableReturnStatement occurrences="1">
<code>$this-&gt;checkMask($permissions) ? parent::fopen($path, $mode) : false</code>
</FalsableReturnStatement>
</file>
<file src="lib/private/Files/Storage/Wrapper/Quota.php">
<FalsableReturnStatement occurrences="2">
<code>$source</code>
<code>$this-&gt;storage-&gt;free_space($path)</code>
</FalsableReturnStatement>
<InvalidReturnStatement occurrences="1">
<code>$extension === 'part'</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="1">
<code>'ext'</code>
</InvalidScalarArgument>
<ParamNameMismatch occurrences="2">
<code>$source</code>
<code>$target</code>
</ParamNameMismatch>
</file>
<file src="lib/private/Files/Storage/Wrapper/Wrapper.php">
<FalsableReturnStatement occurrences="13">
<code>$this-&gt;getWrapperStorage()-&gt;file_get_contents($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;filemtime($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;filesize($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;fopen($path, $mode)</code>
<code>$this-&gt;getWrapperStorage()-&gt;free_space($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;getDirectDownload($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;getETag($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;getLocalFile($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;getMimeType($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;hash($type, $path, $raw)</code>
<code>$this-&gt;getWrapperStorage()-&gt;opendir($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;search($query)</code>
<code>$this-&gt;getWrapperStorage()-&gt;stat($path)</code>
</FalsableReturnStatement>
<ImplementedReturnTypeMismatch occurrences="1">
<code>bool</code>
</ImplementedReturnTypeMismatch>
<InvalidReturnStatement occurrences="2">
<code>$this-&gt;getWrapperStorage()-&gt;filetype($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;test()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>bool</code>
<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-&gt;current</code>
<code>$this-&gt;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-&gt;execute()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>int</code>
</InvalidReturnType>
</file>
<file src="lib/private/Files/Utils/Scanner.php">
<InvalidReturnStatement occurrences="1">
<code>$mounts</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>\OC\Files\Mount\MountPoint[]</code>
</InvalidReturnType>
</file>
<file src="lib/private/Files/View.php">
<InvalidArgument occurrences="3">
<code>$mount</code>
<code>$mount</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="2">
<code>\OCP\Files\Mount\IMountPoint</code>
<code>string</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1">
<code>$results</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>\OC\Files\Mount\MountPoint</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="3">
<code>$fileId</code>
<code>$mtime</code>
<code>$user</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="6">
<code>$mount</code>
<code>Filesystem::getMountManager()-&gt;find($this-&gt;getAbsolutePath($path))</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
</NullableReturnStatement>
<RedundantCondition occurrences="3">
<code>$result &amp;&amp; in_array('delete', $hooks) and $result</code>
<code>$storage1</code>
<code>is_resource($source)</code>
</RedundantCondition>
<UndefinedDocblockClass occurrences="2">
<code>$storage</code>
<code>[$storage, $internalPath]</code>
</UndefinedDocblockClass>
</file>
<file src="lib/private/FullTextSearch/Model/IndexDocument.php">
<TypeDoesNotContainNull occurrences="1">
<code>is_null($this-&gt;getContent())</code>
</TypeDoesNotContainNull>
</file>
<file src="lib/private/Group/Database.php">
<InvalidArgument occurrences="1"/>
<InvalidArrayOffset occurrences="1">
<code>$this-&gt;groupCache[$gid]['displayname']</code>
</InvalidArrayOffset>
<InvalidPropertyAssignmentValue occurrences="3">
<code>$this-&gt;groupCache</code>
<code>$this-&gt;groupCache</code>
<code>$this-&gt;groupCache</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="lib/private/Group/Group.php">
<InvalidArgument occurrences="7">
<code>IGroup::class . '::postAddUser'</code>
<code>IGroup::class . '::postDelete'</code>
<code>IGroup::class . '::postRemoveUser'</code>
<code>IGroup::class . '::preAddUser'</code>
<code>IGroup::class . '::preDelete'</code>
<code>IGroup::class . '::preRemoveUser'</code>
<code>bool</code>
</InvalidArgument>
<InvalidOperand occurrences="1">
<code>$hide</code>
</InvalidOperand>
<InvalidReturnStatement occurrences="1">
<code>$users</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>int|bool</code>
</InvalidReturnType>
<MoreSpecificImplementedParamType occurrences="1">
<code>$user</code>
</MoreSpecificImplementedParamType>
<RedundantCondition occurrences="3">
<code>$this-&gt;emitter</code>
<code>$this-&gt;emitter</code>
<code>$this-&gt;emitter</code>
</RedundantCondition>
<TooManyArguments occurrences="6">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
<UndefinedMethod occurrences="4">
<code>addToGroup</code>
<code>countUsersInGroup</code>
<code>deleteGroup</code>
<code>removeFromGroup</code>
</UndefinedMethod>
</file>
<file src="lib/private/Group/Manager.php">
<InvalidArgument occurrences="1">
<code>$groupId</code>
</InvalidArgument>
<InvalidOperand occurrences="1">
<code>$groupId</code>
</InvalidOperand>
<InvalidReturnStatement occurrences="1">
<code>$groups</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>\OC\Group\Group[]</code>
</InvalidReturnType>
<UndefinedInterfaceMethod occurrences="3">
<code>createGroup</code>
<code>getGroupDetails</code>
<code>isAdmin</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Group/MetaData.php">
<InvalidPropertyAssignmentValue occurrences="2">
<code>$sortMode</code>
<code>self::SORT_NONE</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="lib/private/Http/Client/Response.php">
<InvalidNullableReturnType occurrences="1">
<code>string|resource</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1"/>
</file>
<file src="lib/private/Installer.php">
<FalsableReturnStatement occurrences="1">
<code>false</code>
</FalsableReturnStatement>
<InvalidArrayOffset occurrences="2">
<code>$app['path']</code>
<code>$app['path']</code>
</InvalidArrayOffset>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
<RedundantCondition occurrences="1">
<code>$archive</code>
</RedundantCondition>
</file>
<file src="lib/private/IntegrityCheck/Checker.php">
<InvalidArrayAccess occurrences="3">
<code>$x509-&gt;getDN(X509::DN_OPENSSL)['CN']</code>
<code>$x509-&gt;getDN(X509::DN_OPENSSL)['CN']</code>
<code>$x509-&gt;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-&gt;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>
<code>getPermissions</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="2">
<code>new IteratorDirectory([])</code>
<code>new NullCache()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>getCache</code>
<code>opendir</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="2">
<code>null</code>
<code>null</code>
</NullableReturnStatement>
<TooManyArguments occurrences="1">
<code>new IteratorDirectory([])</code>
</TooManyArguments>
</file>
<file src="lib/private/Lockdown/LockdownManager.php">
<InvalidFunctionCall occurrences="1">
<code>$callback()</code>
</InvalidFunctionCall>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$sessionCallback</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="lib/private/Log.php">
<RedundantCondition occurrences="1">
<code>$request</code>
</RedundantCondition>
</file>
<file src="lib/private/Log/File.php">
<TypeDoesNotContainNull occurrences="1">
<code>$limit === null</code>
</TypeDoesNotContainNull>
</file>
<file src="lib/private/Log/LogDetails.php">
<RedundantCondition occurrences="1">
<code>is_string($request-&gt;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">
<code>getSubject</code>
<code>getSwiftMessage</code>
<code>getTo</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Memcache/APCu.php">
<InvalidReturnStatement occurrences="1">
<code>apcu_add($this-&gt;getPrefix() . $key, $value, $ttl)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>bool</code>
</InvalidReturnType>
</file>
<file src="lib/private/Memcache/Cache.php">
<LessSpecificImplementedReturnType occurrences="4">
<code>mixed</code>
<code>mixed</code>
<code>mixed</code>
<code>mixed</code>
</LessSpecificImplementedReturnType>
</file>
<file src="lib/private/Memcache/Factory.php">
<TypeDoesNotContainType occurrences="1">
<code>$lockingCacheClass &amp;&amp; class_exists($distributedCacheClass)</code>
</TypeDoesNotContainType>
</file>
<file src="lib/private/Memcache/Memcached.php">
<RedundantCondition occurrences="1">
<code>method_exists(self::$cache, 'deleteMulti')</code>
</RedundantCondition>
<TypeDoesNotContainType occurrences="1">
<code>\Memcached::HAVE_IGBINARY</code>
</TypeDoesNotContainType>
</file>
<file src="lib/private/Memcache/Redis.php">
<InvalidMethodCall occurrences="2">
<code>exec</code>
<code>exec</code>
</InvalidMethodCall>
</file>
<file src="lib/private/Migration/BackgroundRepair.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$jobList</code>
</MoreSpecificImplementedParamType>
</file>
<file src="lib/private/Notification/Manager.php">
<TypeDoesNotContainType occurrences="2">
<code>!($notification instanceof INotification)</code>
<code>!($notification instanceof INotification)</code>
</TypeDoesNotContainType>
</file>
<file src="lib/private/Preview/BackgroundCleanupJob.php">
<InvalidReturnStatement occurrences="1">
<code>[]</code>
</InvalidReturnStatement>
</file>
<file src="lib/private/Preview/Bitmap.php">
<ImplicitToStringCast occurrences="1">
<code>$bp</code>
</ImplicitToStringCast>
</file>
<file src="lib/private/Preview/Generator.php">
<InvalidArgument occurrences="2">
<code>$maxPreviewImage</code>
<code>IPreview::EVENT</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="1">
<code>ISimpleFile</code>
</InvalidNullableReturnType>
<InvalidScalarArgument occurrences="2">
<code>$file-&gt;getId()</code>
<code>$file-&gt;getId()</code>
</InvalidScalarArgument>
<MismatchingDocblockParamType occurrences="1">
<code>ISimpleFile</code>
</MismatchingDocblockParamType>
<NullableReturnStatement occurrences="1">
<code>$preview</code>
</NullableReturnStatement>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
<UndefinedInterfaceMethod occurrences="7">
<code>height</code>
<code>height</code>
<code>preciseResizeCopy</code>
<code>resizeCopy</code>
<code>valid</code>
<code>width</code>
<code>width</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Preview/GeneratorHelper.php">
<InvalidNullableReturnType occurrences="1">
<code>bool|IImage</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$provider-&gt;getThumbnail($file, $maxWidth, $maxHeight)</code>
</NullableReturnStatement>
</file>
<file src="lib/private/Preview/HEIC.php">
<ImplicitToStringCast occurrences="1">
<code>$bp</code>
</ImplicitToStringCast>
</file>
<file src="lib/private/Preview/Movie.php">
<InvalidScalarArgument occurrences="2">
<code>$second</code>
<code>$second</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/Preview/Office.php">
<ForbiddenCode occurrences="3">
<code>shell_exec($exec)</code>
<code>shell_exec('command -v libreoffice')</code>
<code>shell_exec('command -v openoffice')</code>
</ForbiddenCode>
<ImplicitToStringCast occurrences="1">
<code>$png</code>
</ImplicitToStringCast>
</file>
<file src="lib/private/Preview/ProviderV1Adapter.php">
<InvalidReturnStatement occurrences="1">
<code>$thumbnail === false ? null: $thumbnail</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>?IImage</code>
</InvalidReturnType>
</file>
<file src="lib/private/Preview/ProviderV2.php">
<FalsableReturnStatement occurrences="1">
<code>$file-&gt;getStorage()-&gt;getLocalFile($file-&gt;getInternalPath())</code>
</FalsableReturnStatement>
</file>
<file src="lib/private/Preview/SVG.php">
<ImplicitToStringCast occurrences="1">
<code>$svg</code>
</ImplicitToStringCast>
</file>
<file src="lib/private/PreviewManager.php">
<ForbiddenCode occurrences="2">
<code>shell_exec('command -v libreoffice')</code>
<code>shell_exec('command -v openoffice')</code>
</ForbiddenCode>
</file>
<file src="lib/private/RedisFactory.php">
<InvalidPropertyAssignmentValue occurrences="2">
<code>new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout)</code>
<code>new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout, false, $config['password'])</code>
</InvalidPropertyAssignmentValue>
<InvalidScalarArgument occurrences="1">
<code>\RedisCluster::OPT_SLAVE_FAILOVER</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/Remote/Api/OCS.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>array</code>
</ImplementedReturnTypeMismatch>
</file>
<file src="lib/private/Remote/Instance.php">
<InvalidReturnStatement occurrences="1">
<code>$request-&gt;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">
<ImplicitToStringCast occurrences="2">
<code>$query-&gt;createFunction('(' . $subQuery-&gt;getSQL() . ')')</code>
<code>$subQuery-&gt;createFunction('(' . $subSubQuery-&gt;getSQL() . ')')</code>
</ImplicitToStringCast>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$this-&gt;userToNotify</code>
</InvalidPropertyAssignmentValue>
<InvalidReturnStatement occurrences="1">
<code>$query-&gt;execute()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>\Doctrine\DBAL\Driver\Statement</code>
</InvalidReturnType>
</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-&gt;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-&gt;getId()</code>
<code>$data-&gt;getMtime()</code>
<code>$data-&gt;getPermissions()</code>
<code>$this-&gt;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-&gt;request-&gt;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-&gt;execute()</code>
<code>$qb-&gt;execute()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>int</code>
<code>int</code>
</InvalidReturnType>
</file>
<file src="lib/private/Security/Crypto.php">
<InternalMethod occurrences="6">
<code>decrypt</code>
<code>encrypt</code>
<code>setIV</code>
<code>setIV</code>
<code>setPassword</code>
<code>setPassword</code>
</InternalMethod>
</file>
<file src="lib/private/Server.php">
<ImplementedReturnTypeMismatch occurrences="3">
<code>\OCP\Calendar\Resource\IManager</code>
<code>\OCP\Calendar\Room\IManager</code>
<code>\OCP\Files\Folder|null</code>
</ImplementedReturnTypeMismatch>
<InvalidCatch occurrences="1"/>
<UndefinedDocblockClass occurrences="1">
<code>\OC\OCSClient</code>
</UndefinedDocblockClass>
</file>
<file src="lib/private/ServerContainer.php">
<InvalidPropertyAssignmentValue occurrences="1">
<code>$this-&gt;hasNoAppContainer</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="lib/private/Session/Internal.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$value</code>
</MoreSpecificImplementedParamType>
</file>
<file src="lib/private/Session/Memory.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$value</code>
</MoreSpecificImplementedParamType>
</file>
<file src="lib/private/Setup.php">
<InvalidScalarArgument occurrences="2">
<code>microtime(true)</code>
<code>microtime(true)</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="1">
<code>$content !== ''</code>
</RedundantCondition>
</file>
<file src="lib/private/Setup/AbstractDatabase.php">
<UndefinedThisPropertyFetch occurrences="4">
<code>$this-&gt;dbprettyname</code>
<code>$this-&gt;dbprettyname</code>
<code>$this-&gt;dbprettyname</code>
<code>$this-&gt;dbprettyname</code>
</UndefinedThisPropertyFetch>
</file>
<file src="lib/private/Setup/MySQL.php">
<InvalidReturnType occurrences="1">
<code>array</code>
</InvalidReturnType>
</file>
<file src="lib/private/Share/Share.php">
<FalsableReturnStatement occurrences="1">
<code>false</code>
</FalsableReturnStatement>
<InvalidArgument occurrences="1">
<code>$arguments</code>
</InvalidArgument>
<InvalidOperand occurrences="1">
<code>!self::isResharingAllowed()</code>
</InvalidOperand>
<InvalidScalarArgument occurrences="2">
<code>\OC_User::getUser()</code>
<code>\OC_User::getUser()</code>
</InvalidScalarArgument>
<UndefinedInterfaceMethod occurrences="2">
<code>getParents</code>
<code>getParents</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Share20/DefaultShareProvider.php">
<InvalidReturnStatement occurrences="1">
<code>$shares</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>getSharesInFolder</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="3">
<code>$share-&gt;getId()</code>
<code>$share-&gt;getId()</code>
<code>(int)$data['id']</code>
</InvalidScalarArgument>
<TooManyArguments occurrences="1">
<code>set</code>
</TooManyArguments>
<UndefinedInterfaceMethod occurrences="1">
<code>getParent</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Share20/Manager.php">
<InvalidArgument occurrences="7">
<code>$data</code>
<code>'OCP\Share::postAcceptShare'</code>
<code>'OCP\Share::postShare'</code>
<code>'OCP\Share::postUnshare'</code>
<code>'OCP\Share::postUnshareFromSelf'</code>
<code>'OCP\Share::preShare'</code>
<code>'OCP\Share::preUnshare'</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="2">
<code>$id</code>
<code>$this-&gt;shareApiLinkDefaultExpireDays()</code>
</InvalidScalarArgument>
<TooManyArguments occurrences="7">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>update</code>
</TooManyArguments>
<UndefinedClass occurrences="1">
<code>\OCA\Circles\Api\v1\Circles</code>
</UndefinedClass>
<UndefinedInterfaceMethod occurrences="1">
<code>getChildren</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Share20/ProviderFactory.php">
<InvalidNullableReturnType occurrences="2">
<code>FederatedShareProvider</code>
<code>ShareByMailProvider</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="5">
<code>$provider</code>
<code>$provider</code>
<code>$shares</code>
<code>$this-&gt;roomShareProvider</code>
<code>$this-&gt;shareByCircleProvider</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="3">
<code>getAllProviders</code>
<code>getProvider</code>
<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">
<code>RoomShareProvider</code>
<code>\OCA\Circles\ShareByCircleProvider</code>
<code>\OCA\Talk\Share\RoomShareProvider</code>
<code>private $roomShareProvider = null;</code>
<code>private $shareByCircleProvider = null;</code>
</UndefinedDocblockClass>
<UndefinedInterfaceMethod occurrences="4">
<code>getLazyRootFolder</code>
<code>getLazyRootFolder</code>
<code>getLazyRootFolder</code>
<code>getLazyRootFolder</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Streamer.php">
<InvalidArgument occurrences="1">
<code>$fh</code>
</InvalidArgument>
<UndefinedInterfaceMethod occurrences="1">
<code>get</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/SubAdmin.php">
<UndefinedInterfaceMethod occurrences="2">
<code>listen</code>
<code>listen</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Support/Subscription/Registry.php">
<UndefinedInterfaceMethod occurrences="1">
<code>getSupportedApps</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/SystemTag/SystemTagManager.php">
<FalsableReturnStatement occurrences="3">
<code>false</code>
<code>false</code>
<code>false</code>
</FalsableReturnStatement>
<InvalidArgument occurrences="3">
<code>ManagerEvent::EVENT_CREATE</code>
<code>ManagerEvent::EVENT_DELETE</code>
<code>ManagerEvent::EVENT_UPDATE</code>
</InvalidArgument>
<InvalidReturnType occurrences="2">
<code>bool</code>
<code>bool</code>
</InvalidReturnType>
<TooManyArguments occurrences="3">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="lib/private/SystemTag/SystemTagObjectMapper.php">
<InvalidArgument occurrences="2">
<code>MapperEvent::EVENT_ASSIGN</code>
<code>MapperEvent::EVENT_UNASSIGN</code>
</InvalidArgument>
<TooManyArguments occurrences="2">
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="lib/private/TagManager.php">
<InvalidNullableReturnType occurrences="1">
<code>\OCP\ITags</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="lib/private/Tags.php">
<InvalidArgument occurrences="1">
<code>[$this-&gt;user, $this-&gt;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-&gt;appendIfExist($this-&gt;serverroot, $script.'.js')</code>
<code>$this-&gt;appendIfExist($this-&gt;serverroot, $theme_dir.$script.'.js')</code>
<code>$this-&gt;appendIfExist($this-&gt;serverroot, $theme_dir.'apps/'.$script.'.js')</code>
<code>$this-&gt;appendIfExist($this-&gt;serverroot, $theme_dir.'core/'.$script.'.js')</code>
<code>$this-&gt;appendIfExist($this-&gt;serverroot, 'apps/'.$script.'.js')</code>
<code>$this-&gt;appendIfExist($this-&gt;serverroot, 'core/'.$script.'.js')</code>
</InvalidOperand>
</file>
<file src="lib/private/Template/SCSSCacher.php">
<InvalidScalarArgument occurrences="1">
<code>Compiler::LINE_COMMENTS</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/TemplateLayout.php">
<InvalidParamDefault occurrences="2">
<code>string</code>
<code>string</code>
</InvalidParamDefault>
<InvalidScalarArgument occurrences="3">
<code>$appName</code>
<code>$appName</code>
<code>\OC_User::getUser()</code>
</InvalidScalarArgument>
<TooManyArguments occurrences="1">
<code>Util::addScript('dist/unified-search', null, true)</code>
</TooManyArguments>
<UndefinedInterfaceMethod occurrences="1">
<code>getInitialStates</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/URLGenerator.php">
<InvalidReturnStatement occurrences="1">
<code>$path</code>
</InvalidReturnStatement>
</file>
<file src="lib/private/Updater.php">
<InvalidScalarArgument occurrences="13">
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>1</code>
<code>1</code>
<code>1</code>
<code>1</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/Updater/VersionCheck.php">
<InvalidScalarArgument occurrences="2">
<code>microtime(true)</code>
<code>time()</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/User/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-&gt;func()-&gt;lower('displayname')</code>
</ImplicitToStringCast>
<InvalidArgument occurrences="1"/>
<InvalidScalarArgument occurrences="2">
<code>$offset</code>
<code>$offset</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/User/Manager.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>array|int</code>
</ImplementedReturnTypeMismatch>
<InvalidNullableReturnType occurrences="1">
<code>bool|IUser</code>
</InvalidNullableReturnType>
<InvalidScalarArgument occurrences="2">
<code>$limit</code>
<code>$offset</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="2">
<code>$this-&gt;createUserFromBackend($uid, $password, $backend)</code>
<code>$this-&gt;createUserFromBackend($uid, $password, $backend)</code>
</NullableReturnStatement>
<UndefinedInterfaceMethod occurrences="4">
<code>checkPassword</code>
<code>countUsers</code>
<code>createUser</code>
<code>getUsersForUserValueCaseInsensitive</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/User/Session.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>boolean|null</code>
</ImplementedReturnTypeMismatch>
<InvalidArgument occurrences="1">
<code>IUser::class . '::firstLogin'</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="2">
<code>$this-&gt;timeFactory-&gt;getTime()</code>
<code>$this-&gt;timeFactory-&gt;getTime()</code>
</InvalidScalarArgument>
<NoInterfaceProperties occurrences="2">
<code>$request-&gt;server</code>
<code>$request-&gt;server</code>
</NoInterfaceProperties>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="lib/private/User/User.php">
<InvalidArgument occurrences="5">
<code>IUser::class . '::changeUser'</code>
<code>IUser::class . '::postDelete'</code>
<code>IUser::class . '::postSetPassword'</code>
<code>IUser::class . '::preDelete'</code>
<code>IUser::class . '::preSetPassword'</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="1">
<code>getBackend</code>
</InvalidNullableReturnType>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$this-&gt;config-&gt;getUserValue($uid, 'login', 'lastLogin', 0)</code>
</InvalidPropertyAssignmentValue>
<InvalidReturnStatement occurrences="1">
<code>$image</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>IImage|null</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="2">
<code>$quota</code>
<code>$this-&gt;lastLogin</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="1">
<code>$this-&gt;backend</code>
</NullableReturnStatement>
<TooManyArguments occurrences="5">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
<UndefinedInterfaceMethod occurrences="5">
<code>canChangeAvatar</code>
<code>deleteUserAvatar</code>
<code>getHome</code>
<code>setDisplayName</code>
<code>setPassword</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/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>
<TypeDoesNotContainNull occurrences="2">
<code>$appId === null</code>
<code>$appId === null</code>
</TypeDoesNotContainNull>
</file>
<file src="lib/private/legacy/OC_DB.php">
<InvalidReturnStatement occurrences="1">
<code>$result</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>OC_DB_StatementWrapper</code>
</InvalidReturnType>
</file>
<file src="lib/private/legacy/OC_DB_StatementWrapper.php">
<FalsableReturnStatement occurrences="1">
<code>$this-&gt;statement-&gt;fetchColumn($column)</code>
</FalsableReturnStatement>
</file>
<file src="lib/private/legacy/OC_EventSource.php">
<RedundantCondition occurrences="1">
<code>$this-&gt;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">
<code>$fh</code>
<code>$fileInfos</code>
<code>[$fileInfo]</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="1">
<code>mt_rand()</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="2">
<code>$getType === self::ZIP_DIR</code>
<code>$getType === self::ZIP_DIR</code>
</RedundantCondition>
<UndefinedInterfaceMethod occurrences="2">
<code>get</code>
<code>get</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/legacy/OC_Helper.php">
<InvalidOperand occurrences="1">
<code>$matches[1][$last_match][0]</code>
</InvalidOperand>
<InvalidReturnStatement occurrences="4">
<code>(INF &gt; 0)? INF: PHP_INT_MAX</code>
<code>INF</code>
<code>max($upload_max_filesize, $post_max_size)</code>
<code>min($upload_max_filesize, $post_max_size)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>int</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="4">
<code>$includeExtStorage ? 'ext' : false</code>
<code>$path</code>
<code>$quota</code>
<code>'ext'</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="1">
<code>count($obd_values) &gt; 0</code>
</RedundantCondition>
<UndefinedInterfaceMethod occurrences="1">
<code>getSourceStorage</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/legacy/OC_Image.php">
<FalsableReturnStatement occurrences="3">
<code>$this-&gt;resource</code>
<code>$this-&gt;valid() ? imagesx($this-&gt;resource) : -1</code>
<code>$this-&gt;valid() ? imagesy($this-&gt;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>
<InvalidReturnType occurrences="1">
<code>bool</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="17">
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$this-&gt;bitDepth</code>
<code>$x</code>
<code>$y</code>
<code>90</code>
</InvalidScalarArgument>
<MismatchingDocblockReturnType occurrences="1">
<code>bool</code>
</MismatchingDocblockReturnType>
<RedundantCondition occurrences="1">
<code>$isWritable</code>
</RedundantCondition>
</file>
<file src="lib/private/legacy/OC_JSON.php">
<InvalidScalarArgument occurrences="1">
<code>OC_User::getUser()</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/legacy/OC_User.php">
<UndefinedClass occurrences="1">
<code>\Test\Util\User\Dummy</code>
</UndefinedClass>
</file>
<file src="lib/private/legacy/OC_Util.php">
<InternalMethod occurrences="2">
<code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($prevLogging)</code>
<code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code>
</InternalMethod>
<InvalidLiteralArgument occurrences="1">
<code>\OCP\Constants::FILENAME_INVALID_CHARS</code>
</InvalidLiteralArgument>
<InvalidReturnStatement occurrences="1">
<code>OC_Helper::computerFileSize($userQuota)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>float</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="2">
<code>$user</code>
<code>OC_User::getUser()</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="2">
<code>'off'</code>
<code>is_string($expected)</code>
</RedundantCondition>
<TypeDoesNotContainType occurrences="3">
<code>is_bool($expected)</code>
<code>is_bool($setting[1])</code>
<code>is_int($expected)</code>
</TypeDoesNotContainType>
<UndefinedInterfaceMethod occurrences="1">
<code>clearCache</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/public/AppFramework/ApiController.php">
<NoInterfaceProperties occurrences="1">
<code>$this-&gt;request-&gt;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-&gt;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>
<code>$resource['resource']</code>
<code>$resource['size']</code>
<code>$resource['size']</code>
<code>$resource['time']</code>
</InvalidArrayAccess>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$this-&gt;resources</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="lib/public/BackgroundJob/TimedJob.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$jobList</code>
</MoreSpecificImplementedParamType>
</file>
<file src="lib/public/Contacts/IManager.php">
<UndefinedDocblockClass occurrences="1">
<code>IAddressBook[]</code>
</UndefinedDocblockClass>
</file>
<file src="lib/public/Dashboard/Model/WidgetTemplate.php">
<InvalidNullableReturnType occurrences="1">
<code>WidgetSetting</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="lib/public/Diagnostics/IQueryLogger.php">
<LessSpecificImplementedReturnType occurrences="1">
<code>mixed</code>
</LessSpecificImplementedReturnType>
</file>
<file src="lib/public/Files.php">
<FalsableReturnStatement occurrences="1">
<code>\OC_App::getStorage($app)</code>
</FalsableReturnStatement>
</file>
<file src="lib/public/Files/Storage.php">
<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-&gt;getCode()</code>
</InvalidScalarArgument>
</file>
</files>