</MoreSpecificReturnType>
</file>
<file src="apps/encryption/lib/Crypto/Crypt.php">
- <RedundantCondition>
- <code>$userSession</code>
- </RedundantCondition>
<TypeDoesNotContainType>
<code>get_class($res) === 'OpenSSLAsymmetricKey'</code>
</TypeDoesNotContainType>
</ImplementedParamTypeMismatch>
</file>
<file src="apps/encryption/lib/KeyManager.php">
- <InvalidScalarArgument>
- <code>time()</code>
- <code>time()</code>
- <code>time()</code>
- </InvalidScalarArgument>
<InvalidThrow>
<code>throw $exception;</code>
</InvalidThrow>
<MoreSpecificReturnType>
<code>\OC\Files\Storage\Storage|null</code>
</MoreSpecificReturnType>
- <RedundantCondition>
- <code>$userSession</code>
- </RedundantCondition>
</file>
<file src="apps/federatedfilesharing/lib/Controller/RequestHandlerController.php">
<InvalidArgument>
<code>open</code>
</UndefinedInterfaceMethod>
</file>
- <file src="apps/files/lib/Controller/ViewController.php">
- <InvalidArgument>
- <code>$fileId</code>
- </InvalidArgument>
- <UndefinedInterfaceMethod>
- <code>getById</code>
- <code>getRelativePath</code>
- <code>getRelativePath</code>
- </UndefinedInterfaceMethod>
- </file>
<file src="apps/files/lib/Helper.php">
<UndefinedInterfaceMethod>
<code>$file</code>
<code>$i</code>
</UndefinedInterfaceMethod>
</file>
- <file src="apps/files/lib/Listener/LegacyLoadAdditionalScriptsAdapter.php">
- <InvalidArgument>
- <code>$legacyEvent</code>
- </InvalidArgument>
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
<file src="apps/files/lib/Listener/LoadSidebarListener.php">
<MissingTemplateParam>
<code>IEventListener</code>
<code>isReadyForUser</code>
</UndefinedInterfaceMethod>
</file>
- <file src="apps/files/lib/Service/TagService.php">
- <InvalidArgument>
- <code>self::class . '::' . $eventName</code>
- </InvalidArgument>
- <TooManyArguments>
- <code>dispatch</code>
- </TooManyArguments>
- </file>
<file src="apps/files_external/appinfo/routes.php">
<InvalidScope>
<code>$this</code>
<code>test</code>
</TooManyArguments>
</file>
- <file src="apps/files_external/lib/Service/BackendService.php">
- <InvalidArgument>
- <code>'OCA\\Files_External::loadAdditionalBackends'</code>
- </InvalidArgument>
- <TooManyArguments>
- <code>dispatch</code>
- </TooManyArguments>
- </file>
<file src="apps/files_sharing/lib/Controller/ShareAPIController.php">
<RedundantCast>
<code>(int)$code</code>
<code>$cacheData</code>
</MoreSpecificImplementedParamType>
</file>
- <file src="apps/files_sharing/lib/Listener/LegacyBeforeTemplateRenderedListener.php">
- <InvalidArgument>
- <code>$legacyEvent</code>
- </InvalidArgument>
- <MissingTemplateParam>
- <code>IEventListener</code>
- </MissingTemplateParam>
- </file>
<file src="apps/files_sharing/lib/Listener/LoadAdditionalListener.php">
<MissingTemplateParam>
<code>IEventListener</code>
<code>ITrash</code>
</InvalidReturnType>
</file>
- <file src="apps/files_trashbin/lib/Storage.php">
- <InvalidOperand>
- <code><![CDATA[$this->mountPoint]]></code>
- </InvalidOperand>
- </file>
<file src="apps/files_trashbin/lib/Trash/LegacyTrashBackend.php">
<RedundantCondition>
<code>$trashFiles</code>
<code>updateFilecache</code>
</UndefinedInterfaceMethod>
</file>
- <file src="core/Command/Maintenance/Mimetype/UpdateJS.php">
- <UndefinedInterfaceMethod>
- <code>getAllAliases</code>
- </UndefinedInterfaceMethod>
- </file>
<file src="core/Command/Maintenance/RepairShareOwnership.php">
<LessSpecificReturnStatement>
<code>$found</code>
<code>$restrictions</code>
</InvalidArgument>
</file>
- <file src="lib/private/Accounts/AccountManager.php">
- <InvalidArgument>
- <code>'OC\AccountManager::userUpdated'</code>
- </InvalidArgument>
- <TooManyArguments>
- <code>dispatch</code>
- </TooManyArguments>
- </file>
<file src="lib/private/Activity/Event.php">
<ParamNameMismatch>
<code>$affectedUser</code>
<code>bool</code>
</ImplementedReturnTypeMismatch>
</file>
- <file src="lib/private/EventDispatcher/EventDispatcher.php">
- <TooManyArguments>
- <code>dispatch</code>
- </TooManyArguments>
- </file>
- <file src="lib/private/EventDispatcher/GenericEventWrapper.php">
- <LessSpecificReturnStatement>
- <code><![CDATA[$this->event->setArgument($key, $value)]]></code>
- <code><![CDATA[$this->event->setArguments($args)]]></code>
- </LessSpecificReturnStatement>
- <MoreSpecificReturnType>
- <code>setArgument</code>
- <code>setArguments</code>
- </MoreSpecificReturnType>
- </file>
- <file src="lib/private/EventDispatcher/SymfonyAdapter.php">
- <ImplementedParamTypeMismatch>
- <code>$eventName</code>
- </ImplementedParamTypeMismatch>
- <NoValue>
- <code>$listener</code>
- </NoValue>
- <ParamNameMismatch>
- <code>$eventName</code>
- </ParamNameMismatch>
- <TooManyArguments>
- <code>dispatch</code>
- </TooManyArguments>
- </file>
<file src="lib/private/Federation/CloudFederationProviderManager.php">
<ParamNameMismatch>
<code>$providerId</code>
</MoreSpecificReturnType>
</file>
<file src="lib/private/Files/Node/Node.php">
- <InvalidArgument>
- <code>'\OCP\Files::' . $hook</code>
- </InvalidArgument>
<InvalidNullableReturnType>
<code>FileInfo</code>
</InvalidNullableReturnType>
<ParamNameMismatch>
<code>$type</code>
</ParamNameMismatch>
- <TooManyArguments>
- <code>dispatch</code>
- </TooManyArguments>
<UndefinedInterfaceMethod>
<code><![CDATA[$this->fileInfo]]></code>
<code><![CDATA[$this->fileInfo]]></code>
<code><![CDATA[$x509->getDN(true)['CN']]]></code>
</InvalidArrayAccess>
<UndefinedInterfaceMethod>
- <code>getAllAliases</code>
<code>getOnlyDefaultAliases</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/private/Share20/Manager.php">
<InvalidArgument>
<code>$id</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>dispatch</code>
- <code>dispatch</code>
- <code>dispatch</code>
- <code>dispatch</code>
- <code>dispatch</code>
<code>update</code>
</TooManyArguments>
<UndefinedClass>
<ImplementedReturnTypeMismatch>
<code>boolean|null</code>
</ImplementedReturnTypeMismatch>
- <InvalidArgument>
- <code>IUser::class . '::firstLogin'</code>
- </InvalidArgument>
<NoInterfaceProperties>
<code><![CDATA[$request->server]]></code>
<code><![CDATA[$request->server]]></code>
</NoInterfaceProperties>
- <TooManyArguments>
- <code>dispatch</code>
- </TooManyArguments>
</file>
<file src="lib/private/User/User.php">
<UndefinedInterfaceMethod>
<file src="lib/private/legacy/OC_App.php">
<InvalidArgument>
<code>$groupsList</code>
- <code>ManagerEvent::EVENT_APP_UPDATE</code>
</InvalidArgument>
<InvalidArrayOffset>
<code>$dir['path']</code>
<NullableReturnStatement>
<code>null</code>
</NullableReturnStatement>
- <TooManyArguments>
- <code>dispatch</code>
- </TooManyArguments>
<TypeDoesNotContainNull>
<code>$appId === null</code>
<code>$appId === null</code>