nextcloud/build/psalm-baseline.xml

6208 lines
223 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="3.15@de6e7f324f44dde540ebe7ebd4eb481b97c86f30">
<file src="3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>string|null</code>
</ImplementedReturnTypeMismatch>
</file>
<file src="3rdparty/sabre/dav/lib/CalDAV/Calendar.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$calendarData</code>
</MoreSpecificImplementedParamType>
</file>
<file src="3rdparty/sabre/dav/lib/CalDAV/CalendarHome.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$data</code>
</MoreSpecificImplementedParamType>
</file>
<file src="3rdparty/sabre/dav/lib/CalDAV/Principal/User.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$data</code>
</MoreSpecificImplementedParamType>
</file>
<file src="3rdparty/sabre/dav/lib/CardDAV/AddressBook.php">
<LessSpecificImplementedReturnType occurrences="1">
<code>array</code>
</LessSpecificImplementedReturnType>
<MoreSpecificImplementedParamType occurrences="1">
<code>$vcardData</code>
</MoreSpecificImplementedParamType>
</file>
<file src="3rdparty/sabre/dav/lib/CardDAV/AddressBookHome.php">
<InvalidPropertyAssignmentValue occurrences="1">
<code>$principalUri</code>
</InvalidPropertyAssignmentValue>
<MoreSpecificImplementedParamType occurrences="1">
<code>$data</code>
</MoreSpecificImplementedParamType>
</file>
<file src="3rdparty/sabre/dav/lib/DAVACL/AbstractPrincipalCollection.php">
<LessSpecificImplementedReturnType occurrences="1">
<code>array</code>
</LessSpecificImplementedReturnType>
</file>
<file src="apps/accessibility/lib/Controller/AccessibilityController.php">
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&gt;appRoot</code>
</UndefinedThisPropertyAssignment>
<UndefinedThisPropertyFetch occurrences="2">
<code>$this-&gt;appRoot</code>
<code>$this-&gt;appRoot</code>
</UndefinedThisPropertyFetch>
</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/BackgroundJob/CleanupJob.php">
<InvalidReturnType occurrences="1">
<code>run</code>
</InvalidReturnType>
</file>
<file src="apps/contactsinteraction/lib/Db/CardSearchDao.php">
<ImplicitToStringCast occurrences="3">
<code>$propQuery-&gt;createFunction($addressbooksQuery-&gt;getSQL())</code>
<code>$cardQuery-&gt;createFunction($propQuery-&gt;getSQL())</code>
<code>$cardQuery-&gt;createFunction($addressbooksQuery-&gt;getSQL())</code>
</ImplicitToStringCast>
</file>
<file src="apps/dav/appinfo/v1/caldav.php">
<TooManyArguments occurrences="1">
<code>new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud')</code>
</TooManyArguments>
<UndefinedGlobalVariable occurrences="1">
<code>$baseuri</code>
</UndefinedGlobalVariable>
</file>
<file src="apps/dav/appinfo/v1/carddav.php">
<TooManyArguments occurrences="1">
<code>new \Sabre\DAV\Auth\Plugin($authBackend, 'ownCloud')</code>
</TooManyArguments>
<UndefinedGlobalVariable occurrences="1">
<code>$baseuri</code>
</UndefinedGlobalVariable>
</file>
<file src="apps/dav/appinfo/v1/publicwebdav.php">
<InternalMethod occurrences="2">
<code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code>
<code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($previousLog)</code>
</InternalMethod>
<UndefinedGlobalVariable occurrences="1">
<code>$baseuri</code>
</UndefinedGlobalVariable>
</file>
<file src="apps/dav/appinfo/v1/webdav.php">
<InvalidArgument occurrences="1">
<code>'OCA\DAV\Connector\Sabre::addPlugin'</code>
</InvalidArgument>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
<UndefinedGlobalVariable occurrences="1">
<code>$baseuri</code>
</UndefinedGlobalVariable>
</file>
<file src="apps/dav/appinfo/v2/direct.php">
<UndefinedGlobalVariable occurrences="1">
<code>$baseuri</code>
</UndefinedGlobalVariable>
</file>
<file src="apps/dav/appinfo/v2/remote.php">
<UndefinedGlobalVariable occurrences="1">
<code>$baseuri</code>
</UndefinedGlobalVariable>
</file>
<file src="apps/dav/bin/chunkperf.php">
<InvalidOperand occurrences="1">
<code>$argv[5]</code>
</InvalidOperand>
<MissingFile occurrences="1">
<code>require '../../../../3rdparty/autoload.php'</code>
</MissingFile>
</file>
<file src="apps/dav/lib/AppInfo/Application.php">
<UndefinedFunction occurrences="1">
<code>\Sabre\Uri\split($principalUri)</code>
</UndefinedFunction>
<UndefinedInterfaceMethod occurrences="1">
<code>getAppDataDir</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/dav/lib/Avatars/AvatarHome.php">
<UndefinedFunction occurrences="1">
<code>Uri\split($this-&gt;principalInfo['uri'])</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/BackgroundJob/BuildReminderIndexBackgroundJob.php">
<InvalidReturnType occurrences="1">
<code>run</code>
</InvalidReturnType>
</file>
<file src="apps/dav/lib/BackgroundJob/RegisterRegenerateBirthdayCalendars.php">
<InvalidReturnType occurrences="1">
<code>run</code>
</InvalidReturnType>
</file>
<file src="apps/dav/lib/BackgroundJob/UploadCleanup.php">
<InvalidArgument occurrences="1">
<code>File</code>
</InvalidArgument>
</file>
<file src="apps/dav/lib/CalDAV/BirthdayService.php">
<InvalidArrayOffset occurrences="1">
<code>$user['uri']</code>
</InvalidArrayOffset>
<UndefinedMethod occurrences="2">
<code>setDateTime</code>
<code>setDateTime</code>
</UndefinedMethod>
<UndefinedPropertyFetch occurrences="4">
<code>$newCalendarData-&gt;VEVENT-&gt;DTSTART</code>
<code>$existingBirthday-&gt;VEVENT-&gt;DTSTART</code>
<code>$newCalendarData-&gt;VEVENT-&gt;SUMMARY</code>
<code>$existingBirthday-&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">
<ImplicitToStringCast occurrences="7">
<code>$query-&gt;createParameter('principaluri')</code>
<code>$query-&gt;createNamedParameter(self::ACCESS_PUBLIC)</code>
<code>$query-&gt;createNamedParameter(self::ACCESS_PUBLIC)</code>
<code>$query-&gt;createParameter('uri')</code>
<code>$outerQuery-&gt;createFunction($innerQuery-&gt;getSQL())</code>
<code>$calendarObjectIdQuery-&gt;createNamedParameter($componentTypes, IQueryBuilder::PARAM_STR_ARRAY)</code>
<code>$query-&gt;createNamedParameter($matches, IQueryBuilder::PARAM_INT_ARRAY)</code>
</ImplicitToStringCast>
<InvalidArgument occurrences="14">
<code>'\OCA\DAV\CalDAV\CalDavBackend::createCalendar'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateCalendar'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCalendar'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::createCalendarObject'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::createCachedCalendarObject'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateCalendarObject'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateCachedCalendarObject'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCalendarObject'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteCachedCalendarObject'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::createSubscription'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateSubscription'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::deleteSubscription'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::updateShares'</code>
<code>'\OCA\DAV\CalDAV\CalDavBackend::publishCalendar'</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="2">
<code>array</code>
<code>array</code>
</InvalidNullableReturnType>
<MoreSpecificImplementedParamType occurrences="2">
<code>$objectData</code>
<code>$uris</code>
</MoreSpecificImplementedParamType>
<NullableReturnStatement occurrences="2">
<code>null</code>
<code>null</code>
</NullableReturnStatement>
<TooManyArguments occurrences="15">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>purgeProperties</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
<UndefinedFunction occurrences="4">
<code>Uri\split($row['principaluri'])</code>
<code>Uri\split($row['principaluri'])</code>
<code>Uri\split($row['principaluri'])</code>
<code>Uri\split($principalUri)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/CalDAV/Calendar.php">
<NullableReturnStatement occurrences="1">
<code>parent::getOwner()</code>
</NullableReturnStatement>
</file>
<file src="apps/dav/lib/CalDAV/CalendarHome.php">
<InvalidClass occurrences="1">
<code>\Sabre\CalDAv\Notifications\Collection</code>
</InvalidClass>
<InvalidReturnStatement occurrences="5">
<code>new Inbox($this-&gt;caldavBackend, $this-&gt;principalInfo['uri'])</code>
<code>new Outbox($this-&gt;config, $this-&gt;principalInfo['uri'])</code>
<code>new \Sabre\CalDAv\Notifications\Collection($this-&gt;caldavBackend, $this-&gt;principalInfo['uri'])</code>
<code>new Subscription($this-&gt;caldavBackend, $subscription)</code>
<code>$calendarPlugin-&gt;getCalendarInCalendarHome($this-&gt;principalInfo['uri'], $calendarUri)</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/Reminder/NotificationProvider/AbstractProvider.php">
<UndefinedMethod occurrences="3">
<code>isFloating</code>
<code>hasTime</code>
<code>isFloating</code>
</UndefinedMethod>
</file>
<file src="apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php">
<FalsableReturnStatement occurrences="4">
<code>$l10n-&gt;l('weekdayName', $dt, ['width' =&gt; 'abbreviated'])</code>
<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>
</FalsableReturnStatement>
<InvalidReturnStatement occurrences="5">
<code>[$organizerEMail =&gt; $name]</code>
<code>$l10n-&gt;l('weekdayName', $dt, ['width' =&gt; 'abbreviated'])</code>
<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>
</InvalidReturnStatement>
<InvalidReturnType occurrences="5">
<code>array|null</code>
<code>string</code>
<code>string</code>
<code>string</code>
<code>string</code>
</InvalidReturnType>
<UndefinedMethod occurrences="3">
<code>getDateTime</code>
<code>isFloating</code>
<code>getDateTime</code>
</UndefinedMethod>
</file>
<file src="apps/dav/lib/CalDAV/Reminder/Notifier.php">
<FalsableReturnStatement occurrences="4">
<code>$this-&gt;l10n-&gt;l('weekdayName', $dt, ['width' =&gt; 'abbreviated'])</code>
<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>
</FalsableReturnStatement>
<InvalidReturnStatement occurrences="4">
<code>$this-&gt;l10n-&gt;l('weekdayName', $dt, ['width' =&gt; 'abbreviated'])</code>
<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>
</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;SUMMARY</code>
<code>$vevent-&gt;LOCATION</code>
</ImplicitToStringCast>
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<InvalidScalarArgument occurrences="2">
<code>[$sender =&gt; $senderName]</code>
<code>[$recipient =&gt; $recipientName]</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="1">
<code>$lang-&gt;getValue()</code>
</NullableReturnStatement>
<UndefinedMethod occurrences="15">
<code>getDateTime</code>
<code>getDateTime</code>
<code>getDateTime</code>
<code>hasTime</code>
<code>getDateTime</code>
<code>isFloating</code>
<code>getDateTime</code>
<code>setDateTime</code>
<code>hasTime</code>
<code>isFloating</code>
<code>getDateTime</code>
<code>setDateTime</code>
<code>getDateTime</code>
<code>getDateTime</code>
<code>isFloating</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>getChildren</code>
<code>get</code>
</UndefinedInterfaceMethod>
<UndefinedMethod occurrences="5">
<code>getDateTime</code>
<code>isFloating</code>
<code>hasTime</code>
<code>isFloating</code>
<code>principalSearch</code>
</UndefinedMethod>
</file>
<file src="apps/dav/lib/CalDAV/Search/SearchPlugin.php">
<InvalidNullableReturnType occurrences="1">
<code>bool</code>
</InvalidNullableReturnType>
</file>
<file src="apps/dav/lib/CalDAV/Search/Xml/Filter/ParamFilter.php">
<InvalidReturnStatement occurrences="1"/>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
</file>
<file src="apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php">
<TypeDoesNotContainType occurrences="3">
<code>is_array($newProps['filters']['comps'])</code>
<code>is_array($newProps['filters']['props'])</code>
<code>is_array($newProps['filters']['params'])</code>
</TypeDoesNotContainType>
</file>
<file src="apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php">
<InvalidArgument occurrences="1">
<code>$webcalData</code>
</InvalidArgument>
</file>
<file src="apps/dav/lib/CardDAV/AddressBook.php">
<NullableReturnStatement occurrences="1">
<code>parent::getOwner()</code>
</NullableReturnStatement>
</file>
<file src="apps/dav/lib/CardDAV/AddressBookImpl.php">
<InvalidArgument occurrences="1">
<code>$id</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="2">
<code>$this-&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>
<ImplicitToStringCast occurrences="3">
<code>$query-&gt;createParameter('principaluri')</code>
<code>$query-&gt;createParameter('uri')</code>
<code>$query-&gt;createNamedParameter($matches, IQueryBuilder::PARAM_INT_ARRAY)</code>
</ImplicitToStringCast>
<InvalidArgument occurrences="3">
<code>'\OCA\DAV\CardDAV\CardDavBackend::createCard'</code>
<code>'\OCA\DAV\CardDAV\CardDavBackend::updateCard'</code>
<code>'\OCA\DAV\CardDAV\CardDavBackend::deleteCard'</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="1">
<code>array</code>
</InvalidNullableReturnType>
<MoreSpecificImplementedParamType occurrences="1">
<code>$uris</code>
</MoreSpecificImplementedParamType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
<TooManyArguments occurrences="3">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
<TypeDoesNotContainType occurrences="1">
<code>$addressBooks[$row['id']][$readOnlyPropertyName] === 0</code>
</TypeDoesNotContainType>
<UndefinedFunction occurrences="2">
<code>\Sabre\Uri\split($row['principaluri'])</code>
<code>\Sabre\Uri\split($principalUri)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/CardDAV/MultiGetExportPlugin.php">
<InvalidNullableReturnType occurrences="1">
<code>bool</code>
</InvalidNullableReturnType>
</file>
<file src="apps/dav/lib/CardDAV/PhotoCache.php">
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$type</code>
</NullableReturnStatement>
<UndefinedFunction occurrences="1">
<code>\Sabre\URI\parse($val)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/CardDAV/Plugin.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>string|null</code>
</ImplementedReturnTypeMismatch>
<UndefinedFunction occurrences="3">
<code>\Sabre\Uri\split($principal)</code>
<code>\Sabre\Uri\split($principal)</code>
<code>\Sabre\Uri\split($principal)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/CardDAV/SyncService.php">
<InvalidScalarArgument occurrences="1">
<code>$targetBookId</code>
</InvalidScalarArgument>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="apps/dav/lib/CardDAV/SystemAddressbook.php">
<RedundantCondition occurrences="1">
<code>$shareEnumeration &amp;&amp; $restrictShareEnumeration</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>
<UndefinedFunction occurrences="1">
<code>\Sabre\Uri\split($node-&gt;getPath())</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/Connector/Sabre/Directory.php">
<InvalidPropertyAssignmentValue occurrences="1">
<code>$nodes</code>
</InvalidPropertyAssignmentValue>
<InvalidReturnStatement occurrences="1">
<code>$this-&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($source)</code>
<code>\Sabre\Uri\split($destination)</code>
<code>\Sabre\Uri\split($filePath)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/Connector/Sabre/FilesReportPlugin.php">
<InvalidNullableReturnType occurrences="1">
<code>bool</code>
</InvalidNullableReturnType>
<InvalidScalarArgument occurrences="2">
<code>0</code>
<code>200</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="1">
<code>$resultFileIds</code>
</NullableReturnStatement>
<TooManyArguments occurrences="1">
<code>new PreconditionFailed('Cannot filter by non-existing tag', 0, $e)</code>
</TooManyArguments>
<UndefinedClass occurrences="1">
<code>\OCA\Circles\Api\v1\Circles</code>
</UndefinedClass>
<UndefinedInterfaceMethod occurrences="2">
<code>getPath</code>
<code>getById</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/dav/lib/Connector/Sabre/Node.php">
<InvalidArgument occurrences="1">
<code>$this</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="2">
<code>int</code>
<code>integer</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="2">
<code>$this-&gt;info-&gt;getId()</code>
<code>$this-&gt;info-&gt;getId()</code>
</NullableReturnStatement>
<UndefinedFunction occurrences="2">
<code>\Sabre\Uri\split($this-&gt;path)</code>
<code>\Sabre\Uri\split($name)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/Connector/Sabre/ObjectTree.php">
<UndefinedFunction occurrences="3">
<code>\Sabre\Uri\split($path)</code>
<code>\Sabre\Uri\split($destinationPath)</code>
<code>\Sabre\Uri\split($destinationPath)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/Connector/Sabre/Principal.php">
<InvalidNullableReturnType occurrences="1">
<code>array</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1">
<code>$principals</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string[]</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="9">
<code>null</code>
<code>$this-&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>
</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>getPath</code>
<code>getPath</code>
<code>getId</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>$operator-&gt;arguments</code>
<code>$argument</code>
</InvalidArgument>
<InvalidReturnStatement occurrences="1">
<code>$value</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>?string</code>
</InvalidReturnType>
<UndefinedPropertyFetch occurrences="1">
<code>$operator-&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/Migration/RemoveOrphanEventsAndContacts.php">
<ImplicitToStringCast occurrences="1">
<code>$qb-&gt;createParameter('ids')</code>
</ImplicitToStringCast>
</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>isFloating</code>
<code>getDateTime</code>
<code>setDateTime</code>
<code>hasTime</code>
<code>isFloating</code>
<code>getDateTime</code>
<code>setDateTime</code>
</UndefinedMethod>
</file>
<file src="apps/dav/lib/Search/TasksSearchProvider.php">
<UndefinedMethod occurrences="3">
<code>getDateTime</code>
<code>getDateTime</code>
<code>hasTime</code>
</UndefinedMethod>
</file>
<file src="apps/dav/lib/Server.php">
<InvalidArgument occurrences="2">
<code>'OCA\DAV\Connector\Sabre::authInit'</code>
<code>'OCA\DAV\Connector\Sabre::addPlugin'</code>
</InvalidArgument>
<TooManyArguments occurrences="3">
<code>dispatch</code>
<code>dispatch</code>
<code>new QuotaPlugin($view, false)</code>
</TooManyArguments>
<UndefinedPropertyAssignment occurrences="1">
<code>$acl-&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($principal)</code>
<code>\Sabre\Uri\split($principal)</code>
<code>\Sabre\Uri\split($principalUri)</code>
<code>\Sabre\Uri\split($member)</code>
<code>\Sabre\Uri\split($principalUri)</code>
<code>\Sabre\Uri\split($realPrincipalUri)</code>
<code>\Sabre\Uri\split($principalUri)</code>
<code>\Sabre\Uri\split($principalUri)</code>
<code>\Sabre\Uri\split($principalUri)</code>
</UndefinedFunction>
</file>
<file src="apps/dav/lib/Upload/AssemblyStream.php">
<FalsableReturnStatement occurrences="1">
<code>false</code>
</FalsableReturnStatement>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$this-&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/AppInfo/Application.php">
<UndefinedClass occurrences="33">
<code>'UserSetup'</code>
<code>'KeyManager'</code>
<code>'UserSetup'</code>
<code>'Util'</code>
<code>'Session'</code>
<code>'Crypt'</code>
<code>'Recovery'</code>
<code>'Crypt'</code>
<code>'KeyManager'</code>
<code>'Util'</code>
<code>'Session'</code>
<code>'EncryptAll'</code>
<code>'DecryptAll'</code>
<code>'Crypt'</code>
<code>'Util'</code>
<code>'Crypt'</code>
<code>'KeyManager'</code>
<code>'Recovery'</code>
<code>'Session'</code>
<code>'KeyManager'</code>
<code>'Crypt'</code>
<code>'Session'</code>
<code>'Util'</code>
<code>'Crypt'</code>
<code>'KeyManager'</code>
<code>'Crypt'</code>
<code>'UserSetup'</code>
<code>'KeyManager'</code>
<code>'Util'</code>
<code>'Util'</code>
<code>'KeyManager'</code>
<code>'Crypt'</code>
<code>'Session'</code>
</UndefinedClass>
</file>
<file src="apps/encryption/lib/Command/ScanLegacyFormat.php">
<RedundantCondition occurrences="1">
<code>$result</code>
</RedundantCondition>
</file>
<file src="apps/encryption/lib/Crypto/Crypt.php">
<RedundantCondition occurrences="1">
<code>$userSession &amp;&amp; $userSession-&gt;isLoggedIn()</code>
</RedundantCondition>
</file>
<file src="apps/encryption/lib/Crypto/EncryptAll.php">
<InvalidArgument occurrences="1">
<code>[$to =&gt; $recipientDisplayName]</code>
</InvalidArgument>
<UndefinedInterfaceMethod occurrences="3">
<code>setSubject</code>
<code>setHtmlBody</code>
<code>setPlainBody</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/encryption/lib/Crypto/Encryption.php">
<FalsableReturnStatement occurrences="1">
<code>$result</code>
</FalsableReturnStatement>
<ImplementedParamTypeMismatch occurrences="3">
<code>$position</code>
<code>$position</code>
<code>$position</code>
</ImplementedParamTypeMismatch>
<InvalidNullableReturnType occurrences="1">
<code>boolean</code>
</InvalidNullableReturnType>
</file>
<file src="apps/encryption/lib/KeyManager.php">
<InvalidScalarArgument occurrences="3">
<code>time()</code>
<code>time()</code>
<code>time()</code>
</InvalidScalarArgument>
<InvalidThrow occurrences="1">
<code>throw $exception;</code>
</InvalidThrow>
<RedundantCondition occurrences="2">
<code>$userSession &amp;&amp; $userSession-&gt;isLoggedIn()</code>
<code>$encryptedFileKey &amp;&amp; $shareKey</code>
</RedundantCondition>
</file>
<file src="apps/encryption/lib/Recovery.php">
<InvalidScalarArgument occurrences="3">
<code>1</code>
<code>0</code>
<code>0</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="1">
<code>$userSession &amp;&amp; $userSession-&gt;isLoggedIn()</code>
</RedundantCondition>
</file>
<file src="apps/encryption/lib/Session.php">
<TooManyArguments occurrences="1">
<code>new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0)</code>
</TooManyArguments>
</file>
<file src="apps/encryption/lib/Users/Setup.php">
<RedundantCondition occurrences="1">
<code>$userSession &amp;&amp; $userSession-&gt;isLoggedIn()</code>
</RedundantCondition>
</file>
<file src="apps/encryption/lib/Util.php">
<RedundantCondition occurrences="1">
<code>$userSession &amp;&amp; $userSession-&gt;isLoggedIn()</code>
</RedundantCondition>
</file>
<file src="apps/federatedfilesharing/lib/BackgroundJob/RetryJob.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$jobList</code>
</MoreSpecificImplementedParamType>
<TooFewArguments occurrences="1"/>
</file>
<file src="apps/federatedfilesharing/lib/Controller/RequestHandlerController.php">
<InvalidScalarArgument occurrences="7">
<code>$remoteId</code>
<code>$id</code>
<code>$id</code>
<code>$id</code>
<code>$id</code>
<code>$id</code>
<code>$id</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="1"/>
<TypeDoesNotContainNull occurrences="2">
<code>$permission === null</code>
<code>$remoteId === null</code>
</TypeDoesNotContainNull>
</file>
<file src="apps/federatedfilesharing/lib/FederatedShareProvider.php">
<ImplicitToStringCast occurrences="6">
<code>$qb-&gt;createNamedParameter($this-&gt;supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
<code>$qb-&gt;createNamedParameter($this-&gt;supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
<code>$qb-&gt;createNamedParameter($this-&gt;supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
<code>$qb-&gt;createNamedParameter($this-&gt;supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
<code>$qb-&gt;createNamedParameter($this-&gt;supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
<code>$qb-&gt;createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
</ImplicitToStringCast>
<InvalidArrayAccess occurrences="2">
<code>$token</code>
<code>$remoteId</code>
</InvalidArrayAccess>
<InvalidArrayOffset occurrences="1">
<code>list($token, $remoteId)</code>
</InvalidArrayOffset>
<InvalidReturnStatement occurrences="1">
<code>$shares</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>getSharesInFolder</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="6">
<code>$shareId</code>
<code>$shareId</code>
<code>$shareId</code>
<code>$shareId</code>
<code>$share-&gt;getId()</code>
<code>(int)$data['id']</code>
</InvalidScalarArgument>
</file>
<file src="apps/federatedfilesharing/lib/Notifications.php">
<InvalidReturnStatement occurrences="2">
<code>[$ocmResult['token'], $ocmResult['providerId']]</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="4">
<code>bool</code>
<code>bool</code>
<code>bool</code>
<code>bool</code>
</InvalidReturnType>
</file>
<file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php">
<InvalidReturnStatement occurrences="1">
<code>$shareId</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="7">
<code>$remoteId</code>
<code>$id</code>
<code>$id</code>
<code>$id</code>
<code>(int)$share['id']</code>
<code>$id</code>
<code>$id</code>
</InvalidScalarArgument>
</file>
<file src="apps/federatedfilesharing/lib/Settings/Personal.php">
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="apps/federation/lib/BackgroundJob/GetSharedSecret.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$jobList</code>
</MoreSpecificImplementedParamType>
</file>
<file src="apps/federation/lib/BackgroundJob/RequestSharedSecret.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$jobList</code>
</MoreSpecificImplementedParamType>
</file>
<file src="apps/federation/lib/TrustedServers.php">
<InvalidArgument occurrences="1">
<code>'OCP\Federation\TrustedServerEvent::remove'</code>
</InvalidArgument>
<InvalidClass occurrences="1">
<code>dbHandler</code>
</InvalidClass>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="apps/files/ajax/download.php">
<InvalidArgument occurrences="1">
<code>$files_list</code>
</InvalidArgument>
</file>
<file src="apps/files/ajax/list.php">
<TypeDoesNotContainType occurrences="1">
<code>!$dirInfo-&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/Filter/Favorites.php">
<ImplicitToStringCast occurrences="1">
<code>$query-&gt;createNamedParameter($favorites['items'], IQueryBuilder::PARAM_STR_ARRAY)</code>
</ImplicitToStringCast>
</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/BackgroundJob/ScanFiles.php">
<InvalidScalarArgument occurrences="3">
<code>0</code>
<code>$offset</code>
<code>$offset</code>
</InvalidScalarArgument>
</file>
<file src="apps/files/lib/Command/Scan.php">
<InvalidReturnStatement occurrences="1">
<code>$connection</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>\OCP\IDBConnection</code>
</InvalidReturnType>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="apps/files/lib/Command/ScanAppData.php">
<InvalidReturnStatement occurrences="1">
<code>$connection</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>\OCP\IDBConnection</code>
</InvalidReturnType>
<NullArgument occurrences="2">
<code>null</code>
<code>null</code>
</NullArgument>
</file>
<file src="apps/files/lib/Command/TransferOwnership.php">
<InvalidReturnStatement occurrences="1">
<code>$e-&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>open</code>
<code>getTemplates</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files/lib/Controller/ViewController.php">
<InvalidScalarArgument occurrences="1">
<code>$fileId</code>
</InvalidScalarArgument>
<UndefinedInterfaceMethod occurrences="3">
<code>getById</code>
<code>getRelativePath</code>
<code>getRelativePath</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files/lib/Helper.php">
<UndefinedInterfaceMethod occurrences="13">
<code>$file</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
<code>$i</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php">
<InvalidArgument occurrences="1">
<code>$legacyEvent</code>
</InvalidArgument>
</file>
<file src="apps/files/lib/Service/DirectEditingService.php">
<UndefinedInterfaceMethod occurrences="1">
<code>getEditors</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files/lib/Service/OwnershipTransferService.php">
<InvalidIterator occurrences="1">
<code>$encryptedFiles</code>
</InvalidIterator>
<TypeDoesNotContainType occurrences="1">
<code>empty($encryptedFiles)</code>
</TypeDoesNotContainType>
<UndefinedInterfaceMethod occurrences="1">
<code>isReadyForUser</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files/lib/Service/TagService.php">
<InvalidArgument occurrences="1">
<code>self::class . '::' . $eventName</code>
</InvalidArgument>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="apps/files_external/appinfo/routes.php">
<InvalidScope occurrences="2">
<code>$this</code>
<code>$this</code>
</InvalidScope>
</file>
<file src="apps/files_external/lib/BackgroundJob/CredentialsCleanup.php">
<InvalidReturnType occurrences="1">
<code>run</code>
</InvalidReturnType>
</file>
<file src="apps/files_external/lib/Command/Applicable.php">
<InvalidArgument occurrences="1">
<code>$mountId</code>
</InvalidArgument>
</file>
<file src="apps/files_external/lib/Command/Config.php">
<InvalidArgument occurrences="1">
<code>$mountId</code>
</InvalidArgument>
</file>
<file src="apps/files_external/lib/Command/Delete.php">
<InvalidArgument occurrences="2">
<code>$mountId</code>
<code>$mountId</code>
</InvalidArgument>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="apps/files_external/lib/Command/Notify.php">
<ImplicitToStringCast occurrences="1">
<code>$qb-&gt;createNamedParameter($storageIds, IQueryBuilder::PARAM_INT_ARRAY, ':storage_ids')</code>
</ImplicitToStringCast>
<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>$status</code>
<code>$e-&gt;getCode()</code>
</InvalidScalarArgument>
</file>
<file src="apps/files_external/lib/Config/ConfigAdapter.php">
<UndefinedClass occurrences="1">
<code>new $objectClass($objectStore)</code>
</UndefinedClass>
</file>
<file src="apps/files_external/lib/Controller/StoragesController.php">
<InvalidScalarArgument occurrences="4">
<code>$this-&gt;service-&gt;getVisibilityType()</code>
<code>$this-&gt;service-&gt;getVisibilityType()</code>
<code>$status</code>
<code>$e-&gt;getCode()</code>
</InvalidScalarArgument>
</file>
<file src="apps/files_external/lib/Controller/UserGlobalStoragesController.php">
<UndefinedMethod occurrences="1">
<code>getUniqueStorages</code>
</UndefinedMethod>
</file>
<file src="apps/files_external/lib/Lib/Backend/Backend.php">
<InvalidReturnType occurrences="1">
<code>self</code>
</InvalidReturnType>
</file>
<file src="apps/files_external/lib/Lib/DefinitionParameter.php">
<InvalidReturnStatement occurrences="1"/>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
</file>
<file src="apps/files_external/lib/Lib/FrontendDefinitionTrait.php">
<UndefinedClass occurrences="2">
<code>FrontendDefinitionTrait</code>
<code>FrontendDefinitionTrait</code>
</UndefinedClass>
</file>
<file src="apps/files_external/lib/Lib/IdentifierTrait.php">
<UndefinedDocblockClass occurrences="2">
<code>IdentifierTrait</code>
<code>$this-&gt;deprecateTo</code>
</UndefinedDocblockClass>
</file>
<file src="apps/files_external/lib/Lib/LegacyDependencyCheckPolyfill.php">
<TooManyArguments occurrences="1">
<code>new MissingDependency($module, $this)</code>
</TooManyArguments>
</file>
<file src="apps/files_external/lib/Lib/PriorityTrait.php">
<UndefinedClass occurrences="2">
<code>PriorityTrait</code>
<code>PriorityTrait</code>
</UndefinedClass>
</file>
<file src="apps/files_external/lib/Lib/Storage/AmazonS3.php">
<UndefinedMagicMethod occurrences="1">
<code>clearBucket</code>
</UndefinedMagicMethod>
</file>
<file src="apps/files_external/lib/Lib/Storage/SFTP.php">
<InternalMethod occurrences="1">
<code>put</code>
</InternalMethod>
<ParamNameMismatch occurrences="2">
<code>$source</code>
<code>$target</code>
</ParamNameMismatch>
</file>
<file src="apps/files_external/lib/Lib/Storage/SFTPReadStream.php">
<FalsableReturnStatement occurrences="2">
<code>false</code>
<code>false</code>
</FalsableReturnStatement>
<InvalidArgument occurrences="2">
<code>$this-&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>
<UndefinedInterfaceMethod occurrences="1">
<code>$content</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files_external/lib/Migration/DummyUserSession.php">
<InvalidReturnType occurrences="1">
<code>login</code>
</InvalidReturnType>
</file>
<file src="apps/files_external/lib/MountConfig.php">
<InternalMethod occurrences="4">
<code>setIV</code>
<code>encrypt</code>
<code>setIV</code>
<code>decrypt</code>
</InternalMethod>
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$message</code>
</NullableReturnStatement>
<TooManyArguments occurrences="1">
<code>test</code>
</TooManyArguments>
<UndefinedClass occurrences="1">
<code>Exception</code>
</UndefinedClass>
<UndefinedDocblockClass occurrences="1">
<code>Exception</code>
</UndefinedDocblockClass>
</file>
<file src="apps/files_external/lib/Service/BackendService.php">
<InvalidArgument occurrences="1">
<code>'OCA\\Files_External::loadAdditionalBackends'</code>
</InvalidArgument>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="apps/files_external/lib/Service/DBConfigService.php">
<ImplicitToStringCast occurrences="1">
<code>$builder-&gt;createNamedParameter($groupIds, IQueryBuilder::PARAM_STR_ARRAY)</code>
</ImplicitToStringCast>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="apps/files_external/lib/Service/GlobalStoragesService.php">
<InvalidReturnStatement occurrences="1">
<code>BackendService::VISIBILITY_ADMIN</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
</file>
<file src="apps/files_external/lib/Service/LegacyStoragesService.php">
<InvalidScalarArgument occurrences="1">
<code>$configId</code>
</InvalidScalarArgument>
</file>
<file src="apps/files_external/lib/Service/StoragesService.php">
<InvalidScalarArgument occurrences="2">
<code>$this-&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/AppInfo/Application.php">
<UndefinedClass occurrences="2">
<code>'ExternalMountProvider'</code>
<code>'\OCP\Collaboration\Resources::loadAdditionalScripts'</code>
</UndefinedClass>
</file>
<file src="apps/files_sharing/lib/Cache.php">
<FalsableReturnStatement occurrences="1">
<code>false</code>
</FalsableReturnStatement>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
<UndefinedInterfaceMethod occurrences="9">
<code>$entry</code>
<code>$entry</code>
<code>$entry</code>
<code>$entry</code>
<code>$entry</code>
<code>$entry</code>
<code>$entry</code>
<code>$entry</code>
<code>$entry</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files_sharing/lib/Capabilities.php">
<InvalidScalarArgument occurrences="1">
<code>Constants::PERMISSION_ALL</code>
</InvalidScalarArgument>
</file>
<file src="apps/files_sharing/lib/Collaboration/ShareRecipientSorter.php">
<UndefinedInterfaceMethod occurrences="1">
<code>getUserFolder</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files_sharing/lib/Controller/DeletedShareAPIController.php">
<UndefinedClass occurrences="1">
<code>'\OCA\Talk\Share\Helper\DeletedShareAPIController'</code>
</UndefinedClass>
<UndefinedDocblockClass occurrences="2">
<code>$this-&gt;getRoomShareHelper()</code>
<code>\OCA\Talk\Share\Helper\DeletedShareAPIController</code>
</UndefinedDocblockClass>
</file>
<file src="apps/files_sharing/lib/Controller/ExternalSharesController.php">
<InvalidArgument occurrences="2">
<code>'https'</code>
<code>'http'</code>
</InvalidArgument>
</file>
<file src="apps/files_sharing/lib/Controller/ShareAPIController.php">
<InvalidScalarArgument occurrences="3">
<code>Constants::PERMISSION_ALL</code>
<code>$code</code>
<code>$code</code>
</InvalidScalarArgument>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
<TypeDoesNotContainType occurrences="1">
<code>$date === false</code>
</TypeDoesNotContainType>
<UndefinedClass occurrences="3">
<code>\OCA\Circles\Api\v1\Circles</code>
<code>'\OCA\Talk\Share\Helper\ShareAPIController'</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="2">
<code>'Share is read-only'</code>
<code>$files_list</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="3">
<code>$maxUploadFilesize</code>
<code>$maxUploadFilesize</code>
<code>$freeSpace</code>
</InvalidScalarArgument>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="apps/files_sharing/lib/Controller/ShareInfoController.php">
<NullArgument occurrences="1">
<code>$password</code>
</NullArgument>
</file>
<file src="apps/files_sharing/lib/ExpireSharesJob.php">
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="apps/files_sharing/lib/External/Cache.php">
<UndefinedInterfaceMethod occurrences="4">
<code>$result</code>
<code>$result</code>
<code>$result</code>
<code>$file</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files_sharing/lib/External/Manager.php">
<ImplicitToStringCast occurrences="1">
<code>$query-&gt;createFunction('(' . $select . ')')</code>
</ImplicitToStringCast>
<InvalidScalarArgument occurrences="1">
<code>(int) $remoteShare</code>
</InvalidScalarArgument>
</file>
<file src="apps/files_sharing/lib/External/Mount.php">
<InvalidDocblock occurrences="1">
<code>public function removeMount() {</code>
</InvalidDocblock>
</file>
<file src="apps/files_sharing/lib/External/Scanner.php">
<InvalidNullableReturnType occurrences="2">
<code>scan</code>
<code>array</code>
</InvalidNullableReturnType>
<InvalidScalarArgument occurrences="1">
<code>$recursive</code>
</InvalidScalarArgument>
<MoreSpecificImplementedParamType occurrences="1">
<code>$cacheData</code>
</MoreSpecificImplementedParamType>
<UndefinedInterfaceMethod occurrences="2">
<code>$existingChild</code>
<code>$existingChild</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files_sharing/lib/External/Storage.php">
<InvalidReturnStatement occurrences="1">
<code>$this-&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/Migration/SetAcceptedStatus.php">
<ImplicitToStringCast occurrences="1">
<code>$query-&gt;createNamedParameter([IShare::TYPE_USER, IShare::TYPE_GROUP, IShare::TYPE_USERGROUP], IQueryBuilder::PARAM_INT_ARRAY)</code>
</ImplicitToStringCast>
</file>
<file src="apps/files_sharing/lib/Scanner.php">
<InvalidNullableReturnType occurrences="1">
<code>array</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="apps/files_sharing/lib/ShareBackend/File.php">
<InvalidScalarArgument occurrences="2">
<code>$itemSource</code>
<code>$itemSource</code>
</InvalidScalarArgument>
<MoreSpecificImplementedParamType occurrences="1">
<code>$shareWith</code>
</MoreSpecificImplementedParamType>
</file>
<file src="apps/files_sharing/lib/ShareBackend/Folder.php">
<UndefinedInterfaceMethod occurrences="1">
<code>fetchRow</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/files_sharing/lib/SharedMount.php">
<InvalidReturnType occurrences="1">
<code>bool</code>
</InvalidReturnType>
</file>
<file src="apps/files_sharing/lib/SharedStorage.php">
<FalsableReturnStatement occurrences="5">
<code>$this-&gt;sourceRootInfo</code>
<code>false</code>
<code>false</code>
<code>false</code>
<code>$this-&gt;nonMaskedStorage-&gt;fopen($this-&gt;getUnjailedPath($path), $mode)</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_UPDATE</code>
<code>$this-&gt;getPermissions($path) &amp; \OCP\Constants::PERMISSION_DELETE</code>
<code>$this-&gt;getPermissions($path) &amp; \OCP\Constants::PERMISSION_SHARE</code>
<code>new FailedCache()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="4">
<code>isCreatable</code>
<code>isUpdatable</code>
<code>isDeletable</code>
<code>isSharable</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="1">
<code>$this-&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/BackgroundJob/ExpireTrash.php">
<UndefinedClass occurrences="1">
<code>'Expiration'</code>
</UndefinedClass>
</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">
<ImplementedReturnTypeMismatch occurrences="1">
<code>ITrash</code>
</ImplementedReturnTypeMismatch>
<InvalidReturnStatement occurrences="1">
<code>$entry</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>ITrash</code>
</InvalidReturnType>
</file>
<file src="apps/files_trashbin/lib/Sabre/RestoreFolder.php">
<InvalidNullableReturnType occurrences="1">
<code>getChild</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="apps/files_trashbin/lib/Sabre/RootCollection.php">
<MismatchingDocblockReturnType occurrences="1">
<code>INode</code>
</MismatchingDocblockReturnType>
</file>
<file src="apps/files_trashbin/lib/Sabre/TrashHome.php">
<UndefinedFunction occurrences="1">
<code>\Sabre\Uri\split($this-&gt;principalInfo['uri'])</code>
</UndefinedFunction>
</file>
<file src="apps/files_trashbin/lib/Sabre/TrashRoot.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>ITrash</code>
</ImplementedReturnTypeMismatch>
<InvalidReturnStatement occurrences="1">
<code>$entry</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>ITrash</code>
</InvalidReturnType>
</file>
<file src="apps/files_trashbin/lib/Storage.php">
<InvalidArgument occurrences="1">
<code>'OCA\Files_Trashbin::moveToTrash'</code>
</InvalidArgument>
<InvalidOperand occurrences="1">
<code>$this-&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>
<UndefinedClass occurrences="2">
<code>'Expiration'</code>
<code>'Expiration'</code>
</UndefinedClass>
</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_DISPLAYNAME]['value']</code>
<code>$publicData[IAccountManager::PROPERTY_EMAIL]['value']</code>
<code>$publicData[IAccountManager::PROPERTY_ADDRESS]['value']</code>
<code>$publicData[IAccountManager::PROPERTY_WEBSITE]['value']</code>
<code>$publicData[IAccountManager::PROPERTY_TWITTER]['value']</code>
<code>$publicData[IAccountManager::PROPERTY_PHONE]['value']</code>
<code>$publicData[IAccountManager::PROPERTY_TWITTER]['signature']</code>
<code>$publicData[IAccountManager::PROPERTY_WEBSITE]['signature']</code>
<code>$publicData[IAccountManager::PROPERTY_WEBSITE]['verified']</code>
<code>$publicData[IAccountManager::PROPERTY_TWITTER]['verified']</code>
</InvalidArrayOffset>
<InvalidScalarArgument occurrences="1">
<code>$this-&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>getName</code>
<code>getRedirectUri</code>
<code>getClientIdentifier</code>
<code>getSecret</code>
</UndefinedMagicMethod>
</file>
<file src="apps/oauth2/lib/Db/AccessTokenMapper.php">
<InvalidCatch occurrences="1"/>
</file>
<file src="apps/oauth2/lib/Db/ClientMapper.php">
<InvalidCatch occurrences="2"/>
</file>
<file src="apps/provisioning_api/lib/AppInfo/Application.php">
<UndefinedInterfaceMethod occurrences="1">
<code>getSubAdmin</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/provisioning_api/lib/Controller/UsersController.php">
<InvalidScalarArgument occurrences="1">
<code>$quota</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="1">
<code>$groupid === null || trim($groupid) === ''</code>
</RedundantCondition>
<TypeDoesNotContainNull occurrences="1">
<code>$groupid === null</code>
</TypeDoesNotContainNull>
<UndefinedInterfaceMethod occurrences="1">
<code>getSubAdmin</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/settings/lib/AppInfo/Application.php">
<InvalidScalarArgument occurrences="1">
<code>\OC_User::getUser()</code>
</InvalidScalarArgument>
<UndefinedClass occurrences="1">
<code>'ServerContainer'</code>
</UndefinedClass>
<UndefinedInterfaceMethod occurrences="1">
<code>getSettingsManager</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/settings/lib/BackgroundJobs/VerifyUserData.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$jobList</code>
</MoreSpecificImplementedParamType>
</file>
<file src="apps/settings/lib/Controller/AppSettingsController.php">
<UndefinedInterfaceMethod occurrences="1">
<code>ignoreNextcloudRequirementForApp</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/settings/lib/Controller/CheckSetupController.php">
<InvalidArgument occurrences="3">
<code>IDBConnection::CHECK_MISSING_INDEXES_EVENT</code>
<code>IDBConnection::CHECK_MISSING_PRIMARY_KEYS_EVENT</code>
<code>IDBConnection::CHECK_MISSING_COLUMNS_EVENT</code>
</InvalidArgument>
<InvalidOperand occurrences="1">
<code>$lastCronRun</code>
</InvalidOperand>
<InvalidReturnStatement occurrences="2">
<code>new DataDisplayResponse('Integrity checker has been disabled. Integrity cannot be verified.')</code>
<code>$response</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>DataResponse</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="2">
<code>0</code>
<code>$lastCronRun</code>
</InvalidScalarArgument>
<TooManyArguments occurrences="3">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="apps/settings/lib/Controller/MailSettingsController.php">
<InvalidArgument occurrences="3">
<code>$this-&gt;l10n-&gt;t('Invalid SMTP password.')</code>
<code>$this-&gt;l10n-&gt;t('A problem occurred while sending the email. Please revise your settings. (Error: %s)', [$e-&gt;getMessage()])</code>
<code>$this-&gt;l10n-&gt;t('You need to set your user email before being able to send test emails.')</code>
</InvalidArgument>
</file>
<file src="apps/settings/lib/Controller/UsersController.php">
<UndefinedClass occurrences="1">
<code>'OC\Settings\Users::loadAdditionalScripts'</code>
</UndefinedClass>
</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">
<ImplicitToStringCast occurrences="1">
<code>$qb-&gt;createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
</ImplicitToStringCast>
<InvalidReturnStatement occurrences="1">
<code>$shares</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>getSharesInFolder</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="4">
<code>$shareId</code>
<code>$shareId</code>
<code>$share-&gt;getId()</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>$type</code>
<code>$type</code>
<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>
</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_w</code>
<code>$offset_h</code>
</InvalidScalarArgument>
</file>
<file src="apps/theming/lib/ImageManager.php">
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
</file>
<file src="apps/theming/lib/ThemingDefaults.php">
<InvalidReturnStatement occurrences="1">
<code>\OCP\Util::sanitizeHTML($this-&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>
<NullArgument occurrences="2">
<code>null</code>
<code>null</code>
</NullArgument>
</file>
<file src="apps/theming/lib/Util.php">
<InvalidReturnStatement occurrences="1">
<code>0</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>int[]</code>
</InvalidReturnType>
<RedundantCondition occurrences="1">
<code>$folder !== null</code>
</RedundantCondition>
</file>
<file src="apps/twofactor_backupcodes/lib/BackgroundJob/CheckBackupCodes.php">
<InvalidPropertyAssignmentValue occurrences="1">
<code>$registry</code>
</InvalidPropertyAssignmentValue>
<InvalidReturnType occurrences="1">
<code>run</code>
</InvalidReturnType>
<UndefinedMethod occurrences="1">
<code>getProviderStates</code>
</UndefinedMethod>
</file>
<file src="apps/twofactor_backupcodes/lib/BackgroundJob/RememberBackupCodesJob.php">
<InvalidArgument occurrences="1">
<code>bool</code>
</InvalidArgument>
</file>
<file src="apps/twofactor_backupcodes/lib/Listener/ProviderDisabled.php">
<InvalidArgument occurrences="1">
<code>bool</code>
</InvalidArgument>
</file>
<file src="apps/updatenotification/lib/Controller/AdminController.php">
<InvalidArgument occurrences="1">
<code>$newToken</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="2">
<code>0</code>
<code>$this-&gt;timeFactory-&gt;getTime()</code>
</InvalidScalarArgument>
</file>
<file src="apps/updatenotification/lib/Notification/BackgroundJob.php">
<InvalidPropertyAssignmentValue occurrences="1">
<code>$this-&gt;users</code>
</InvalidPropertyAssignmentValue>
<InvalidScalarArgument occurrences="3">
<code>0</code>
<code>$errors</code>
<code>0</code>
</InvalidScalarArgument>
</file>
<file src="apps/updatenotification/lib/Notification/Notifier.php">
<InvalidScalarArgument occurrences="1">
<code>0</code>
</InvalidScalarArgument>
</file>
<file src="apps/updatenotification/lib/ResetTokenBackgroundJob.php">
<InvalidOperand occurrences="1">
<code>$this-&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>$values</code>
<code>$uuid</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string[]</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="4">
<code>[$attr =&gt; $result['values']]</code>
<code>$key</code>
<code>$key</code>
<code>$e-&gt;getCode()</code>
</InvalidScalarArgument>
<NullArgument occurrences="1">
<code>$cookie</code>
</NullArgument>
<RedundantCondition occurrences="5">
<code>!isset($ldapName[0]) &amp;&amp; empty($ldapName[0])</code>
<code>is_null($limit)</code>
<code>!is_null($limit) &amp;&amp; (int)$this-&gt;connection-&gt;ldapPagingSize !== 0</code>
<code>is_array($result)</code>
<code>$limit === 0 &amp;&amp; !empty($this-&gt;lastCookie)</code>
</RedundantCondition>
<TypeDoesNotContainNull occurrences="2">
<code>is_null($findings)</code>
<code>!$attribute === null</code>
</TypeDoesNotContainNull>
<TypeDoesNotContainType occurrences="3">
<code>is_array($attr)</code>
<code>!is_null($attr) &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>'dn'</code>
<code>$this-&gt;cachedGroupsByMember[$uid]</code>
</InvalidArgument>
<InvalidPropertyAssignmentValue occurrences="6">
<code>new CappedMemoryCache()</code>
<code>new CappedMemoryCache()</code>
<code>new CappedMemoryCache()</code>
<code>$this-&gt;cachedGroupMembers</code>
<code>$this-&gt;cachedNestedGroups</code>
<code>$this-&gt;cachedGroupsByMember</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="4">
<code>!is_array($members) || count($members) === 0</code>
<code>is_array($members)</code>
<code>is_array($list)</code>
<code>is_array($groupDNs)</code>
</RedundantCondition>
<TypeDoesNotContainType occurrences="1">
<code>is_array($members)</code>
</TypeDoesNotContainType>
</file>
<file src="apps/user_ldap/lib/Helper.php">
<InvalidScalarArgument occurrences="1">
<code>$lastNumber + 1</code>
</InvalidScalarArgument>
</file>
<file src="apps/user_ldap/lib/ILDAPWrapper.php">
<UndefinedDocblockClass occurrences="1">
<code>Resource</code>
</UndefinedDocblockClass>
</file>
<file src="apps/user_ldap/lib/Jobs/CleanUp.php">
<InvalidScalarArgument occurrences="3">
<code>0</code>
<code>$newOffset</code>
<code>50</code>
</InvalidScalarArgument>
</file>
<file src="apps/user_ldap/lib/Jobs/Sync.php">
<InvalidOperand occurrences="2">
<code>$lastChange</code>
<code>$i</code>
</InvalidOperand>
<InvalidScalarArgument occurrences="5">
<code>self::MIN_INTERVAL</code>
<code>$interval</code>
<code>0</code>
<code>0</code>
</InvalidScalarArgument>
<MoreSpecificImplementedParamType occurrences="1">
<code>$argument</code>
</MoreSpecificImplementedParamType>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="apps/user_ldap/lib/Jobs/UpdateGroups.php">
<InvalidReturnStatement occurrences="1">
<code>\OC::$server-&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>$link</code>
<code>$link</code>
<code>$result</code>
<code>$link</code>
<code>$link</code>
<code>$link</code>
<code>$result</code>
<code>$link</code>
<code>$result</code>
<code>$link</code>
<code>$result</code>
<code>$link</code>
<code>$result</code>
<code>$link</code>
<code>$link</code>
<code>$baseDN</code>
<code>$link</code>
<code>$baseDN</code>
<code>$link</code>
<code>$link</code>
<code>$link</code>
<code>$resource</code>
</ImplementedParamTypeMismatch>
<InvalidArgument occurrences="1">
<code>$baseDN</code>
</InvalidArgument>
<LessSpecificImplementedReturnType occurrences="13">
<code>bool|mixed</code>
<code>mixed|true</code>
<code>mixed</code>
<code>mixed</code>
<code>array|mixed</code>
<code>mixed|string</code>
<code>array|mixed</code>
<code>mixed</code>
<code>mixed</code>
<code>mixed</code>
<code>bool|mixed</code>
<code>mixed|true</code>
<code>bool|mixed</code>
</LessSpecificImplementedReturnType>
<UndefinedDocblockClass occurrences="1">
<code>Resource</code>
</UndefinedDocblockClass>
</file>
<file src="apps/user_ldap/lib/LDAPProviderFactory.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>OCP\LDAP\ILDAPProvider</code>
</ImplementedReturnTypeMismatch>
<InvalidReturnStatement occurrences="1"/>
<InvalidReturnType occurrences="1">
<code>OCP\LDAP\ILDAPProvider</code>
</InvalidReturnType>
<UndefinedDocblockClass occurrences="1">
<code>OCP\LDAP\ILDAPProvider</code>
</UndefinedDocblockClass>
</file>
<file src="apps/user_ldap/lib/LogWrapper.php">
<InvalidReturnType occurrences="1">
<code>bool</code>
</InvalidReturnType>
</file>
<file src="apps/user_ldap/lib/Mapping/AbstractMapping.php">
<ImplicitToStringCast occurrences="1">
<code>$qb-&gt;createNamedParameter($fdns, QueryBuilder::PARAM_STR_ARRAY)</code>
</ImplicitToStringCast>
</file>
<file src="apps/user_ldap/lib/Proxy.php">
<InvalidDocblock occurrences="1">
<code>protected function handleRequest($id, $method, $parameters, $passOnWhen = false) {</code>
</InvalidDocblock>
</file>
<file src="apps/user_ldap/lib/User/Manager.php">
<InvalidDocblock occurrences="1">
<code>public function setLdapAccess(Access $access) {</code>
</InvalidDocblock>
</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>true</code>
<code>1</code>
</InvalidScalarArgument>
</file>
<file src="apps/user_ldap/lib/User_LDAP.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>string|false</code>
</ImplementedReturnTypeMismatch>
<InvalidScalarArgument occurrences="3">
<code>$path</code>
<code>$limit</code>
<code>$offset</code>
</InvalidScalarArgument>
<MoreSpecificImplementedParamType occurrences="2">
<code>$limit</code>
<code>$offset</code>
</MoreSpecificImplementedParamType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="apps/user_ldap/lib/User_Proxy.php">
<FalseOperand occurrences="1">
<code>$users</code>
</FalseOperand>
</file>
<file src="apps/user_ldap/lib/Wizard.php">
<FalsableReturnStatement occurrences="2">
<code>false</code>
<code>false</code>
</FalsableReturnStatement>
<InvalidArgument occurrences="4">
<code>$er</code>
<code>$er</code>
<code>$er</code>
<code>$attributes</code>
</InvalidArgument>
<InvalidDocblock occurrences="3">
<code>private function detectGroupMemberAssoc() {</code>
<code>private function checkAgentRequirements() {</code>
<code>private function getAttributeValuesFromEntry($result, $attribute, &amp;$known) {</code>
</InvalidDocblock>
<InvalidScalarArgument occurrences="8">
<code>$port</code>
<code>$port</code>
<code>LDAP_OPT_PROTOCOL_VERSION</code>
<code>LDAP_OPT_REFERRALS</code>
<code>LDAP_OPT_NETWORK_TIMEOUT</code>
<code>LDAP_OPT_PROTOCOL_VERSION</code>
<code>LDAP_OPT_REFERRALS</code>
<code>LDAP_OPT_NETWORK_TIMEOUT</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="2">
<code>is_array($item['cn'])</code>
<code>!isset($item['cn']) &amp;&amp; !is_array($item['cn']) &amp;&amp; !isset($item['cn'][0])</code>
</RedundantCondition>
<TypeDoesNotContainType occurrences="1">
<code>$total === false</code>
</TypeDoesNotContainType>
</file>
<file src="apps/user_status/lib/AppInfo/Application.php">
<UndefinedInterfaceMethod occurrences="1">
<code>registerProvider</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/user_status/lib/BackgroundJob/ClearOldStatusesBackgroundJob.php">
<InvalidReturnType occurrences="1">
<code>run</code>
</InvalidReturnType>
</file>
<file src="apps/user_status/lib/Db/UserStatusMapper.php">
<ImplicitToStringCast occurrences="2">
<code>$qb-&gt;createNamedParameter([IUserStatus::ONLINE, IUserStatus::AWAY, IUserStatus::OFFLINE], IQueryBuilder::PARAM_STR_ARRAY)</code>
<code>$qb-&gt;createNamedParameter($userIds, IQueryBuilder::PARAM_STR_ARRAY)</code>
</ImplicitToStringCast>
<MoreSpecificImplementedParamType occurrences="1"/>
</file>
<file src="apps/user_status/lib/Service/StatusService.php">
<MismatchingDocblockParamType occurrences="1">
<code>string|null</code>
</MismatchingDocblockParamType>
</file>
<file src="apps/workflowengine/lib/Check/AbstractStringCheck.php">
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="apps/workflowengine/lib/Check/FileSize.php">
<FalsableReturnStatement occurrences="1">
<code>$this-&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">
<InvalidArgument occurrences="1">
<code>$deleted</code>
</InvalidArgument>
<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">
<ImplicitToStringCast occurrences="1">
<code>$query-&gt;createNamedParameter($checkIds, IQueryBuilder::PARAM_INT_ARRAY)</code>
</ImplicitToStringCast>
<InvalidArgument occurrences="3">
<code>IManager::EVENT_NAME_REG_ENTITY</code>
<code>IManager::EVENT_NAME_REG_OPERATION</code>
<code>IManager::EVENT_NAME_REG_CHECK</code>
</InvalidArgument>
<InvalidPropertyAssignmentValue occurrences="1">
<code>[]</code>
</InvalidPropertyAssignmentValue>
<InvalidReturnStatement occurrences="2">
<code>array_merge($this-&gt;getBuildInChecks(), $this-&gt;registeredChecks)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>ICheck[]</code>
<code>IEntity[]</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="1">
<code>$missingCheck</code>
</InvalidScalarArgument>
<TooManyArguments occurrences="3">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="apps/workflowengine/lib/Migration/PopulateNewlyIntroducedDatabaseFields.php">
<InvalidReturnStatement occurrences="1">
<code>$selectQuery-&gt;execute()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>Statement</code>
</InvalidReturnType>
</file>
<file src="apps/workflowengine/lib/Service/RuleMatcher.php">
<UndefinedInterfaceMethod occurrences="5">
<code>isUserScopeEnabled</code>
<code>getOperations</code>
<code>getAllConfiguredScopesForOperation</code>
<code>getOperations</code>
<code>getChecks</code>
</UndefinedInterfaceMethod>
</file>
<file src="apps/workflowengine/lib/Settings/ASettings.php">
<UndefinedClass occurrences="1">
<code>'OCP\WorkflowEngine::loadAdditionalSettingScripts'</code>
</UndefinedClass>
</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/BackgroundJobs/CleanupLoginFlowV2.php">
<InvalidReturnType occurrences="1">
<code>run</code>
</InvalidReturnType>
</file>
<file src="core/Command/App/CheckCode.php">
<InvalidScalarArgument occurrences="1"/>
</file>
<file src="core/Command/App/GetPath.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>null|int</code>
</ImplementedReturnTypeMismatch>
<MismatchingDocblockReturnType occurrences="1">
<code>null|int</code>
</MismatchingDocblockReturnType>
</file>
<file src="core/Command/App/Install.php">
<TypeDoesNotContainType occurrences="1">
<code>$result === false</code>
</TypeDoesNotContainType>
</file>
<file src="core/Command/App/ListApps.php">
<LessSpecificImplementedReturnType occurrences="1">
<code>array</code>
</LessSpecificImplementedReturnType>
</file>
<file src="core/Command/Broadcast/Test.php">
<UndefinedClass occurrences="1">
<code>'broadcasttest'</code>
</UndefinedClass>
</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">
<InternalMethod occurrences="1">
<code>setFilterSchemaAssetsExpression</code>
</InternalMethod>
<InvalidArgument occurrences="2">
<code>$chunkSize</code>
<code>$chunk * $chunkSize</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="2">
<code>0</code>
<code>1</code>
</InvalidScalarArgument>
</file>
<file src="core/Command/Db/Migrations/GenerateFromSchemaFileCommand.php">
<InvalidScalarArgument occurrences="1">
<code>$column-&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>1</code>
<code>1</code>
<code>1</code>
<code>0</code>
<code>1</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
</InvalidScalarArgument>
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&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">
<RedundantCondition occurrences="2">
<code>!is_string($stateToken) || !is_string($currentToken)</code>
<code>is_string($stateToken)</code>
</RedundantCondition>
<TypeDoesNotContainType occurrences="1">
<code>is_string($stateToken)</code>
</TypeDoesNotContainType>
</file>
<file src="core/Controller/CollaborationResourcesController.php">
<UndefinedInterfaceMethod occurrences="1">
<code>searchCollections</code>
</UndefinedInterfaceMethod>
</file>
<file src="core/Controller/SvgController.php">
<TypeDoesNotContainNull occurrences="1">
<code>$svg === null</code>
</TypeDoesNotContainNull>
</file>
<file src="core/Controller/UnifiedSearchController.php">
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
<UndefinedInterfaceMethod occurrences="1">
<code>findMatchingRoute</code>
</UndefinedInterfaceMethod>
</file>
<file src="core/Middleware/TwoFactorMiddleware.php">
<NoInterfaceProperties occurrences="1">
<code>$this-&gt;request-&gt;server</code>
</NoInterfaceProperties>
</file>
<file src="core/Migrations/Version14000Date20180404140050.php">
<ImplicitToStringCast occurrences="1">
<code>$qb-&gt;func()-&gt;lower('uid')</code>
</ImplicitToStringCast>
</file>
<file src="core/ajax/update.php">
<InvalidScalarArgument occurrences="12">
<code>0</code>
<code>1</code>
<code>0</code>
<code>1</code>
<code>0</code>
<code>1</code>
<code>0</code>
<code>1</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
</InvalidScalarArgument>
</file>
<file src="core/register_command.php">
<NullArgument occurrences="3">
<code>null</code>
<code>null</code>
<code>null</code>
</NullArgument>
</file>
<file src="core/routes.php">
<InvalidScope occurrences="2">
<code>$this</code>
<code>$this</code>
</InvalidScope>
</file>
<file src="core/templates/layout.public.php">
<UndefinedInterfaceMethod occurrences="1">
<code>getIcon</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/base.php">
<InternalMethod occurrences="2">
<code>getIncompatibleApps</code>
<code>getAppsNeedingUpgrade</code>
</InternalMethod>
<InvalidArgument occurrences="1">
<code>$restrictions</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="1">
<code>true</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="1">
<code>((array)$request-&gt;getParam('appid')) !== ''</code>
</RedundantCondition>
<UndefinedInterfaceMethod occurrences="1">
<code>listen</code>
</UndefinedInterfaceMethod>
</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_ENABLE</code>
<code>ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS</code>
<code>ManagerEvent::EVENT_APP_DISABLE</code>
</InvalidArgument>
<LessSpecificImplementedReturnType occurrences="2">
<code>array</code>
<code>array</code>
</LessSpecificImplementedReturnType>
<TooManyArguments occurrences="3">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
<TypeDoesNotContainNull occurrences="1">
<code>$group === null</code>
</TypeDoesNotContainNull>
</file>
<file src="lib/private/App/AppStore/Fetcher/AppFetcher.php">
<InvalidScalarArgument occurrences="1">
<code>'version_compare'</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/App/AppStore/Fetcher/Fetcher.php">
<TooManyArguments occurrences="1">
<code>fetch</code>
</TooManyArguments>
</file>
<file src="lib/private/App/CodeChecker/MigrationSchemaChecker.php">
<InvalidPropertyAssignmentValue occurrences="2">
<code>$this-&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/App.php">
<UndefinedInterfaceMethod occurrences="2">
<code>setUrlParameters</code>
<code>setUrlParameters</code>
</UndefinedInterfaceMethod>
</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>
<UndefinedClass occurrences="1">
<code>'AppName'</code>
</UndefinedClass>
<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="11">
<code>$this-&gt;server[$name]</code>
<code>$this-&gt;method</code>
<code>isset($this-&gt;files[$key]) ? $this-&gt;files[$key] : null</code>
<code>isset($this-&gt;env[$key]) ? $this-&gt;env[$key] : null</code>
<code>isset($this-&gt;cookies[$key]) ? $this-&gt;cookies[$key] : null</code>
<code>$this-&gt;server['UNIQUE_ID']</code>
<code>$remoteAddress</code>
<code>$uri</code>
<code>$name</code>
<code>$this-&gt;getOverwriteHost()</code>
<code>$host</code>
</NullableReturnStatement>
<RedundantCondition occurrences="1">
<code>\is_array($params)</code>
</RedundantCondition>
<UndefinedFunction occurrences="1">
<code>\Sabre\Uri\split($scriptName)</code>
</UndefinedFunction>
</file>
<file src="lib/private/AppFramework/Logger.php">
<InvalidReturnType occurrences="1">
<code>log</code>
</InvalidReturnType>
</file>
<file src="lib/private/AppFramework/Middleware/AdditionalScriptsMiddleware.php">
<InvalidArgument occurrences="2">
<code>TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS</code>
<code>TemplateResponse::EVENT_LOAD_ADDITIONAL_SCRIPTS_LOGGEDIN</code>
</InvalidArgument>
<TooManyArguments occurrences="2">
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="lib/private/AppFramework/Middleware/OCSMiddleware.php">
<InternalMethod occurrences="1">
<code>setOCSVersion</code>
</InternalMethod>
<InvalidScalarArgument occurrences="1">
<code>$code</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/AppFramework/Middleware/Security/CORSMiddleware.php">
<InvalidScalarArgument occurrences="1">
<code>$exception-&gt;getCode()</code>
</InvalidScalarArgument>
<NoInterfaceProperties occurrences="3">
<code>$this-&gt;request-&gt;server</code>
<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>$userLimit</code>
<code>$userPeriod</code>
<code>$anonLimit</code>
<code>$anonPeriod</code>
<code>$exception-&gt;getCode()</code>
<code>$exception-&gt;getCode()</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/ScopedPsrLogger.php">
<InvalidArgument occurrences="1"/>
</file>
<file src="lib/private/AppFramework/Services/AppConfig.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$default</code>
</MoreSpecificImplementedParamType>
</file>
<file src="lib/private/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 &amp;&amp; $this-&gt;session-&gt;exists('login_credentials')</code>
</RedundantCondition>
</file>
<file src="lib/private/Authentication/Token/DefaultToken.php">
<UndefinedMethod occurrences="14">
<code>parent::getLoginName()</code>
<code>parent::getPassword()</code>
<code>parent::getLastCheck()</code>
<code>parent::setLastCheck($time)</code>
<code>parent::getScope()</code>
<code>parent::setScope(json_encode($scope))</code>
<code>parent::setScope((string)$scope)</code>
<code>parent::getName()</code>
<code>parent::setName($name)</code>
<code>parent::getRemember()</code>
<code>parent::setToken($token)</code>
<code>parent::setPassword($password)</code>
<code>parent::setExpires($expires)</code>
<code>parent::getExpires()</code>
</UndefinedMethod>
</file>
<file src="lib/private/Authentication/Token/DefaultTokenProvider.php">
<InvalidArgument occurrences="1">
<code>$token</code>
</InvalidArgument>
</file>
<file src="lib/private/Authentication/Token/PublicKeyToken.php">
<UndefinedMethod occurrences="16">
<code>parent::getLoginName()</code>
<code>parent::getPassword()</code>
<code>parent::getLastCheck()</code>
<code>parent::setLastCheck($time)</code>
<code>parent::getScope()</code>
<code>parent::setScope(json_encode($scope))</code>
<code>parent::setScope((string)$scope)</code>
<code>parent::getName()</code>
<code>parent::setName($name)</code>
<code>parent::getRemember()</code>
<code>parent::setToken($token)</code>
<code>parent::setPassword($password)</code>
<code>parent::setExpires($expires)</code>
<code>parent::getExpires()</code>
<code>parent::setPasswordInvalid($invalid)</code>
<code>parent::setType(IToken::WIPE_TOKEN)</code>
</UndefinedMethod>
</file>
<file src="lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php">
<InvalidReturnStatement occurrences="2">
<code>$providers</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>string[]</code>
<code>int[]</code>
</InvalidReturnType>
</file>
<file src="lib/private/Authentication/TwoFactorAuth/Manager.php">
<InvalidArgument occurrences="3">
<code>IProvider::EVENT_SUCCESS</code>
<code>IProvider::EVENT_FAILED</code>
<code>$tokenId</code>
</InvalidArgument>
<InvalidReturnStatement occurrences="1">
<code>$providerStates</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string[]</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="3">
<code>$tokenId</code>
<code>$token-&gt;getId()</code>
<code>$this-&gt;timeFactory-&gt;getTime()</code>
</InvalidScalarArgument>
<TooManyArguments occurrences="2">
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="lib/private/Authentication/TwoFactorAuth/ProviderSet.php">
<InvalidArgument occurrences="1">
<code>$this-&gt;providers</code>
</InvalidArgument>
<InvalidPropertyAssignmentValue occurrences="2">
<code>[]</code>
<code>$this-&gt;providers</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>(int) $this-&gt;config-&gt;getUserValue($this-&gt;user-&gt;getUID(), 'avatar', 'version', 0) + 1</code>
<code>$data</code>
<code>$data</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/BackgroundJob/JobList.php">
<InvalidScalarArgument occurrences="1">
<code>$job-&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>
</file>
<file src="lib/private/Comments/Manager.php">
<InvalidArgument occurrences="2"/>
<InvalidDocblock occurrences="1">
<code>public function getForObjectSince(</code>
</InvalidDocblock>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</file>
<file src="lib/private/Config.php">
<TypeDoesNotContainType occurrences="1">
<code>$needsUpdate</code>
</TypeDoesNotContainType>
</file>
<file src="lib/private/Console/Application.php">
<InvalidArgument occurrences="1">
<code>ConsoleEvent::EVENT_RUN</code>
</InvalidArgument>
<NoInterfaceProperties occurrences="1">
<code>$this-&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>bool</code>
<code>array</code>
<code>IAddressBook</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="5">
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
</NullableReturnStatement>
</file>
<file src="lib/private/DB/Adapter.php">
<InvalidReturnStatement occurrences="1">
<code>$builder-&gt;execute()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>int</code>
</InvalidReturnType>
</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>
<InvalidReturnStatement occurrences="2">
<code>$this-&gt;adapter-&gt;lastInsertId($seqName)</code>
<code>$insertQb-&gt;execute()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>string</code>
<code>int</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="1">
<code>$e-&gt;getCode()</code>
</InvalidScalarArgument>
<ParamNameMismatch occurrences="1">
<code>$statement</code>
</ParamNameMismatch>
</file>
<file src="lib/private/DB/ConnectionFactory.php">
<InternalClass occurrences="1">
<code>new Configuration()</code>
</InternalClass>
</file>
<file src="lib/private/DB/MDB2SchemaReader.php">
<InvalidScalarArgument occurrences="1">
<code>$options['default']</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/DB/MDB2SchemaWriter.php">
<InternalMethod occurrences="1">
<code>setFilterSchemaAssetsExpression</code>
</InternalMethod>
<InvalidScalarArgument occurrences="1">
<code>$column-&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;migrationsPath</code>
<code>$this-&gt;migrationsNamespace</code>
<code>$this-&gt;migrationsPath</code>
<code>$this-&gt;migrationsNamespace</code>
</UndefinedThisPropertyAssignment>
<UndefinedThisPropertyFetch occurrences="4">
<code>$this-&gt;migrationsPath</code>
<code>$this-&gt;migrationsNamespace</code>
<code>$this-&gt;migrationsNamespace</code>
<code>$this-&gt;migrationsPath</code>
</UndefinedThisPropertyFetch>
</file>
<file src="lib/private/DB/Migrator.php">
<InternalMethod occurrences="3">
<code>setFilterSchemaAssetsExpression</code>
<code>setFilterSchemaAssetsExpression</code>
<code>setFilterSchemaAssetsExpression</code>
</InternalMethod>
<InvalidArgument occurrences="2">
<code>'\OC\DB\Migrator::executeSql'</code>
<code>'\OC\DB\Migrator::checkTable'</code>
</InvalidArgument>
<TooManyArguments occurrences="2">
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="lib/private/DB/OracleConnection.php">
<InvalidArrayAccess occurrences="1">
<code>$key[0]</code>
</InvalidArrayAccess>
</file>
<file src="lib/private/DB/PgSqlTools.php">
<InternalMethod occurrences="1">
<code>setFilterSchemaAssetsExpression</code>
</InternalMethod>
</file>
<file src="lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php">
<ImplicitToStringCast occurrences="1">
<code>$this-&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/OCIExpressionBuilder.php">
<ImplicitToStringCast occurrences="1">
<code>$this-&gt;functionBuilder-&gt;lower($x)</code>
</ImplicitToStringCast>
<InvalidReturnStatement occurrences="1">
<code>parent::castColumn($column, $type)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>IQueryFunction</code>
</InvalidReturnType>
</file>
<file src="lib/private/DB/QueryBuilder/ExpressionBuilder/SqliteExpressionBuilder.php">
<ImplicitToStringCast occurrences="1">
<code>$this-&gt;functionBuilder-&gt;lower($x)</code>
</ImplicitToStringCast>
</file>
<file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
<ImplicitToStringCast occurrences="1">
<code>$value</code>
</ImplicitToStringCast>
<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/DateTimeFormatter.php">
<FalsableReturnStatement occurrences="1"/>
<InvalidDocblock occurrences="2">
<code>public function formatDateSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code>
<code>public function formatTimeSpan($timestamp, $baseTimestamp = null, \OCP\IL10N $l = null) {</code>
</InvalidDocblock>
<InvalidReturnStatement occurrences="1"/>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
</file>
<file src="lib/private/DateTimeZone.php">
<InvalidScalarArgument occurrences="1">
<code>$timestamp</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/Diagnostics/Query.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>float</code>
</ImplementedReturnTypeMismatch>
</file>
<file src="lib/private/Diagnostics/QueryLogger.php">
<InvalidScalarArgument occurrences="1">
<code>microtime(true)</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/DirectEditing/Manager.php">
<InvalidReturnStatement occurrences="1">
<code>$query-&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">
<ImplicitToStringCast occurrences="2">
<code>$fun-&gt;md5($newPathFunction)</code>
<code>$newPathFunction</code>
</ImplicitToStringCast>
<InvalidArgument occurrences="1">
<code>$parentData</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="1">
<code>array</code>
</InvalidNullableReturnType>
<InvalidScalarArgument occurrences="3">
<code>$path</code>
<code>$path</code>
<code>\OC_Util::normalizeUnicode($path)</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="2">
<code>null</code>
<code>null</code>
</NullableReturnStatement>
<UndefinedInterfaceMethod occurrences="5">
<code>$sourceData</code>
<code>$sourceData</code>
<code>$parentData</code>
<code>$parentData</code>
<code>$entry</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Cache/CacheQueryBuilder.php">
<ImplicitToStringCast occurrences="1">
<code>$this-&gt;createNamedParameter($parents, IQueryBuilder::PARAM_INT_ARRAY)</code>
</ImplicitToStringCast>
</file>
<file src="lib/private/Files/Cache/FailedCache.php">
<InvalidReturnStatement occurrences="1">
<code>[]</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="3">
<code>put</code>
<code>insert</code>
<code>getIncomplete</code>
</InvalidReturnType>
</file>
<file src="lib/private/Files/Cache/HomeCache.php">
<FalsableReturnStatement occurrences="1">
<code>$data</code>
</FalsableReturnStatement>
<MoreSpecificImplementedParamType occurrences="1">
<code>$path</code>
</MoreSpecificImplementedParamType>
<UndefinedInterfaceMethod occurrences="5">
<code>$entry</code>
<code>$entry</code>
<code>$entry</code>
<code>$filesData</code>
<code>$data</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Cache/LocalRootScanner.php">
<InvalidNullableReturnType occurrences="2">
<code>scanFile</code>
<code>scan</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="2">
<code>null</code>
<code>null</code>
</NullableReturnStatement>
</file>
<file src="lib/private/Files/Cache/Propagator.php">
<ImplicitToStringCast occurrences="4">
<code>$builder-&gt;func()-&gt;greatest('mtime', $builder-&gt;createNamedParameter((int)$time, IQueryBuilder::PARAM_INT))</code>
<code>$query-&gt;func()-&gt;greatest('mtime', $query-&gt;createParameter('time'))</code>
<code>$sizeQuery-&gt;func()-&gt;add('size', $sizeQuery-&gt;createParameter('size'))</code>
</ImplicitToStringCast>
</file>
<file src="lib/private/Files/Cache/QuerySearchHelper.php">
<InvalidScalarArgument occurrences="4">
<code>$value</code>
<code>$value</code>
<code>$value</code>
<code>$value</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/Files/Cache/Scanner.php">
<InvalidNullableReturnType occurrences="1">
<code>array</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1">
<code>$existingChildren</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>array[]</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="2">
<code>$path</code>
<code>self::SCAN_RECURSIVE_INCOMPLETE</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="4">
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
</NullableReturnStatement>
<TypeDoesNotContainType occurrences="1">
<code>$data ?? $this-&gt;getData($file)</code>
</TypeDoesNotContainType>
<UndefinedInterfaceMethod occurrences="1">
<code>$child</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Cache/Storage.php">
<InvalidNullableReturnType occurrences="1">
<code>array</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>self::getGlobalCache()-&gt;getStorageInfo($storageId)</code>
</NullableReturnStatement>
</file>
<file src="lib/private/Files/Cache/StorageGlobal.php">
<ImplicitToStringCast occurrences="1">
<code>$builder-&gt;createNamedParameter(array_values($storageIds), IQueryBuilder::PARAM_STR_ARRAY)</code>
</ImplicitToStringCast>
</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/Watcher.php">
<UndefinedInterfaceMethod occurrences="3">
<code>$cachedData</code>
<code>$entry</code>
<code>$entry</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Cache/Wrapper/CacheJail.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>array</code>
</ImplementedReturnTypeMismatch>
<InvalidReturnStatement occurrences="1">
<code>$entry</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>array</code>
</InvalidReturnType>
<LessSpecificImplementedReturnType occurrences="2">
<code>array</code>
<code>array</code>
</LessSpecificImplementedReturnType>
<UndefinedInterfaceMethod occurrences="1">
<code>$entry</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Cache/Wrapper/CachePermissionsMask.php">
<InvalidReturnStatement occurrences="1">
<code>$entry</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>formatCacheEntry</code>
</InvalidReturnType>
<UndefinedInterfaceMethod occurrences="1">
<code>$entry</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Cache/Wrapper/CacheWrapper.php">
<LessSpecificImplementedReturnType occurrences="1">
<code>array</code>
</LessSpecificImplementedReturnType>
</file>
<file src="lib/private/Files/Config/CachedMountInfo.php">
<InvalidNullableReturnType occurrences="1">
<code>Node</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="lib/private/Files/Config/MountProviderCollection.php">
<InvalidOperand occurrences="1">
<code>$user</code>
</InvalidOperand>
<RedundantCondition occurrences="1">
<code>get_class($provider) !== 'OCA\Files_Sharing\MountProvider'</code>
</RedundantCondition>
<TypeDoesNotContainType occurrences="1">
<code>get_class($provider) === 'OCA\Files_Sharing\MountProvider'</code>
</TypeDoesNotContainType>
</file>
<file src="lib/private/Files/Config/UserMountCache.php">
<ImplicitToStringCast occurrences="1">
<code>$builder-&gt;createNamedParameter($userIds, IQueryBuilder::PARAM_STR_ARRAY)</code>
</ImplicitToStringCast>
<InvalidArgument occurrences="1"/>
<InvalidReturnType occurrences="2">
<code>removeUserStorageMount</code>
<code>remoteStorageMounts</code>
</InvalidReturnType>
<LessSpecificImplementedReturnType occurrences="1">
<code>array</code>
</LessSpecificImplementedReturnType>
<UndefinedInterfaceMethod occurrences="9">
<code>$this-&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>
<code>$this-&gt;cacheInfoCache</code>
<code>$this-&gt;cacheInfoCache</code>
<code>$this-&gt;cacheInfoCache</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/FileInfo.php">
<UndefinedInterfaceMethod occurrences="4">
<code>$this-&gt;data</code>
<code>$data</code>
<code>$data</code>
<code>$data</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Filesystem.php">
<InvalidNullableReturnType occurrences="1">
<code>string</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1">
<code>self::$defaultInstance-&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>new NonExistingFile($this-&gt;root, $this-&gt;view, $path)</code>
<code>$this-&gt;view-&gt;hash($type, $this-&gt;path, $raw)</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>new NonExistingFolder($this-&gt;root, $this-&gt;view, $path)</code>
<code>$this-&gt;root-&gt;get($this-&gt;getFullPath($path))</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>string</code>
<code>\OC\Files\Node\Node</code>
</InvalidReturnType>
<MoreSpecificImplementedParamType occurrences="1">
<code>$node</code>
</MoreSpecificImplementedParamType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
<UndefinedInterfaceMethod occurrences="2">
<code>getUnJailedPath</code>
<code>getSourceStorage</code>
</UndefinedInterfaceMethod>
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this-&gt;exists</code>
</UndefinedThisPropertyAssignment>
</file>
<file src="lib/private/Files/Node/HookConnector.php">
<InvalidArgument occurrences="13">
<code>'\OCP\Files::preWrite'</code>
<code>'\OCP\Files::postWrite'</code>
<code>'\OCP\Files::preCreate'</code>
<code>'\OCP\Files::postCreate'</code>
<code>'\OCP\Files::preDelete'</code>
<code>'\OCP\Files::postDelete'</code>
<code>'\OCP\Files::preTouch'</code>
<code>'\OCP\Files::postTouch'</code>
<code>'\OCP\Files::preRename'</code>
<code>'\OCP\Files::postRename'</code>
<code>'\OCP\Files::preCopy'</code>
<code>'\OCP\Files::postCopy'</code>
<code>'\OCP\Files::read'</code>
</InvalidArgument>
<TooManyArguments occurrences="13">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
<UndefinedInterfaceMethod occurrences="13">
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
<code>emit</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Node/LazyFolder.php">
<InvalidReturnStatement occurrences="1">
<code>$this-&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>$this-&gt;root-&gt;get($newPath)</code>
<code>$targetNode</code>
<code>$targetNode</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="4">
<code>Node</code>
<code>getChecksum</code>
<code>\OC\Files\Node\Node</code>
<code>\OC\Files\Node\Node</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="1">
<code>$this-&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>string</code>
<code>Node</code>
</ImplementedReturnTypeMismatch>
<InvalidNullableReturnType occurrences="7">
<code>\OC\User\User</code>
<code>\OC\Files\Mount\MountPoint</code>
<code>int</code>
<code>array</code>
<code>int</code>
<code>int</code>
<code>string</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;createNode($fullPath, $fileInfo)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="7">
<code>$this-&gt;user</code>
<code>$this-&gt;mountManager-&gt;find($mountPoint)</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
</NullableReturnStatement>
<UndefinedMethod occurrences="1">
<code>remove</code>
</UndefinedMethod>
</file>
<file src="lib/private/Files/ObjectStore/HomeObjectStoreStorage.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>false|string</code>
</ImplementedReturnTypeMismatch>
</file>
<file src="lib/private/Files/ObjectStore/NoopScanner.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$cacheData</code>
</MoreSpecificImplementedParamType>
</file>
<file src="lib/private/Files/ObjectStore/ObjectStoreStorage.php">
<ParamNameMismatch occurrences="2">
<code>$source</code>
<code>$target</code>
</ParamNameMismatch>
<UndefinedInterfaceMethod occurrences="4">
<code>$child</code>
<code>$child</code>
<code>$child</code>
<code>$file</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/ObjectStore/S3ConnectionTrait.php">
<InternalClass occurrences="1">
<code>ClientResolver::_default_signature_provider()</code>
</InternalClass>
<InternalMethod occurrences="1">
<code>ClientResolver::_default_signature_provider()</code>
</InternalMethod>
<UndefinedFunction occurrences="2">
<code>\Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())</code>
</UndefinedFunction>
</file>
<file src="lib/private/Files/ObjectStore/S3ObjectTrait.php">
<InternalMethod occurrences="1">
<code>upload</code>
</InternalMethod>
<UndefinedFunction occurrences="1">
<code>\Aws\serialize($command)</code>
</UndefinedFunction>
</file>
<file src="lib/private/Files/ObjectStore/S3Signature.php">
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
<UndefinedFunction occurrences="2">
<code>Psr7\modify_request($request, $modify)</code>
<code>Psr7\parse_query($query)</code>
</UndefinedFunction>
</file>
<file src="lib/private/Files/ObjectStore/StorageObjectStore.php">
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
</file>
<file src="lib/private/Files/ObjectStore/Swift.php">
<UndefinedFunction occurrences="2">
<code>stream_for($handle)</code>
<code>stream_for($handle)</code>
</UndefinedFunction>
</file>
<file src="lib/private/Files/ObjectStore/SwiftFactory.php">
<InvalidArrayOffset occurrences="1">
<code>$this-&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>getMetaData</code>
<code>array</code>
</InvalidNullableReturnType>
<InvalidOperand occurrences="1">
<code>!$permissions</code>
</InvalidOperand>
<InvalidReturnStatement occurrences="1">
<code>$count</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>file_put_contents</code>
</InvalidReturnType>
<NoInterfaceProperties occurrences="8">
<code>$storage-&gt;cache</code>
<code>$storage-&gt;cache</code>
<code>$storage-&gt;scanner</code>
<code>$storage-&gt;scanner</code>
<code>$storage-&gt;propagator</code>
<code>$storage-&gt;propagator</code>
<code>$storage-&gt;updater</code>
<code>$storage-&gt;updater</code>
</NoInterfaceProperties>
<NullableReturnStatement occurrences="2">
<code>null</code>
<code>$this-&gt;getStorageCache()-&gt;getAvailability()</code>
</NullableReturnStatement>
</file>
<file src="lib/private/Files/Storage/DAV.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>int</code>
</ImplementedReturnTypeMismatch>
<InvalidClass occurrences="2">
<code>ArrayCache</code>
<code>ArrayCache</code>
</InvalidClass>
<InvalidNullableReturnType occurrences="1">
<code>getETag</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="2">
<code>$response-&gt;getBody()</code>
<code>$result</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>fopen</code>
<code>int</code>
</InvalidReturnType>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
<UndefinedInterfaceMethod occurrences="3">
<code>$cachedData</code>
<code>$cachedData</code>
<code>$cachedData</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Storage/FailedStorage.php">
<InvalidReturnStatement occurrences="2">
<code>true</code>
<code>new FailedCache()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>verifyPath</code>
<code>getCache</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="39">
<code>$this-&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>$target</code>
<code>$source</code>
<code>$target</code>
</ParamNameMismatch>
</file>
<file src="lib/private/Files/Storage/Local.php">
<ImplicitToStringCast occurrences="1">
<code>$file</code>
</ImplicitToStringCast>
<InvalidNullableReturnType occurrences="1">
<code>getMetaData</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="3">
<code>$helper-&gt;getFileSize($fullPath)</code>
<code>file_put_contents($this-&gt;getSourcePath($path), $data)</code>
<code>$space</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="3">
<code>filesize</code>
<code>file_put_contents</code>
<code>free_space</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="2">
<code>null</code>
<code>$helper-&gt;getFileSize($fullPath)</code>
</NullableReturnStatement>
<TypeDoesNotContainNull occurrences="2">
<code>is_null($space)</code>
<code>$space === false || is_null($space)</code>
</TypeDoesNotContainNull>
<TypeDoesNotContainType occurrences="1">
<code>$stat === false</code>
</TypeDoesNotContainType>
</file>
<file src="lib/private/Files/Storage/LocalRootStorage.php">
<NoInterfaceProperties occurrences="2">
<code>$storage-&gt;scanner</code>
<code>$storage-&gt;scanner</code>
</NoInterfaceProperties>
</file>
<file src="lib/private/Files/Storage/Wrapper/Availability.php">
<InvalidNullableReturnType occurrences="34">
<code>mkdir</code>
<code>rmdir</code>
<code>opendir</code>
<code>is_dir</code>
<code>is_file</code>
<code>stat</code>
<code>filesize</code>
<code>isCreatable</code>
<code>isReadable</code>
<code>isUpdatable</code>
<code>isDeletable</code>
<code>isSharable</code>
<code>getPermissions</code>
<code>file_exists</code>
<code>filemtime</code>
<code>file_get_contents</code>
<code>file_put_contents</code>
<code>unlink</code>
<code>rename</code>
<code>copy</code>
<code>fopen</code>
<code>getMimeType</code>
<code>hash</code>
<code>free_space</code>
<code>search</code>
<code>touch</code>
<code>getLocalFile</code>
<code>hasUpdated</code>
<code>getOwner</code>
<code>getETag</code>
<code>getDirectDownload</code>
<code>copyFromStorage</code>
<code>moveFromStorage</code>
<code>getMetaData</code>
</InvalidNullableReturnType>
<InvalidReturnType occurrences="1">
<code>\Traversable</code>
</InvalidReturnType>
</file>
<file src="lib/private/Files/Storage/Wrapper/Encoding.php">
<FalsableReturnStatement occurrences="12">
<code>$this-&gt;storage-&gt;opendir($this-&gt;findPathToUse($path))</code>
<code>$this-&gt;storage-&gt;stat($this-&gt;findPathToUse($path))</code>
<code>$this-&gt;storage-&gt;filesize($this-&gt;findPathToUse($path))</code>
<code>$this-&gt;storage-&gt;filemtime($this-&gt;findPathToUse($path))</code>
<code>$this-&gt;storage-&gt;file_get_contents($this-&gt;findPathToUse($path))</code>
<code>$result</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;free_space($this-&gt;findPathToUse($path))</code>
<code>$this-&gt;storage-&gt;search($query)</code>
<code>$this-&gt;storage-&gt;getLocalFile($this-&gt;findPathToUse($path))</code>
<code>$this-&gt;storage-&gt;getETag($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>$this-&gt;storage-&gt;filesize($path)</code>
<code>false</code>
<code>$this-&gt;storage-&gt;file_get_contents($path)</code>
<code>$this-&gt;storage-&gt;getLocalFile($path)</code>
<code>$stat</code>
</FalsableReturnStatement>
<ImplementedReturnTypeMismatch occurrences="1">
<code>resource|bool</code>
</ImplementedReturnTypeMismatch>
<InvalidArgument occurrences="2">
<code>$source</code>
<code>$target</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="1">
<code>array</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="2">
<code>$written</code>
<code>$newUnencryptedSize</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>bool</code>
<code>int</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="2">
<code>$lastChunkPos</code>
<code>$newUnencryptedSize</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
<UndefinedInterfaceMethod occurrences="7">
<code>$info</code>
<code>$info</code>
<code>$info</code>
<code>$entry</code>
<code>$sourceStorage-&gt;getCache()-&gt;get($sourceInternalPath)</code>
<code>$info</code>
<code>$info</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Storage/Wrapper/Jail.php">
<FalsableReturnStatement occurrences="12">
<code>$this-&gt;getWrapperStorage()-&gt;opendir($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;stat($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;filesize($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;filemtime($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;file_get_contents($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;fopen($this-&gt;getUnjailedPath($path), $mode)</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;free_space($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;search($query)</code>
<code>$this-&gt;getWrapperStorage()-&gt;getLocalFile($this-&gt;getUnjailedPath($path))</code>
<code>$this-&gt;getWrapperStorage()-&gt;getETag($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>$this-&gt;storage-&gt;free_space($path)</code>
<code>$source</code>
</FalsableReturnStatement>
<InvalidReturnStatement occurrences="1">
<code>$extension === 'part'</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="1">
<code>'ext'</code>
</InvalidScalarArgument>
<ParamNameMismatch occurrences="2">
<code>$source</code>
<code>$target</code>
</ParamNameMismatch>
<UndefinedInterfaceMethod occurrences="1">
<code>$data</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Storage/Wrapper/Wrapper.php">
<FalsableReturnStatement occurrences="13">
<code>$this-&gt;getWrapperStorage()-&gt;opendir($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;stat($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;filesize($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;filemtime($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;file_get_contents($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;fopen($path, $mode)</code>
<code>$this-&gt;getWrapperStorage()-&gt;getMimeType($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;hash($type, $path, $raw)</code>
<code>$this-&gt;getWrapperStorage()-&gt;free_space($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;search($query)</code>
<code>$this-&gt;getWrapperStorage()-&gt;getLocalFile($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;getETag($path)</code>
<code>$this-&gt;getWrapperStorage()-&gt;getDirectDownload($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/Encryption.php">
<InvalidScalarArgument occurrences="1">
<code>$position</code>
</InvalidScalarArgument>
<UndefinedInterfaceMethod occurrences="1">
<code>$cacheEntry</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Files/Stream/SeekableHttpStream.php">
<FalsableReturnStatement occurrences="3">
<code>false</code>
<code>false</code>
<code>false</code>
</FalsableReturnStatement>
<InvalidPropertyAssignmentValue occurrences="2">
<code>$this-&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">
<ImplicitToStringCast occurrences="1">
<code>$update-&gt;func()-&gt;lower('name')</code>
</ImplicitToStringCast>
<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>string</code>
<code>\OCP\Files\Mount\IMountPoint</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1">
<code>$results</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>\OC\Files\Mount\MountPoint</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="3">
<code>$mtime</code>
<code>$user</code>
<code>$fileId</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="6">
<code>null</code>
<code>Filesystem::getMountManager()-&gt;find($this-&gt;getAbsolutePath($path))</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>$mount</code>
</NullableReturnStatement>
<RedundantCondition occurrences="3">
<code>$storage1</code>
<code>is_resource($source)</code>
<code>$result &amp;&amp; in_array('delete', $hooks) and $result</code>
</RedundantCondition>
<UndefinedDocblockClass occurrences="2">
<code>[$storage, $internalPath]</code>
<code>$storage</code>
</UndefinedDocblockClass>
<UndefinedInterfaceMethod occurrences="20">
<code>$data</code>
<code>$data</code>
<code>$data</code>
<code>$data</code>
<code>$content</code>
<code>$content</code>
<code>$content</code>
<code>$content</code>
<code>$content</code>
<code>$rootEntry</code>
<code>$rootEntry</code>
<code>$rootEntry</code>
<code>$rootEntry</code>
<code>$rootEntry</code>
<code>$rootEntry</code>
<code>$rootEntry</code>
<code>$rootEntry</code>
<code>$rootEntry</code>
<code>$rootEntry</code>
<code>$rootEntry</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/FullTextSearch/Model/IndexDocument.php">
<TypeDoesNotContainNull occurrences="1">
<code>is_null($this-&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="6">
<code>IGroup::class . '::preAddUser'</code>
<code>IGroup::class . '::postAddUser'</code>
<code>IGroup::class . '::preRemoveUser'</code>
<code>IGroup::class . '::postRemoveUser'</code>
<code>IGroup::class . '::preDelete'</code>
<code>IGroup::class . '::postDelete'</code>
</InvalidArgument>
<InvalidOperand occurrences="1">
<code>$hide</code>
</InvalidOperand>
<MoreSpecificImplementedParamType occurrences="1">
<code>$user</code>
</MoreSpecificImplementedParamType>
<TooManyArguments occurrences="6">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
<UndefinedMethod occurrences="4">
<code>addToGroup</code>
<code>removeFromGroup</code>
<code>countUsersInGroup</code>
<code>deleteGroup</code>
</UndefinedMethod>
</file>
<file src="lib/private/Group/Manager.php">
<InvalidArgument occurrences="1">
<code>$groupId</code>
</InvalidArgument>
<InvalidOperand occurrences="1">
<code>$groupId</code>
</InvalidOperand>
<InvalidReturnStatement occurrences="1">
<code>$groups</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>\OC\Group\Group[]</code>
</InvalidReturnType>
<UndefinedInterfaceMethod occurrences="3">
<code>getGroupDetails</code>
<code>createGroup</code>
<code>isAdmin</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Group/MetaData.php">
<InvalidPropertyAssignmentValue occurrences="2">
<code>$sortMode</code>
<code>self::SORT_NONE</code>
</InvalidPropertyAssignmentValue>
</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/Lock/DBLockingProvider.php">
<ImplicitToStringCast occurrences="3">
<code>$query-&gt;func()-&gt;subtract('lock', $query-&gt;createNamedParameter(1))</code>
<code>$builder-&gt;func()-&gt;subtract('lock', $builder-&gt;expr()-&gt;literal(1))</code>
<code>$builder-&gt;createNamedParameter($chunk, IQueryBuilder::PARAM_STR_ARRAY)</code>
</ImplicitToStringCast>
</file>
<file src="lib/private/Lockdown/Filesystem/NullCache.php">
<InvalidNullableReturnType occurrences="1">
<code>get</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1">
<code>[]</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>getIncomplete</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="1"/>
</file>
<file src="lib/private/Lockdown/Filesystem/NullStorage.php">
<InvalidNullableReturnType occurrences="2">
<code>getPermissions</code>
<code>getOwner</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="2">
<code>new IteratorDirectory([])</code>
<code>new NullCache()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="2">
<code>opendir</code>
<code>getCache</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="2">
<code>null</code>
<code>null</code>
</NullableReturnStatement>
<TooManyArguments occurrences="1">
<code>new IteratorDirectory([])</code>
</TooManyArguments>
</file>
<file src="lib/private/Lockdown/LockdownManager.php">
<InvalidFunctionCall occurrences="1">
<code>$callback()</code>
</InvalidFunctionCall>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$sessionCallback</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="lib/private/Log.php">
<RedundantCondition occurrences="1">
<code>$request &amp;&amp; hash_equals($logCondition['shared_secret'], $logSecretRequest)</code>
</RedundantCondition>
</file>
<file src="lib/private/Log/File.php">
<RedundantCondition occurrences="1">
<code>$limit === null ||$entriesCount &lt; $limit</code>
</RedundantCondition>
</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>getSwiftMessage</code>
<code>getTo</code>
<code>getSubject</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Memcache/APCu.php">
<InvalidReturnStatement occurrences="5">
<code>apcu_store($this-&gt;getPrefix() . $key, $value, $ttl)</code>
<code>apcu_exists($this-&gt;getPrefix() . $key)</code>
<code>apcu_delete($this-&gt;getPrefix() . $key)</code>
<code>apcu_delete($iter)</code>
<code>apcu_add($this-&gt;getPrefix() . $key, $value, $ttl)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="5">
<code>set</code>
<code>hasKey</code>
<code>remove</code>
<code>clear</code>
<code>bool</code>
</InvalidReturnType>
</file>
<file src="lib/private/Memcache/Cache.php">
<LessSpecificImplementedReturnType occurrences="4">
<code>mixed</code>
<code>mixed</code>
<code>mixed</code>
<code>mixed</code>
</LessSpecificImplementedReturnType>
</file>
<file src="lib/private/Memcache/Factory.php">
<RedundantCondition occurrences="1">
<code>$lockingCacheClass &amp;&amp; class_exists($distributedCacheClass) &amp;&amp; $lockingCacheClass::isAvailable()</code>
</RedundantCondition>
</file>
<file src="lib/private/Memcache/Memcached.php">
<RedundantCondition occurrences="1">
<code>method_exists(self::$cache, 'deleteMulti')</code>
</RedundantCondition>
<TypeDoesNotContainType occurrences="1">
<code>\Memcached::HAVE_IGBINARY</code>
</TypeDoesNotContainType>
</file>
<file src="lib/private/Memcache/Redis.php">
<InvalidMethodCall occurrences="2">
<code>exec</code>
<code>exec</code>
</InvalidMethodCall>
<InvalidReturnStatement occurrences="1">
<code>self::$cache-&gt;exists($this-&gt;getNameSpace() . $key)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>hasKey</code>
</InvalidReturnType>
</file>
<file src="lib/private/Migration/BackgroundRepair.php">
<MoreSpecificImplementedParamType occurrences="1">
<code>$jobList</code>
</MoreSpecificImplementedParamType>
</file>
<file src="lib/private/Notification/Manager.php">
<RedundantCondition occurrences="2">
<code>!($notification instanceof INotification) || !$notification-&gt;isValidParsed()</code>
<code>!($notification instanceof INotification) || !$notification-&gt;isValidParsed()</code>
</RedundantCondition>
</file>
<file src="lib/private/Preview/BackgroundCleanupJob.php">
<InvalidReturnStatement occurrences="1">
<code>[]</code>
</InvalidReturnStatement>
</file>
<file src="lib/private/Preview/Bitmap.php">
<ImplicitToStringCast occurrences="1">
<code>$bp</code>
</ImplicitToStringCast>
</file>
<file src="lib/private/Preview/Generator.php">
<InvalidArgument occurrences="2">
<code>IPreview::EVENT</code>
<code>$maxPreviewImage</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="1">
<code>ISimpleFile</code>
</InvalidNullableReturnType>
<InvalidScalarArgument occurrences="2">
<code>$file-&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>valid</code>
<code>height</code>
<code>width</code>
<code>width</code>
<code>height</code>
<code>preciseResizeCopy</code>
<code>resizeCopy</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Preview/GeneratorHelper.php">
<InvalidNullableReturnType occurrences="1">
<code>bool|IImage</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$provider-&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, false, $config['password'])</code>
<code>new \RedisCluster(null, $config['seeds'], $timeout, $readTimeout)</code>
</InvalidPropertyAssignmentValue>
<InvalidScalarArgument occurrences="1">
<code>\RedisCluster::OPT_SLAVE_FAILOVER</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/Remote/Api/OCS.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>array</code>
</ImplementedReturnTypeMismatch>
</file>
<file src="lib/private/Remote/Instance.php">
<InvalidReturnStatement occurrences="1">
<code>$request-&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/CleanTags.php">
<ImplicitToStringCast occurrences="2">
<code>$query-&gt;createNamedParameter($users, IQueryBuilder::PARAM_STR_ARRAY)</code>
<code>$qb-&gt;createParameter('ids')</code>
</ImplicitToStringCast>
</file>
<file src="lib/private/Repair/RemoveLinkShares.php">
<ImplicitToStringCast occurrences="3">
<code>$subQuery-&gt;createFunction('(' . $subSubQuery-&gt;getSQL() . ')')</code>
<code>$query-&gt;createFunction('(' . $subQuery-&gt;getSQL() . ')')</code>
<code>$query-&gt;createFunction('(' . $subQuery-&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/Repair/RepairInvalidShares.php">
<ImplicitToStringCast occurrences="1">
<code>$permsFunc</code>
</ImplicitToStringCast>
</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;getPermissions()</code>
<code>$data-&gt;getMtime()</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/CertificateManager.php">
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
</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>setPassword</code>
<code>setIV</code>
<code>encrypt</code>
<code>setPassword</code>
<code>setIV</code>
<code>decrypt</code>
</InternalMethod>
</file>
<file src="lib/private/Server.php">
<ImplementedReturnTypeMismatch occurrences="3">
<code>\OCP\Calendar\Resource\IManager</code>
<code>\OCP\Calendar\Room\IManager</code>
<code>\OCP\Files\Folder|null</code>
</ImplementedReturnTypeMismatch>
<InternalMethod occurrences="1">
<code>setSQLLogger</code>
</InternalMethod>
<InvalidArgument occurrences="1">
<code>'OCP\IUser::preDelete'</code>
</InvalidArgument>
<InvalidCatch occurrences="1"/>
<InvalidScalarArgument occurrences="1">
<code>$uid</code>
</InvalidScalarArgument>
<MoreSpecificImplementedParamType occurrences="1">
<code>$userId</code>
</MoreSpecificImplementedParamType>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
<UndefinedClass occurrences="13">
<code>'SystemTagManagerFactory'</code>
<code>'SystemTagManagerFactory'</code>
<code>'RootFolder'</code>
<code>'EncryptionFileHelper'</code>
<code>'EncryptionKeyStorage'</code>
<code>'RedisFactory'</code>
<code>'OcsClient'</code>
<code>'AsyncCommandBus'</code>
<code>'ThemingDefaults'</code>
<code>'IntegrityCodeChecker'</code>
<code>'CryptoWrapper'</code>
<code>'LDAPProvider'</code>
<code>'LockdownManager'</code>
</UndefinedClass>
<UndefinedDocblockClass occurrences="1">
<code>\OC\OCSClient</code>
</UndefinedDocblockClass>
<UndefinedInterfaceMethod occurrences="1">
<code>getSession</code>
</UndefinedInterfaceMethod>
</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/Helper.php">
<ImplicitToStringCast occurrences="3">
<code>$query-&gt;createNamedParameter($changeParent, IQueryBuilder::PARAM_INT_ARRAY)</code>
<code>$query-&gt;createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
</ImplicitToStringCast>
</file>
<file src="lib/private/Share/Share.php">
<FalsableReturnStatement occurrences="1">
<code>false</code>
</FalsableReturnStatement>
<InvalidArgument occurrences="1">
<code>$arguments</code>
</InvalidArgument>
<InvalidOperand occurrences="1">
<code>!self::isResharingAllowed()</code>
</InvalidOperand>
<InvalidScalarArgument occurrences="3">
<code>\OC_User::getUser()</code>
<code>$shareWith</code>
<code>\OC_User::getUser()</code>
</InvalidScalarArgument>
<UndefinedInterfaceMethod occurrences="2">
<code>getParents</code>
<code>getParents</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Share20/DefaultShareProvider.php">
<ImplicitToStringCast occurrences="7">
<code>$qb-&gt;createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
<code>$qb-&gt;createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code>
<code>$qb-&gt;createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code>
<code>$qb-&gt;createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
</ImplicitToStringCast>
<InvalidReturnStatement occurrences="1">
<code>$shares</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>getSharesInFolder</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="3">
<code>$share-&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>'OCP\Share::preShare'</code>
<code>'OCP\Share::postShare'</code>
<code>'OCP\Share::postAcceptShare'</code>
<code>'OCP\Share::preUnshare'</code>
<code>'OCP\Share::postUnshare'</code>
<code>'OCP\Share::postUnshareFromSelf'</code>
<code>$data</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="3">
<code>$this-&gt;shareApiLinkDefaultExpireDays()</code>
<code>$this-&gt;shareApiLinkDefaultExpireDays()</code>
<code>$id</code>
</InvalidScalarArgument>
<TooManyArguments occurrences="7">
<code>dispatch</code>
<code>dispatch</code>
<code>update</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
<UndefinedClass occurrences="1">
<code>\OCA\Circles\Api\v1\Circles</code>
</UndefinedClass>
<UndefinedInterfaceMethod occurrences="1">
<code>getChildren</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Share20/ProviderFactory.php">
<InvalidNullableReturnType occurrences="2">
<code>FederatedShareProvider</code>
<code>ShareByMailProvider</code>
</InvalidNullableReturnType>
<InvalidReturnStatement occurrences="5">
<code>$this-&gt;shareByCircleProvider</code>
<code>$this-&gt;roomShareProvider</code>
<code>$provider</code>
<code>$provider</code>
<code>$shares</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="3">
<code>getProvider</code>
<code>getProviderForType</code>
<code>getAllProviders</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="6">
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
<code>null</code>
</NullableReturnStatement>
<UndefinedClass occurrences="2">
<code>\OCA\Circles\ShareByCircleProvider</code>
<code>'\OCA\Talk\Share\RoomShareProvider'</code>
</UndefinedClass>
<UndefinedDocblockClass occurrences="5">
<code>\OCA\Circles\ShareByCircleProvider</code>
<code>\OCA\Talk\Share\RoomShareProvider</code>
<code>RoomShareProvider</code>
<code>private $shareByCircleProvider = null;</code>
<code>private $roomShareProvider = null;</code>
</UndefinedDocblockClass>
<UndefinedInterfaceMethod occurrences="4">
<code>getLazyRootFolder</code>
<code>getLazyRootFolder</code>
<code>getLazyRootFolder</code>
<code>getLazyRootFolder</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Streamer.php">
<InvalidArgument occurrences="1">
<code>$fh</code>
</InvalidArgument>
<UndefinedInterfaceMethod occurrences="1">
<code>get</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/SubAdmin.php">
<UndefinedInterfaceMethod occurrences="2">
<code>listen</code>
<code>listen</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Support/Subscription/Registry.php">
<UndefinedInterfaceMethod occurrences="2">
<code>getSupportedApps</code>
<code>countUsers</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/SystemTag/SystemTagManager.php">
<FalsableReturnStatement occurrences="3">
<code>false</code>
<code>false</code>
<code>false</code>
</FalsableReturnStatement>
<ImplicitToStringCast occurrences="3">
<code>$query-&gt;createParameter('tagids')</code>
<code>$query-&gt;createParameter('tagids')</code>
<code>$query-&gt;createParameter('tagids')</code>
</ImplicitToStringCast>
<InvalidArgument occurrences="3">
<code>ManagerEvent::EVENT_CREATE</code>
<code>ManagerEvent::EVENT_UPDATE</code>
<code>ManagerEvent::EVENT_DELETE</code>
</InvalidArgument>
<InvalidReturnType occurrences="2">
<code>bool</code>
<code>bool</code>
</InvalidReturnType>
<TooManyArguments occurrences="3">
<code>dispatch</code>
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="lib/private/SystemTag/SystemTagObjectMapper.php">
<ImplicitToStringCast occurrences="4">
<code>$query-&gt;createParameter('objectids')</code>
<code>$query-&gt;createNamedParameter($tagIds, IQueryBuilder::PARAM_INT_ARRAY)</code>
<code>$query-&gt;createParameter('tagids')</code>
<code>$query-&gt;createParameter('objectids')</code>
</ImplicitToStringCast>
<InvalidArgument occurrences="2">
<code>MapperEvent::EVENT_ASSIGN</code>
<code>MapperEvent::EVENT_UNASSIGN</code>
</InvalidArgument>
<TooManyArguments occurrences="2">
<code>dispatch</code>
<code>dispatch</code>
</TooManyArguments>
</file>
<file src="lib/private/TagManager.php">
<InvalidNullableReturnType occurrences="1">
<code>\OCP\ITags</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="lib/private/Tags.php">
<InvalidArgument occurrences="1">
<code>[$this-&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, 'core/'.$script.'.js')</code>
<code>$this-&gt;appendIfExist($this-&gt;serverroot, $theme_dir.'core/'.$script.'.js')</code>
<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, 'apps/'.$script.'.js')</code>
<code>$this-&gt;appendIfExist($this-&gt;serverroot, $theme_dir.'apps/'.$script.'.js')</code>
</InvalidOperand>
<TypeDoesNotContainType occurrences="1">
<code>$found</code>
</TypeDoesNotContainType>
</file>
<file src="lib/private/Template/SCSSCacher.php">
<InvalidScalarArgument occurrences="1">
<code>Compiler::LINE_COMMENTS</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/TemplateLayout.php">
<InvalidParamDefault occurrences="2">
<code>string</code>
<code>string</code>
</InvalidParamDefault>
<InvalidScalarArgument occurrences="3">
<code>\OC_User::getUser()</code>
<code>$appName</code>
<code>$appName</code>
</InvalidScalarArgument>
<TooManyArguments occurrences="1">
<code>Util::addScript('dist/unified-search', null, true)</code>
</TooManyArguments>
<UndefinedInterfaceMethod occurrences="1">
<code>getInitialStates</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/URLGenerator.php">
<InvalidReturnStatement occurrences="1">
<code>$path</code>
</InvalidReturnStatement>
</file>
<file src="lib/private/Updater.php">
<InvalidScalarArgument occurrences="13">
<code>0</code>
<code>0</code>
<code>1</code>
<code>0</code>
<code>1</code>
<code>1</code>
<code>0</code>
<code>1</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
<code>0</code>
</InvalidScalarArgument>
<UndefinedMethod occurrences="1">
<code>\OC_DB::simulateUpdateDbFromStructure(\OC_App::getAppPath($appId) . '/appinfo/database.xml')</code>
</UndefinedMethod>
</file>
<file src="lib/private/Updater/VersionCheck.php">
<InvalidScalarArgument occurrences="2">
<code>time()</code>
<code>microtime(true)</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/User/Backend.php">
<InvalidScalarArgument occurrences="2">
<code>$limit</code>
<code>$offset</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/User/Database.php">
<FalsableReturnStatement occurrences="1">
<code>false</code>
</FalsableReturnStatement>
<ImplicitToStringCast occurrences="1">
<code>$query-&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>
<ImplicitToStringCast occurrences="1">
<code>$queryBuilder-&gt;createNamedParameter($groups, IQueryBuilder::PARAM_STR_ARRAY)</code>
</ImplicitToStringCast>
<InvalidNullableReturnType occurrences="1">
<code>bool|IUser</code>
</InvalidNullableReturnType>
<InvalidScalarArgument occurrences="2">
<code>$limit</code>
<code>$offset</code>
</InvalidScalarArgument>
<NullableReturnStatement occurrences="2">
<code>$this-&gt;createUserFromBackend($uid, $password, $backend)</code>
<code>$this-&gt;createUserFromBackend($uid, $password, $backend)</code>
</NullableReturnStatement>
<UndefinedInterfaceMethod occurrences="4">
<code>checkPassword</code>
<code>createUser</code>
<code>countUsers</code>
<code>getUsersForUserValueCaseInsensitive</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/User/Session.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>boolean|null</code>
</ImplementedReturnTypeMismatch>
<InvalidArgument occurrences="1">
<code>IUser::class . '::firstLogin'</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="2">
<code>$this-&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 . '::preDelete'</code>
<code>IUser::class . '::postDelete'</code>
<code>IUser::class . '::preSetPassword'</code>
<code>IUser::class . '::postSetPassword'</code>
<code>IUser::class . '::changeUser'</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="1">
<code>getBackend</code>
</InvalidNullableReturnType>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$this-&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>$this-&gt;lastLogin</code>
<code>$quota</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>setDisplayName</code>
<code>deleteUserAvatar</code>
<code>setPassword</code>
<code>getHome</code>
<code>canChangeAvatar</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/UserStatus/Manager.php">
<InvalidCatch occurrences="1"/>
<InvalidPropertyAssignmentValue occurrences="1">
<code>$class</code>
</InvalidPropertyAssignmentValue>
</file>
<file src="lib/private/legacy/OC_API.php">
<InvalidNullableReturnType occurrences="1">
<code>int</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
</file>
<file src="lib/private/legacy/OC_App.php">
<InvalidArgument occurrences="2">
<code>$groupsList</code>
<code>ManagerEvent::EVENT_APP_UPDATE</code>
</InvalidArgument>
<InvalidArrayOffset occurrences="2">
<code>$dir['path']</code>
<code>$dir['url']</code>
</InvalidArrayOffset>
<NullArgument occurrences="1">
<code>null</code>
</NullArgument>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
<RedundantCondition occurrences="1">
<code>$appId === null || trim($appId) === ''</code>
</RedundantCondition>
<TooManyArguments occurrences="1">
<code>dispatch</code>
</TooManyArguments>
<TypeDoesNotContainNull occurrences="1">
<code>$appId === null</code>
</TypeDoesNotContainNull>
</file>
<file src="lib/private/legacy/OC_DB.php">
<InvalidReturnStatement occurrences="1">
<code>$result</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>OC_DB_StatementWrapper</code>
</InvalidReturnType>
</file>
<file src="lib/private/legacy/OC_DB_StatementWrapper.php">
<FalsableReturnStatement occurrences="1">
<code>$this-&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>$fileInfos</code>
<code>[$fileInfo]</code>
<code>$fh</code>
</InvalidArgument>
<InvalidScalarArgument occurrences="1">
<code>mt_rand()</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="2">
<code>$getType === self::ZIP_DIR</code>
<code>$getType === self::ZIP_DIR</code>
</RedundantCondition>
<UndefinedInterfaceMethod occurrences="2">
<code>get</code>
<code>get</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/legacy/OC_Helper.php">
<InvalidReturnStatement occurrences="4">
<code>(INF &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>$path</code>
<code>$includeExtStorage ? 'ext' : false</code>
<code>$quota</code>
<code>'ext'</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="1">
<code>count($obd_values) &gt; 0 and $obd_values[0]</code>
</RedundantCondition>
<UndefinedInterfaceMethod occurrences="1">
<code>getSourceStorage</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/legacy/OC_Image.php">
<FalsableReturnStatement occurrences="3">
<code>$this-&gt;valid() ? imagesx($this-&gt;resource) : -1</code>
<code>$this-&gt;valid() ? imagesy($this-&gt;resource) : -1</code>
<code>$this-&gt;resource</code>
</FalsableReturnStatement>
<ImplementedReturnTypeMismatch occurrences="1">
<code>null|string</code>
</ImplementedReturnTypeMismatch>
<InvalidArrayOffset occurrences="2">
<code>$data[floor($p)]</code>
<code>$data[floor($p)]</code>
</InvalidArrayOffset>
<InvalidReturnType occurrences="1">
<code>bool</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="17">
<code>$this-&gt;bitDepth</code>
<code>90</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$imagePath</code>
<code>$x</code>
<code>$y</code>
</InvalidScalarArgument>
<MismatchingDocblockReturnType occurrences="1">
<code>bool</code>
</MismatchingDocblockReturnType>
<RedundantCondition occurrences="1">
<code>$isWritable &amp;&amp; file_exists($filePath)</code>
</RedundantCondition>
</file>
<file src="lib/private/legacy/OC_JSON.php">
<InvalidScalarArgument occurrences="1">
<code>OC_User::getUser()</code>
</InvalidScalarArgument>
</file>
<file src="lib/private/legacy/OC_User.php">
<UndefinedClass occurrences="1">
<code>\Test\Util\User\Dummy</code>
</UndefinedClass>
</file>
<file src="lib/private/legacy/OC_Util.php">
<InternalMethod occurrences="2">
<code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper(false)</code>
<code>\OC\Files\Filesystem::logWarningWhenAddingStorageWrapper($prevLogging)</code>
</InternalMethod>
<InvalidOperand occurrences="4">
<code>$version</code>
<code>$version</code>
<code>$version</code>
<code>$version</code>
</InvalidOperand>
<InvalidReturnStatement occurrences="1">
<code>OC_Helper::computerFileSize($userQuota)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>float</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="2">
<code>$user</code>
<code>OC_User::getUser()</code>
</InvalidScalarArgument>
<RedundantCondition occurrences="2">
<code>is_string($expected)</code>
<code>'off'</code>
</RedundantCondition>
<TypeDoesNotContainType occurrences="3">
<code>is_bool($expected)</code>
<code>is_int($expected)</code>
<code>is_bool($setting[1])</code>
</TypeDoesNotContainType>
<UndefinedInterfaceMethod occurrences="1">
<code>clearCache</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/legacy/template/functions.php">
<UndefinedClass occurrences="1">
<code>'DateTimeFormatter'</code>
</UndefinedClass>
</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/DataResponse.php">
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;data</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>array</code>
</InvalidReturnType>
</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['size']</code>
<code>$resource['resource']</code>
<code>$resource['internalName']</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">
<InvalidReturnType occurrences="1">
<code>string|false</code>
</InvalidReturnType>
</file>
<file src="lib/public/Files/Storage/IStorage.php">
<InvalidParamDefault occurrences="1">
<code>array</code>
</InvalidParamDefault>
<InvalidReturnType occurrences="1">
<code>string|false</code>
</InvalidReturnType>
</file>
<file src="lib/public/FullTextSearch/Model/ISearchRequest.php">
<InvalidClass occurrences="1">
<code>IsearchRequest</code>
</InvalidClass>
</file>
<file src="lib/public/IAddressBook.php">
<InvalidDocblock occurrences="1">
<code>public function getUri(): string;</code>
</InvalidDocblock>
</file>
<file src="lib/public/IAvatar.php">
<UndefinedDocblockClass occurrences="1">
<code>Color</code>
</UndefinedDocblockClass>
</file>
<file src="lib/public/IContainer.php">
<InvalidThrow occurrences="2">
<code>ContainerExceptionInterface</code>
<code>ContainerExceptionInterface</code>
</InvalidThrow>
</file>
<file src="lib/public/IDBConnection.php">
<InvalidClass occurrences="1">
<code>PreconditionNotMetException</code>
</InvalidClass>
</file>
<file src="lib/public/Search/SearchResult.php">
<InvalidArgument occurrences="1">
<code>$cursor</code>
</InvalidArgument>
</file>
<file src="lib/public/Share.php">
<InvalidReturnType occurrences="3">
<code>array</code>
<code>array|bool</code>
<code>mixed</code>
</InvalidReturnType>
</file>
<file src="lib/public/User.php">
<InvalidReturnStatement occurrences="1">
<code>\OC_User::getUser()</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
</file>
<file src="lib/public/Util.php">
<InvalidReturnStatement occurrences="1">
<code>\OC_Helper::computerFileSize($str)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>float</code>
</InvalidReturnType>
</file>
<file src="remote.php">
<InvalidScalarArgument occurrences="1">
<code>$e-&gt;getCode()</code>
</InvalidScalarArgument>
</file>
</files>