</file>
<file src="apps/dav/appinfo/v1/webdav.php">
<InvalidArgument>
- <code><![CDATA['OCA\DAV\Connector\Sabre::addPlugin']]></code>
+ <code>'OCA\DAV\Connector\Sabre::addPlugin'</code>
</InvalidArgument>
<TooManyArguments>
<code>dispatch</code>
</RedundantCast>
<RedundantCondition>
<code><![CDATA[!empty($modified['old']) && is_array($modified['old'])]]></code>
- <code><![CDATA[is_array($modified['old'])]]></code>
+ <code>is_array($modified['old'])</code>
</RedundantCondition>
</file>
<file src="apps/dav/lib/CalDAV/Schedule/IMipService.php">
</file>
<file src="apps/dav/lib/CalDAV/Schedule/Plugin.php">
<InvalidArgument>
- <code><![CDATA[[$aclPlugin, 'propFind']]]></code>
- <code><![CDATA[[$aclPlugin, 'propFind']]]></code>
+ <code>[$aclPlugin, 'propFind']</code>
+ <code>[$aclPlugin, 'propFind']</code>
</InvalidArgument>
<UndefinedInterfaceMethod>
<code>get</code>
</file>
<file src="apps/dav/lib/CalDAV/Search/Xml/Request/CalendarSearchReport.php">
<TypeDoesNotContainType>
- <code><![CDATA[!is_array($newProps['filters']['comps'])]]></code>
- <code><![CDATA[!is_array($newProps['filters']['params'])]]></code>
- <code><![CDATA[!is_array($newProps['filters']['props'])]]></code>
- <code><![CDATA[!isset($newProps['filters']['comps']) || !is_array($newProps['filters']['comps'])]]></code>
- <code><![CDATA[!isset($newProps['filters']['params']) || !is_array($newProps['filters']['params'])]]></code>
- <code><![CDATA[!isset($newProps['filters']['props']) || !is_array($newProps['filters']['props'])]]></code>
+ <code>!is_array($newProps['filters']['comps'])</code>
+ <code>!is_array($newProps['filters']['params'])</code>
+ <code>!is_array($newProps['filters']['props'])</code>
+ <code>!isset($newProps['filters']['comps']) || !is_array($newProps['filters']['comps'])</code>
+ <code>!isset($newProps['filters']['params']) || !is_array($newProps['filters']['params'])</code>
+ <code>!isset($newProps['filters']['props']) || !is_array($newProps['filters']['props'])</code>
</TypeDoesNotContainType>
</file>
<file src="apps/dav/lib/CalDAV/WebcalCaching/RefreshWebcalService.php">
<code>false</code>
</FalsableReturnStatement>
<TypeDoesNotContainType>
- <code><![CDATA[$addressBooks[$row['id']][$readOnlyPropertyName] === 0]]></code>
+ <code>$addressBooks[$row['id']][$readOnlyPropertyName] === 0</code>
</TypeDoesNotContainType>
</file>
<file src="apps/dav/lib/CardDAV/MultiGetExportPlugin.php">
<code>200</code>
</InvalidArgument>
<InvalidScalarArgument>
- <code><![CDATA[$args['datetime']]]></code>
+ <code>$args['datetime']</code>
</InvalidScalarArgument>
<UndefinedFunction>
<code>\Sabre\HTTP\toDate($value)</code>
<code>$resultFileIds</code>
</NullableReturnStatement>
<TooManyArguments>
- <code><![CDATA[new PreconditionFailed('Cannot filter by non-existing tag', 0, $e)]]></code>
+ <code>new PreconditionFailed('Cannot filter by non-existing tag', 0, $e)</code>
</TooManyArguments>
<UndefinedClass>
<code>\OCA\Circles\Api\v1\Circles</code>
</file>
<file src="apps/dav/lib/Server.php">
<InvalidArgument>
- <code><![CDATA['OCA\DAV\Connector\Sabre::addPlugin']]></code>
- <code><![CDATA['OCA\DAV\Connector\Sabre::authInit']]></code>
+ <code>'OCA\DAV\Connector\Sabre::addPlugin'</code>
+ <code>'OCA\DAV\Connector\Sabre::authInit'</code>
</InvalidArgument>
<TooManyArguments>
<code>dispatch</code>
<code>$userSession</code>
</RedundantCondition>
<TypeDoesNotContainType>
- <code><![CDATA[get_class($res) === 'OpenSSLAsymmetricKey']]></code>
+ <code>get_class($res) === 'OpenSSLAsymmetricKey'</code>
</TypeDoesNotContainType>
</file>
<file src="apps/encryption/lib/Crypto/Encryption.php">
</file>
<file src="apps/encryption/lib/Session.php">
<TooManyArguments>
- <code><![CDATA[new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0)]]></code>
+ <code>new Exceptions\PrivateKeyMissingException('please try to log-out and log-in again', 0)</code>
</TooManyArguments>
</file>
<file src="apps/encryption/lib/Util.php">
<code>$shareId</code>
<code>$shareId</code>
<code>$shareId</code>
- <code><![CDATA[(int)$data['id']]]></code>
+ <code>(int)$data['id']</code>
</InvalidArgument>
</file>
<file src="apps/federatedfilesharing/lib/Listeners/LoadAdditionalScriptsListener.php">
<code>string</code>
</InvalidReturnType>
<InvalidScalarArgument>
- <code><![CDATA[(int)$share['id']]]></code>
+ <code>(int)$share['id']</code>
</InvalidScalarArgument>
</file>
<file src="apps/federation/lib/Listener/SabrePluginAuthInitListener.php">
</file>
<file src="apps/files/lib/Service/TagService.php">
<InvalidArgument>
- <code><![CDATA[self::class . '::' . $eventName]]></code>
+ <code>self::class . '::' . $eventName</code>
</InvalidArgument>
<TooManyArguments>
<code>dispatch</code>
<code>getUniqueStorages</code>
</UndefinedMethod>
</file>
- <file src="apps/files_external/lib/Lib/Storage/AmazonS3.php">
- <InvalidReturnStatement>
- <code><![CDATA[IteratorDirectory::wrap(array_map(function (array $item) {
- return $item['name'];
- }, $content))]]></code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>opendir</code>
- </InvalidReturnType>
- </file>
<file src="apps/files_external/lib/Lib/Storage/SFTP.php">
<InternalMethod>
<code>put</code>
</InternalMethod>
- <InvalidReturnStatement>
- <code>IteratorDirectory::wrap($dirStream)</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>opendir</code>
- </InvalidReturnType>
</file>
<file src="apps/files_external/lib/Lib/Storage/SMB.php">
- <InvalidReturnStatement>
- <code>IteratorDirectory::wrap($names)</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>opendir</code>
- </InvalidReturnType>
<RedundantCast>
<code><![CDATA[(int)$e->getCode()]]></code>
<code><![CDATA[(int)$e->getCode()]]></code>
<code>filetype</code>
<code>fopen</code>
</InvalidNullableReturnType>
- <InvalidReturnStatement>
- <code>IteratorDirectory::wrap($files)</code>
- </InvalidReturnStatement>
- <InvalidReturnType>
- <code>opendir</code>
- </InvalidReturnType>
</file>
<file src="apps/files_external/lib/Listener/GroupDeletedListener.php">
<MissingTemplateParam>
</file>
<file src="apps/files_external/lib/Service/BackendService.php">
<InvalidArgument>
- <code><![CDATA['OCA\\Files_External::loadAdditionalBackends']]></code>
+ <code>'OCA\\Files_External::loadAdditionalBackends'</code>
</InvalidArgument>
<TooManyArguments>
<code>dispatch</code>
</file>
<file src="apps/files_sharing/templates/public.php">
<RedundantCondition>
- <code><![CDATA[$_['hideFileList'] !== true]]></code>
+ <code>$_['hideFileList'] !== true</code>
<code><![CDATA[isset($_['hideFileList']) && $_['hideFileList'] !== true]]></code>
</RedundantCondition>
</file>
</file>
<file src="apps/files_trashbin/lib/Storage.php">
<InvalidArgument>
- <code><![CDATA['OCA\Files_Trashbin::moveToTrash']]></code>
+ <code>'OCA\Files_Trashbin::moveToTrash'</code>
</InvalidArgument>
<InvalidOperand>
<code><![CDATA[$this->mountPoint]]></code>
<file src="apps/sharebymail/lib/ShareByMailProvider.php">
<InvalidArgument>
<code><![CDATA[$share->getId()]]></code>
- <code><![CDATA[(int)$data['id']]]></code>
+ <code>(int)$data['id']</code>
</InvalidArgument>
</file>
<file src="apps/systemtags/lib/Activity/Listener.php">
</file>
<file src="apps/user_ldap/lib/AppInfo/Application.php">
<InvalidArgument>
- <code><![CDATA['OCA\\User_LDAP\\User\\User::postLDAPBackendAdded']]></code>
+ <code>'OCA\\User_LDAP\\User\\User::postLDAPBackendAdded'</code>
</InvalidArgument>
<TooManyArguments>
<code>dispatch</code>
</file>
<file src="lib/private/Accounts/AccountManager.php">
<InvalidArgument>
- <code><![CDATA['OC\AccountManager::userUpdated']]></code>
+ <code>'OC\AccountManager::userUpdated'</code>
</InvalidArgument>
<TooManyArguments>
<code>dispatch</code>
</file>
<file src="lib/private/AppFramework/Routing/RouteConfig.php">
<InvalidArrayOffset>
- <code><![CDATA[$action['url-postfix']]]></code>
+ <code>$action['url-postfix']</code>
</InvalidArrayOffset>
</file>
<file src="lib/private/AppFramework/Services/AppConfig.php">
</file>
<file src="lib/private/Authentication/TwoFactorAuth/Registry.php">
<InvalidArrayAccess>
- <code><![CDATA[$provider['provider_id']]]></code>
+ <code>$provider['provider_id']</code>
</InvalidArrayAccess>
</file>
<file src="lib/private/BackgroundJob/QueuedJob.php">
<code>getParams</code>
</InternalMethod>
<InvalidArrayOffset>
- <code><![CDATA[$params['collation']]]></code>
+ <code>$params['collation']</code>
</InvalidArrayOffset>
</file>
<file src="lib/private/DB/Connection.php">
<code>$params</code>
</InvalidArgument>
<InvalidArrayOffset>
- <code><![CDATA[$params['adapter']]]></code>
- <code><![CDATA[$params['tablePrefix']]]></code>
+ <code>$params['adapter']</code>
+ <code>$params['tablePrefix']</code>
</InvalidArrayOffset>
<InvalidReturnStatement>
<code><![CDATA[$this->adapter->lastInsertId($seqName)]]></code>
<code>getParams</code>
</InternalMethod>
<InvalidArrayOffset>
- <code><![CDATA[$params['collation']]]></code>
+ <code>$params['collation']</code>
</InvalidArrayOffset>
</file>
<file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
<code>$user</code>
</InvalidOperand>
<RedundantCondition>
- <code><![CDATA[get_class($provider) !== 'OCA\Files_Sharing\MountProvider']]></code>
+ <code>get_class($provider) !== 'OCA\Files_Sharing\MountProvider'</code>
</RedundantCondition>
<TypeDoesNotContainType>
- <code><![CDATA[get_class($provider) === 'OCA\Files_Sharing\MountProvider']]></code>
+ <code>get_class($provider) === 'OCA\Files_Sharing\MountProvider'</code>
</TypeDoesNotContainType>
</file>
<file src="lib/private/Files/Config/UserMountCache.php">
</file>
<file src="lib/private/Files/Node/HookConnector.php">
<InvalidArgument>
- <code><![CDATA['\OCP\Files::postCopy']]></code>
- <code><![CDATA['\OCP\Files::postCreate']]></code>
- <code><![CDATA['\OCP\Files::postDelete']]></code>
- <code><![CDATA['\OCP\Files::postRename']]></code>
- <code><![CDATA['\OCP\Files::postTouch']]></code>
- <code><![CDATA['\OCP\Files::postWrite']]></code>
- <code><![CDATA['\OCP\Files::preCopy']]></code>
- <code><![CDATA['\OCP\Files::preCreate']]></code>
- <code><![CDATA['\OCP\Files::preDelete']]></code>
- <code><![CDATA['\OCP\Files::preRename']]></code>
- <code><![CDATA['\OCP\Files::preTouch']]></code>
- <code><![CDATA['\OCP\Files::preWrite']]></code>
- <code><![CDATA['\OCP\Files::read']]></code>
+ <code>'\OCP\Files::postCopy'</code>
+ <code>'\OCP\Files::postCreate'</code>
+ <code>'\OCP\Files::postDelete'</code>
+ <code>'\OCP\Files::postRename'</code>
+ <code>'\OCP\Files::postTouch'</code>
+ <code>'\OCP\Files::postWrite'</code>
+ <code>'\OCP\Files::preCopy'</code>
+ <code>'\OCP\Files::preCreate'</code>
+ <code>'\OCP\Files::preDelete'</code>
+ <code>'\OCP\Files::preRename'</code>
+ <code>'\OCP\Files::preTouch'</code>
+ <code>'\OCP\Files::preWrite'</code>
+ <code>'\OCP\Files::read'</code>
</InvalidArgument>
<TooManyArguments>
<code>dispatch</code>
<code>Node</code>
</ImplementedReturnTypeMismatch>
<InvalidArgument>
- <code><![CDATA['\OCP\Files::' . $hook]]></code>
+ <code>'\OCP\Files::' . $hook</code>
</InvalidArgument>
<InvalidNullableReturnType>
<code>FileInfo</code>
<code>Promise\promise_for(
new Credentials($key, $secret)
)</code>
- <code><![CDATA[\Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())]]></code>
+ <code>\Aws\or_chain([self::class, 'legacySignatureProvider'], ClientResolver::_default_signature_provider())</code>
</UndefinedFunction>
</file>
<file src="lib/private/Files/ObjectStore/S3ObjectTrait.php">
</InvalidNullableReturnType>
<InvalidReturnStatement>
<code><![CDATA[$response->getBody()]]></code>
- <code>IteratorDirectory::wrap($content)</code>
</InvalidReturnStatement>
<InvalidReturnType>
<code>fopen</code>
- <code>opendir</code>
</InvalidReturnType>
<NullableReturnStatement>
<code>null</code>
</file>
<file src="lib/private/Group/Group.php">
<InvalidArgument>
- <code><![CDATA[IGroup::class . '::postAddUser']]></code>
- <code><![CDATA[IGroup::class . '::postDelete']]></code>
- <code><![CDATA[IGroup::class . '::postRemoveUser']]></code>
- <code><![CDATA[IGroup::class . '::preAddUser']]></code>
- <code><![CDATA[IGroup::class . '::preDelete']]></code>
- <code><![CDATA[IGroup::class . '::preRemoveUser']]></code>
+ <code>IGroup::class . '::postAddUser'</code>
+ <code>IGroup::class . '::postDelete'</code>
+ <code>IGroup::class . '::postRemoveUser'</code>
+ <code>IGroup::class . '::preAddUser'</code>
+ <code>IGroup::class . '::preDelete'</code>
+ <code>IGroup::class . '::preRemoveUser'</code>
<code>bool</code>
</InvalidArgument>
<InvalidOperand>
<code>false</code>
</InvalidArgument>
<InvalidArrayOffset>
- <code><![CDATA[$app['path']]]></code>
- <code><![CDATA[$app['path']]]></code>
+ <code>$app['path']</code>
+ <code>$app['path']</code>
</InvalidArrayOffset>
<NullArgument>
<code>null</code>
</UndefinedFunction>
</file>
<file src="lib/private/Memcache/APCu.php">
- <InvalidClass>
- <code>\APCUIterator</code>
- </InvalidClass>
<InvalidReturnStatement>
<code><![CDATA[apcu_add($this->getPrefix() . $key, $value, $ttl)]]></code>
</InvalidReturnStatement>
<code>$exifData</code>
</InvalidReturnStatement>
<InvalidReturnType>
- <code><![CDATA[array{'gps': FileMetadata, 'size': FileMetadata}]]></code>
+ <code>array{'gps': FileMetadata, 'size': FileMetadata}</code>
</InvalidReturnType>
</file>
<file src="lib/private/NavigationManager.php">
</file>
<file src="lib/private/Setup.php">
<RedundantCondition>
- <code><![CDATA[$content !== '']]></code>
- <code><![CDATA[$type === 'pdo']]></code>
+ <code>$content !== ''</code>
+ <code>$type === 'pdo'</code>
</RedundantCondition>
<UndefinedVariable>
<code>$vendor</code>
<InvalidArgument>
<code><![CDATA[$share->getId()]]></code>
<code><![CDATA[$share->getId()]]></code>
- <code><![CDATA[(int)$data['id']]]></code>
+ <code>(int)$data['id']</code>
</InvalidArgument>
<TooManyArguments>
<code>set</code>
<file src="lib/private/Share20/Manager.php">
<InvalidArgument>
<code>$id</code>
- <code><![CDATA['OCP\Share::postAcceptShare']]></code>
- <code><![CDATA['OCP\Share::postShare']]></code>
- <code><![CDATA['OCP\Share::postUnshare']]></code>
- <code><![CDATA['OCP\Share::postUnshareFromSelf']]></code>
- <code><![CDATA['OCP\Share::preShare']]></code>
- <code><![CDATA['OCP\Share::preUnshare']]></code>
+ <code>'OCP\Share::postAcceptShare'</code>
+ <code>'OCP\Share::postShare'</code>
+ <code>'OCP\Share::postUnshare'</code>
+ <code>'OCP\Share::postUnshareFromSelf'</code>
+ <code>'OCP\Share::preShare'</code>
+ <code>'OCP\Share::preUnshare'</code>
</InvalidArgument>
<TooManyArguments>
<code>dispatch</code>
<code>boolean|null</code>
</ImplementedReturnTypeMismatch>
<InvalidArgument>
- <code><![CDATA[IUser::class . '::firstLogin']]></code>
+ <code>IUser::class . '::firstLogin'</code>
</InvalidArgument>
<NoInterfaceProperties>
<code><![CDATA[$request->server]]></code>
</file>
<file src="lib/private/User/User.php">
<InvalidArgument>
- <code><![CDATA[IUser::class . '::changeUser']]></code>
- <code><![CDATA[IUser::class . '::postDelete']]></code>
- <code><![CDATA[IUser::class . '::postSetPassword']]></code>
- <code><![CDATA[IUser::class . '::preDelete']]></code>
- <code><![CDATA[IUser::class . '::preSetPassword']]></code>
+ <code>IUser::class . '::changeUser'</code>
+ <code>IUser::class . '::postDelete'</code>
+ <code>IUser::class . '::postSetPassword'</code>
+ <code>IUser::class . '::preDelete'</code>
+ <code>IUser::class . '::preSetPassword'</code>
</InvalidArgument>
<TooManyArguments>
<code>dispatch</code>
<code>ManagerEvent::EVENT_APP_UPDATE</code>
</InvalidArgument>
<InvalidArrayOffset>
- <code><![CDATA[$dir['path']]]></code>
- <code><![CDATA[$dir['url']]]></code>
+ <code>$dir['path']</code>
+ <code>$dir['url']</code>
</InvalidArrayOffset>
<NullArgument>
<code>null</code>
</UndefinedClass>
</file>
<file src="lib/private/legacy/OC_Util.php">
- <InvalidOperand>
- <code>$version</code>
- <code>$version</code>
- </InvalidOperand>
<InvalidReturnType>
<code>void</code>
</InvalidReturnType>