Update baseline, I'm sorry

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2020-11-11 10:56:29 +01:00
parent dabed84bd4
commit d09a22069f
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 29 additions and 189 deletions

View File

@ -202,11 +202,10 @@
</NullableReturnStatement> </NullableReturnStatement>
</file> </file>
<file src="apps/dav/lib/CalDAV/CalDavBackend.php"> <file src="apps/dav/lib/CalDAV/CalDavBackend.php">
<ImplicitToStringCast occurrences="8"> <ImplicitToStringCast occurrences="7">
<code>$query-&gt;createParameter('principaluri')</code> <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;createNamedParameter(self::ACCESS_PUBLIC)</code> <code>$query-&gt;createNamedParameter(self::ACCESS_PUBLIC)</code>
<code>$query-&gt;createNamedParameter($value)</code>
<code>$query-&gt;createParameter('uri')</code> <code>$query-&gt;createParameter('uri')</code>
<code>$outerQuery-&gt;createFunction($innerQuery-&gt;getSQL())</code> <code>$outerQuery-&gt;createFunction($innerQuery-&gt;getSQL())</code>
<code>$calendarObjectIdQuery-&gt;createNamedParameter($componentTypes, IQueryBuilder::PARAM_STR_ARRAY)</code> <code>$calendarObjectIdQuery-&gt;createNamedParameter($componentTypes, IQueryBuilder::PARAM_STR_ARRAY)</code>
@ -1204,18 +1203,7 @@
</TypeDoesNotContainNull> </TypeDoesNotContainNull>
</file> </file>
<file src="apps/federatedfilesharing/lib/FederatedShareProvider.php"> <file src="apps/federatedfilesharing/lib/FederatedShareProvider.php">
<ImplicitToStringCast occurrences="17"> <ImplicitToStringCast occurrences="6">
<code>$qb-&gt;createNamedParameter($shareType)</code>
<code>$qb-&gt;createNamedParameter($itemType)</code>
<code>$qb-&gt;createNamedParameter($itemSource)</code>
<code>$qb-&gt;createNamedParameter($itemSource)</code>
<code>$qb-&gt;createNamedParameter($shareWith)</code>
<code>$qb-&gt;createNamedParameter($uidOwner)</code>
<code>$qb-&gt;createNamedParameter($sharedBy)</code>
<code>$qb-&gt;createNamedParameter($permissions)</code>
<code>$qb-&gt;createNamedParameter($token)</code>
<code>$qb-&gt;createNamedParameter(time())</code>
<code>$qb-&gt;createNamedParameter('')</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($this-&gt;supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code> <code>$qb-&gt;createNamedParameter($this-&gt;supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
@ -1703,17 +1691,8 @@
</TooManyArguments> </TooManyArguments>
</file> </file>
<file src="apps/files_external/lib/Service/DBConfigService.php"> <file src="apps/files_external/lib/Service/DBConfigService.php">
<ImplicitToStringCast occurrences="10"> <ImplicitToStringCast occurrences="1">
<code>$builder-&gt;createNamedParameter($groupIds, IQueryBuilder::PARAM_STR_ARRAY)</code> <code>$builder-&gt;createNamedParameter($groupIds, IQueryBuilder::PARAM_STR_ARRAY)</code>
<code>$builder-&gt;createNamedParameter($mountId, IQueryBuilder::PARAM_INT)</code>
<code>$builder-&gt;createNamedParameter($key, IQueryBuilder::PARAM_STR)</code>
<code>$builder-&gt;createNamedParameter($value, IQueryBuilder::PARAM_STR)</code>
<code>$builder-&gt;createNamedParameter($mountId, IQueryBuilder::PARAM_INT)</code>
<code>$builder-&gt;createNamedParameter($key, IQueryBuilder::PARAM_STR)</code>
<code>$builder-&gt;createNamedParameter(json_encode($value), IQueryBuilder::PARAM_STR)</code>
<code>$builder-&gt;createNamedParameter($mountId)</code>
<code>$builder-&gt;createNamedParameter($type)</code>
<code>$builder-&gt;createNamedParameter($value)</code>
</ImplicitToStringCast> </ImplicitToStringCast>
<NullableReturnStatement occurrences="1"> <NullableReturnStatement occurrences="1">
<code>null</code> <code>null</code>
@ -1755,10 +1734,9 @@
</UndefinedVariable> </UndefinedVariable>
</file> </file>
<file src="apps/files_sharing/lib/AppInfo/Application.php"> <file src="apps/files_sharing/lib/AppInfo/Application.php">
<UndefinedClass occurrences="3"> <UndefinedClass occurrences="2">
<code>'ExternalMountProvider'</code> <code>'ExternalMountProvider'</code>
<code>'OCP\Collaboration\Resources::loadAdditionalScripts'</code> <code>'\OCP\Collaboration\Resources::loadAdditionalScripts'</code>
<code>'OCP\Share::postShare'</code>
</UndefinedClass> </UndefinedClass>
</file> </file>
<file src="apps/files_sharing/lib/Cache.php"> <file src="apps/files_sharing/lib/Cache.php">
@ -2073,15 +2051,6 @@
<FalsableReturnStatement occurrences="1"> <FalsableReturnStatement occurrences="1">
<code>false</code> <code>false</code>
</FalsableReturnStatement> </FalsableReturnStatement>
<InvalidArgument occurrences="1">
<code>$ma</code>
</InvalidArgument>
<InvalidReturnStatement occurrences="1">
<code>$query-&gt;execute([$uid])</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>bool</code>
</InvalidReturnType>
<InvalidScalarArgument occurrences="2"> <InvalidScalarArgument occurrences="2">
<code>$timestamp</code> <code>$timestamp</code>
<code>$timestamp</code> <code>$timestamp</code>
@ -2135,11 +2104,6 @@
<code>getURLGenerator</code> <code>getURLGenerator</code>
</TooManyArguments> </TooManyArguments>
</file> </file>
<file src="apps/lookup_server_connector/lib/AppInfo/Application.php">
<UndefinedClass occurrences="1">
<code>'OC\AccountManager::userUpdated'</code>
</UndefinedClass>
</file>
<file src="apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php"> <file src="apps/lookup_server_connector/lib/BackgroundJobs/RetryJob.php">
<InvalidArrayOffset occurrences="10"> <InvalidArrayOffset occurrences="10">
<code>$publicData[IAccountManager::PROPERTY_DISPLAYNAME]['value']</code> <code>$publicData[IAccountManager::PROPERTY_DISPLAYNAME]['value']</code>
@ -2217,8 +2181,9 @@
</UndefinedInterfaceMethod> </UndefinedInterfaceMethod>
</file> </file>
<file src="apps/settings/lib/Controller/CheckSetupController.php"> <file src="apps/settings/lib/Controller/CheckSetupController.php">
<InvalidArgument occurrences="2"> <InvalidArgument occurrences="3">
<code>IDBConnection::CHECK_MISSING_INDEXES_EVENT</code> <code>IDBConnection::CHECK_MISSING_INDEXES_EVENT</code>
<code>IDBConnection::CHECK_MISSING_PRIMARY_KEYS_EVENT</code>
<code>IDBConnection::CHECK_MISSING_COLUMNS_EVENT</code> <code>IDBConnection::CHECK_MISSING_COLUMNS_EVENT</code>
</InvalidArgument> </InvalidArgument>
<InvalidOperand occurrences="1"> <InvalidOperand occurrences="1">
@ -2235,7 +2200,8 @@
<code>0</code> <code>0</code>
<code>$lastCronRun</code> <code>$lastCronRun</code>
</InvalidScalarArgument> </InvalidScalarArgument>
<TooManyArguments occurrences="2"> <TooManyArguments occurrences="3">
<code>dispatch</code>
<code>dispatch</code> <code>dispatch</code>
<code>dispatch</code> <code>dispatch</code>
</TooManyArguments> </TooManyArguments>
@ -2308,21 +2274,7 @@
</NullableReturnStatement> </NullableReturnStatement>
</file> </file>
<file src="apps/sharebymail/lib/ShareByMailProvider.php"> <file src="apps/sharebymail/lib/ShareByMailProvider.php">
<ImplicitToStringCast occurrences="15"> <ImplicitToStringCast occurrences="1">
<code>$qb-&gt;createNamedParameter(IShare::TYPE_EMAIL)</code>
<code>$qb-&gt;createNamedParameter($itemType)</code>
<code>$qb-&gt;createNamedParameter($itemSource)</code>
<code>$qb-&gt;createNamedParameter($itemSource)</code>
<code>$qb-&gt;createNamedParameter($shareWith)</code>
<code>$qb-&gt;createNamedParameter($uidOwner)</code>
<code>$qb-&gt;createNamedParameter($sharedBy)</code>
<code>$qb-&gt;createNamedParameter($permissions)</code>
<code>$qb-&gt;createNamedParameter($token)</code>
<code>$qb-&gt;createNamedParameter($password)</code>
<code>$qb-&gt;createNamedParameter($sendPasswordByTalk, IQueryBuilder::PARAM_BOOL)</code>
<code>$qb-&gt;createNamedParameter(time())</code>
<code>$qb-&gt;createNamedParameter((int)$hideDownload, IQueryBuilder::PARAM_INT)</code>
<code>$qb-&gt;createNamedParameter('')</code>
<code>$qb-&gt;createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code> <code>$qb-&gt;createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
</ImplicitToStringCast> </ImplicitToStringCast>
<InvalidReturnStatement occurrences="1"> <InvalidReturnStatement occurrences="1">
@ -2485,19 +2437,11 @@
<InvalidReturnType occurrences="1"> <InvalidReturnType occurrences="1">
<code>string[]</code> <code>string[]</code>
</InvalidReturnType> </InvalidReturnType>
<InvalidScalarArgument occurrences="13"> <InvalidScalarArgument occurrences="4">
<code>[$attr =&gt; $result['values']]</code> <code>[$attr =&gt; $result['values']]</code>
<code>$key</code> <code>$key</code>
<code>$key</code> <code>$key</code>
<code>$e-&gt;getCode()</code> <code>$e-&gt;getCode()</code>
<code>$nameAttribute</code>
<code>$filter</code>
<code>$this-&gt;connection-&gt;ldapLoginFilter</code>
<code>$this-&gt;connection-&gt;ldapLoginFilter</code>
<code>$this-&gt;connection-&gt;ldapUserDisplayName</code>
<code>$this-&gt;connection-&gt;ldapUserDisplayName</code>
<code>$this-&gt;connection-&gt;ldapGroupDisplayName</code>
<code>$filter</code>
</InvalidScalarArgument> </InvalidScalarArgument>
<NullArgument occurrences="1"> <NullArgument occurrences="1">
<code>$cookie</code> <code>$cookie</code>
@ -2568,27 +2512,9 @@
<InvalidReturnType occurrences="1"> <InvalidReturnType occurrences="1">
<code>bool</code> <code>bool</code>
</InvalidReturnType> </InvalidReturnType>
<InvalidScalarArgument occurrences="26"> <InvalidScalarArgument occurrences="2">
<code>$gAssoc</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapLoginFilter</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapDynamicGroupMemberURL</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapGroupFilter</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapGroupMemberAssocAttr</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapGidNumber</code>
<code>$groupID</code> <code>$groupID</code>
<code>$groupID</code> <code>$groupID</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapDynamicGroupMemberURL</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapGroupFilter</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapUserDisplayName</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapGroupMemberAssocAttr</code>
<code>[strtolower($this-&gt;access-&gt;connection-&gt;ldapGroupMemberAssocAttr), $this-&gt;access-&gt;connection-&gt;ldapGroupDisplayName, 'dn']</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapLoginFilter</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapUserDisplayName</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapLoginFilter</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapUserDisplayName</code>
<code>[$this-&gt;access-&gt;connection-&gt;ldapGroupDisplayName, 'dn']</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapGroupFilter</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapGroupDisplayName</code>
</InvalidScalarArgument> </InvalidScalarArgument>
<RedundantCondition occurrences="4"> <RedundantCondition occurrences="4">
<code>!is_array($members) || count($members) === 0</code> <code>!is_array($members) || count($members) === 0</code>
@ -2724,10 +2650,6 @@
<InvalidDocblock occurrences="1"> <InvalidDocblock occurrences="1">
<code>public function setLdapAccess(Access $access) {</code> <code>public function setLdapAccess(Access $access) {</code>
</InvalidDocblock> </InvalidDocblock>
<InvalidScalarArgument occurrences="2">
<code>$homeRule</code>
<code>$homeRule</code>
</InvalidScalarArgument>
</file> </file>
<file src="apps/user_ldap/lib/User/User.php"> <file src="apps/user_ldap/lib/User/User.php">
<FalsableReturnStatement occurrences="1"> <FalsableReturnStatement occurrences="1">
@ -2740,34 +2662,18 @@
<code>null</code> <code>null</code>
<code>null</code> <code>null</code>
</InvalidReturnType> </InvalidReturnType>
<InvalidScalarArgument occurrences="15"> <InvalidScalarArgument occurrences="3">
<code>$this-&gt;connection-&gt;ldapQuotaAttribute</code>
<code>$this-&gt;connection-&gt;ldapUserDisplayName</code>
<code>$this-&gt;connection-&gt;ldapUserDisplayName2</code>
<code>$this-&gt;connection-&gt;ldapEmailAttribute</code>
<code>$this-&gt;connection-&gt;homeFolderNamingRule</code>
<code>$this-&gt;connection-&gt;homeFolderNamingRule</code>
<code>$this-&gt;getHomePath($ldapEntry[$attr][0])</code> <code>$this-&gt;getHomePath($ldapEntry[$attr][0])</code>
<code>$this-&gt;connection-&gt;ldapExtStorageHomeAttribute</code>
<code>$this-&gt;access-&gt;connection-&gt;homeFolderNamingRule</code>
<code>$this-&gt;access-&gt;connection-&gt;homeFolderNamingRule</code>
<code>true</code> <code>true</code>
<code>1</code> <code>1</code>
<code>$emailAttribute</code>
<code>$quotaAttribute</code>
<code>$this-&gt;connection-&gt;ldapExtStorageHomeAttribute</code>
</InvalidScalarArgument> </InvalidScalarArgument>
</file> </file>
<file src="apps/user_ldap/lib/User_LDAP.php"> <file src="apps/user_ldap/lib/User_LDAP.php">
<ImplementedReturnTypeMismatch occurrences="1"> <ImplementedReturnTypeMismatch occurrences="1">
<code>string|false</code> <code>string|false</code>
</ImplementedReturnTypeMismatch> </ImplementedReturnTypeMismatch>
<InvalidScalarArgument occurrences="8"> <InvalidScalarArgument occurrences="3">
<code>$this-&gt;access-&gt;connection-&gt;ldapUserFilter</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapUserFilter</code>
<code>$path</code> <code>$path</code>
<code>$additionalAttribute</code>
<code>$this-&gt;access-&gt;connection-&gt;ldapUserDisplayName</code>
<code>$limit</code> <code>$limit</code>
<code>$offset</code> <code>$offset</code>
</InvalidScalarArgument> </InvalidScalarArgument>
@ -2979,7 +2885,7 @@
</file> </file>
<file src="core/Command/Broadcast/Test.php"> <file src="core/Command/Broadcast/Test.php">
<UndefinedClass occurrences="1"> <UndefinedClass occurrences="1">
<code>broadcasttest</code> <code>'broadcasttest'</code>
</UndefinedClass> </UndefinedClass>
</file> </file>
<file src="core/Command/Config/App/GetConfig.php"> <file src="core/Command/Config/App/GetConfig.php">
@ -3028,10 +2934,15 @@
<code>dispatch</code> <code>dispatch</code>
</TooManyArguments> </TooManyArguments>
</file> </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"> <file src="core/Command/Db/ConvertType.php">
<ImplicitToStringCast occurrences="1">
<code>$insertQuery-&gt;createParameter($key)</code>
</ImplicitToStringCast>
<InternalMethod occurrences="1"> <InternalMethod occurrences="1">
<code>setFilterSchemaAssetsExpression</code> <code>setFilterSchemaAssetsExpression</code>
</InternalMethod> </InternalMethod>
@ -3213,7 +3124,6 @@
<InvalidScope occurrences="2"> <InvalidScope occurrences="2">
<code>$this</code> <code>$this</code>
<code>$this</code> <code>$this</code>
<code>$this</code>
</InvalidScope> </InvalidScope>
</file> </file>
<file src="core/templates/layout.public.php"> <file src="core/templates/layout.public.php">
@ -3498,11 +3408,6 @@
<code>$default</code> <code>$default</code>
</MoreSpecificImplementedParamType> </MoreSpecificImplementedParamType>
</file> </file>
<file src="lib/private/AppFramework/Services/InitialState.php">
<ImplementedParamTypeMismatch occurrences="1">
<code>$closure</code>
</ImplementedParamTypeMismatch>
</file>
<file src="lib/private/Archive/TAR.php"> <file src="lib/private/Archive/TAR.php">
<FalsableReturnStatement occurrences="1"> <FalsableReturnStatement occurrences="1">
<code>false</code> <code>false</code>
@ -3793,9 +3698,6 @@
</NullableReturnStatement> </NullableReturnStatement>
</file> </file>
<file src="lib/private/DB/Adapter.php"> <file src="lib/private/DB/Adapter.php">
<ImplicitToStringCast occurrences="1">
<code>$builder-&gt;createNamedParameter($value)</code>
</ImplicitToStringCast>
<InvalidReturnStatement occurrences="1"> <InvalidReturnStatement occurrences="1">
<code>$builder-&gt;execute()</code> <code>$builder-&gt;execute()</code>
</InvalidReturnStatement> </InvalidReturnStatement>
@ -3807,9 +3709,6 @@
<FalsableReturnStatement occurrences="1"> <FalsableReturnStatement occurrences="1">
<code>$this-&gt;conn-&gt;fetchColumn('SELECT lastval()')</code> <code>$this-&gt;conn-&gt;fetchColumn('SELECT lastval()')</code>
</FalsableReturnStatement> </FalsableReturnStatement>
<ImplicitToStringCast occurrences="1">
<code>$builder-&gt;createNamedParameter($value)</code>
</ImplicitToStringCast>
</file> </file>
<file src="lib/private/DB/Connection.php"> <file src="lib/private/DB/Connection.php">
<ImplementedReturnTypeMismatch occurrences="1"> <ImplementedReturnTypeMismatch occurrences="1">
@ -4034,8 +3933,7 @@
</TooManyArguments> </TooManyArguments>
</file> </file>
<file src="lib/private/Files/Cache/Cache.php"> <file src="lib/private/Files/Cache/Cache.php">
<ImplicitToStringCast occurrences="3"> <ImplicitToStringCast occurrences="2">
<code>$builder-&gt;createNamedParameter($value)</code>
<code>$fun-&gt;md5($newPathFunction)</code> <code>$fun-&gt;md5($newPathFunction)</code>
<code>$newPathFunction</code> <code>$newPathFunction</code>
</ImplicitToStringCast> </ImplicitToStringCast>
@ -4091,9 +3989,6 @@
<code>$filesData</code> <code>$filesData</code>
<code>$data</code> <code>$data</code>
</UndefinedInterfaceMethod> </UndefinedInterfaceMethod>
<UndefinedMagicMethod occurrences="1">
<code>closeCursor</code>
</UndefinedMagicMethod>
</file> </file>
<file src="lib/private/Files/Cache/LocalRootScanner.php"> <file src="lib/private/Files/Cache/LocalRootScanner.php">
<InvalidNullableReturnType occurrences="2"> <InvalidNullableReturnType occurrences="2">
@ -4108,7 +4003,7 @@
<file src="lib/private/Files/Cache/Propagator.php"> <file src="lib/private/Files/Cache/Propagator.php">
<ImplicitToStringCast occurrences="4"> <ImplicitToStringCast occurrences="4">
<code>$builder-&gt;func()-&gt;greatest('mtime', $builder-&gt;createNamedParameter((int)$time, IQueryBuilder::PARAM_INT))</code> <code>$builder-&gt;func()-&gt;greatest('mtime', $builder-&gt;createNamedParameter((int)$time, IQueryBuilder::PARAM_INT))</code>
<code>$query-&gt;createFunction('GREATEST(' . $query-&gt;getColumnName('mtime') . ', ' . $query-&gt;createParameter('time') . ')')</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> <code>$sizeQuery-&gt;func()-&gt;add('size', $sizeQuery-&gt;createParameter('size'))</code>
</ImplicitToStringCast> </ImplicitToStringCast>
</file> </file>
@ -4898,12 +4793,6 @@
<code>true</code> <code>true</code>
</InvalidReturnType> </InvalidReturnType>
</file> </file>
<file src="lib/private/Files/Stream/Encryption.php">
<InvalidScalarArgument occurrences="1">
<code>$position</code>
</InvalidScalarArgument>
<UndefinedInterfaceMethod occurrences="1"/>
</file>
<file src="lib/private/Files/Stream/SeekableHttpStream.php"> <file src="lib/private/Files/Stream/SeekableHttpStream.php">
<FalsableReturnStatement occurrences="3"> <FalsableReturnStatement occurrences="3">
<code>false</code> <code>false</code>
@ -5004,12 +4893,6 @@
</TypeDoesNotContainNull> </TypeDoesNotContainNull>
</file> </file>
<file src="lib/private/Group/Database.php"> <file src="lib/private/Group/Database.php">
<ImplicitToStringCast occurrences="4">
<code>$builder-&gt;createNamedParameter($gid)</code>
<code>$builder-&gt;createNamedParameter($gid)</code>
<code>$qb-&gt;createNamedParameter($uid)</code>
<code>$qb-&gt;createNamedParameter($gid)</code>
</ImplicitToStringCast>
<InvalidArgument occurrences="1"/> <InvalidArgument occurrences="1"/>
<InvalidArrayOffset occurrences="1"> <InvalidArrayOffset occurrences="1">
<code>$this-&gt;groupCache[$gid]['displayname']</code> <code>$this-&gt;groupCache[$gid]['displayname']</code>
@ -5427,11 +5310,6 @@
<code>$permsFunc</code> <code>$permsFunc</code>
</ImplicitToStringCast> </ImplicitToStringCast>
</file> </file>
<file src="lib/private/Repair/RepairMimeTypes.php">
<InvalidOperand occurrences="1">
<code>\OC_DB::executeAudited(self::updateByNameStmt(), [$mimetypeId, $this-&gt;folderMimeTypeId, $mimetypeId, '%.' . $extension])</code>
</InvalidOperand>
</file>
<file src="lib/private/Route/Router.php"> <file src="lib/private/Route/Router.php">
<InvalidClass occurrences="1"> <InvalidClass occurrences="1">
<code>\OC_APP</code> <code>\OC_APP</code>
@ -5460,9 +5338,6 @@
</InvalidPropertyAssignmentValue> </InvalidPropertyAssignmentValue>
</file> </file>
<file src="lib/private/Security/Bruteforce/Throttler.php"> <file src="lib/private/Security/Bruteforce/Throttler.php">
<ImplicitToStringCast occurrences="1">
<code>$qb-&gt;createNamedParameter($value)</code>
</ImplicitToStringCast>
<NullArgument occurrences="1"> <NullArgument occurrences="1">
<code>null</code> <code>null</code>
</NullArgument> </NullArgument>
@ -5587,9 +5462,8 @@
</file> </file>
<file src="lib/private/Share/Helper.php"> <file src="lib/private/Share/Helper.php">
<ImplicitToStringCast occurrences="3"> <ImplicitToStringCast occurrences="3">
<code>$query->createNamedParameter($parents, IQueryBuilder::PARAM_INT_ARRAY)</code> <code>$query-&gt;createNamedParameter($changeParent, IQueryBuilder::PARAM_INT_ARRAY)</code>
<code>$query->createNamedParameter($changeParent, IQueryBuilder::PARAM_INT_ARRAY)</code> <code>$query-&gt;createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
<code>$query->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
</ImplicitToStringCast> </ImplicitToStringCast>
</file> </file>
<file src="lib/private/Share/Share.php"> <file src="lib/private/Share/Share.php">
@ -5613,27 +5487,7 @@
</UndefinedInterfaceMethod> </UndefinedInterfaceMethod>
</file> </file>
<file src="lib/private/Share20/DefaultShareProvider.php"> <file src="lib/private/Share20/DefaultShareProvider.php">
<ImplicitToStringCast occurrences="27"> <ImplicitToStringCast occurrences="7">
<code>$qb-&gt;createNamedParameter($share-&gt;getShareType())</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getSharedWith())</code>
<code>$qb-&gt;createNamedParameter(IShare::STATUS_PENDING)</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getExpirationDate(), 'datetime')</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getSharedWith())</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getExpirationDate(), 'datetime')</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getLabel())</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getToken())</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getPassword())</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getSendPasswordByTalk(), IQueryBuilder::PARAM_BOOL)</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getExpirationDate(), 'datetime')</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getParent())</code>
<code>$qb-&gt;createParameter('itemType')</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getNode()-&gt;getId())</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getNode()-&gt;getId())</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getPermissions())</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getSharedBy())</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getShareOwner())</code>
<code>$qb-&gt;createNamedParameter($share-&gt;getTarget())</code>
<code>$qb-&gt;createNamedParameter(time())</code>
<code>$qb-&gt;createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code> <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($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code> <code>$qb-&gt;createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code>
@ -5847,8 +5701,7 @@
<code>string</code> <code>string</code>
<code>string</code> <code>string</code>
</InvalidParamDefault> </InvalidParamDefault>
<InvalidScalarArgument occurrences="4"> <InvalidScalarArgument occurrences="3">
<code>\OC_User::getUser()</code>
<code>\OC_User::getUser()</code> <code>\OC_User::getUser()</code>
<code>$appName</code> <code>$appName</code>
<code>$appName</code> <code>$appName</code>
@ -6211,11 +6064,6 @@
<code>$column</code> <code>$column</code>
</NullableReturnStatement> </NullableReturnStatement>
</file> </file>
<file src="lib/public/AppFramework/Db/QBMapper.php">
<ImplicitToStringCast occurrences="1">
<code>$qb-&gt;createNamedParameter($value, $type)</code>
</ImplicitToStringCast>
</file>
<file src="lib/public/AppFramework/Http/DataResponse.php"> <file src="lib/public/AppFramework/Http/DataResponse.php">
<InvalidReturnStatement occurrences="1"> <InvalidReturnStatement occurrences="1">
<code>$this-&gt;data</code> <code>$this-&gt;data</code>
@ -6247,14 +6095,6 @@
<code>$this-&gt;resources</code> <code>$this-&gt;resources</code>
</InvalidPropertyAssignmentValue> </InvalidPropertyAssignmentValue>
</file> </file>
<file src="lib/public/AppFramework/Services/IInitialState.php">
<MismatchingDocblockParamType occurrences="1">
<code>Closure</code>
</MismatchingDocblockParamType>
<UndefinedDocblockClass occurrences="1">
<code>Closure</code>
</UndefinedDocblockClass>
</file>
<file src="lib/public/BackgroundJob/TimedJob.php"> <file src="lib/public/BackgroundJob/TimedJob.php">
<MoreSpecificImplementedParamType occurrences="1"> <MoreSpecificImplementedParamType occurrences="1">
<code>$jobList</code> <code>$jobList</code>