Update baseline, I'm sorry
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
dabed84bd4
commit
d09a22069f
|
@ -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->createParameter('principaluri')</code>
|
<code>$query->createParameter('principaluri')</code>
|
||||||
<code>$query->createNamedParameter(self::ACCESS_PUBLIC)</code>
|
<code>$query->createNamedParameter(self::ACCESS_PUBLIC)</code>
|
||||||
<code>$query->createNamedParameter(self::ACCESS_PUBLIC)</code>
|
<code>$query->createNamedParameter(self::ACCESS_PUBLIC)</code>
|
||||||
<code>$query->createNamedParameter($value)</code>
|
|
||||||
<code>$query->createParameter('uri')</code>
|
<code>$query->createParameter('uri')</code>
|
||||||
<code>$outerQuery->createFunction($innerQuery->getSQL())</code>
|
<code>$outerQuery->createFunction($innerQuery->getSQL())</code>
|
||||||
<code>$calendarObjectIdQuery->createNamedParameter($componentTypes, IQueryBuilder::PARAM_STR_ARRAY)</code>
|
<code>$calendarObjectIdQuery->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->createNamedParameter($shareType)</code>
|
|
||||||
<code>$qb->createNamedParameter($itemType)</code>
|
|
||||||
<code>$qb->createNamedParameter($itemSource)</code>
|
|
||||||
<code>$qb->createNamedParameter($itemSource)</code>
|
|
||||||
<code>$qb->createNamedParameter($shareWith)</code>
|
|
||||||
<code>$qb->createNamedParameter($uidOwner)</code>
|
|
||||||
<code>$qb->createNamedParameter($sharedBy)</code>
|
|
||||||
<code>$qb->createNamedParameter($permissions)</code>
|
|
||||||
<code>$qb->createNamedParameter($token)</code>
|
|
||||||
<code>$qb->createNamedParameter(time())</code>
|
|
||||||
<code>$qb->createNamedParameter('')</code>
|
|
||||||
<code>$qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
<code>$qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
||||||
<code>$qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
<code>$qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
||||||
<code>$qb->createNamedParameter($this->supportedShareType, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
<code>$qb->createNamedParameter($this->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->createNamedParameter($groupIds, IQueryBuilder::PARAM_STR_ARRAY)</code>
|
<code>$builder->createNamedParameter($groupIds, IQueryBuilder::PARAM_STR_ARRAY)</code>
|
||||||
<code>$builder->createNamedParameter($mountId, IQueryBuilder::PARAM_INT)</code>
|
|
||||||
<code>$builder->createNamedParameter($key, IQueryBuilder::PARAM_STR)</code>
|
|
||||||
<code>$builder->createNamedParameter($value, IQueryBuilder::PARAM_STR)</code>
|
|
||||||
<code>$builder->createNamedParameter($mountId, IQueryBuilder::PARAM_INT)</code>
|
|
||||||
<code>$builder->createNamedParameter($key, IQueryBuilder::PARAM_STR)</code>
|
|
||||||
<code>$builder->createNamedParameter(json_encode($value), IQueryBuilder::PARAM_STR)</code>
|
|
||||||
<code>$builder->createNamedParameter($mountId)</code>
|
|
||||||
<code>$builder->createNamedParameter($type)</code>
|
|
||||||
<code>$builder->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->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->createNamedParameter(IShare::TYPE_EMAIL)</code>
|
|
||||||
<code>$qb->createNamedParameter($itemType)</code>
|
|
||||||
<code>$qb->createNamedParameter($itemSource)</code>
|
|
||||||
<code>$qb->createNamedParameter($itemSource)</code>
|
|
||||||
<code>$qb->createNamedParameter($shareWith)</code>
|
|
||||||
<code>$qb->createNamedParameter($uidOwner)</code>
|
|
||||||
<code>$qb->createNamedParameter($sharedBy)</code>
|
|
||||||
<code>$qb->createNamedParameter($permissions)</code>
|
|
||||||
<code>$qb->createNamedParameter($token)</code>
|
|
||||||
<code>$qb->createNamedParameter($password)</code>
|
|
||||||
<code>$qb->createNamedParameter($sendPasswordByTalk, IQueryBuilder::PARAM_BOOL)</code>
|
|
||||||
<code>$qb->createNamedParameter(time())</code>
|
|
||||||
<code>$qb->createNamedParameter((int)$hideDownload, IQueryBuilder::PARAM_INT)</code>
|
|
||||||
<code>$qb->createNamedParameter('')</code>
|
|
||||||
<code>$qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
<code>$qb->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 => $result['values']]</code>
|
<code>[$attr => $result['values']]</code>
|
||||||
<code>$key</code>
|
<code>$key</code>
|
||||||
<code>$key</code>
|
<code>$key</code>
|
||||||
<code>$e->getCode()</code>
|
<code>$e->getCode()</code>
|
||||||
<code>$nameAttribute</code>
|
|
||||||
<code>$filter</code>
|
|
||||||
<code>$this->connection->ldapLoginFilter</code>
|
|
||||||
<code>$this->connection->ldapLoginFilter</code>
|
|
||||||
<code>$this->connection->ldapUserDisplayName</code>
|
|
||||||
<code>$this->connection->ldapUserDisplayName</code>
|
|
||||||
<code>$this->connection->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->access->connection->ldapLoginFilter</code>
|
|
||||||
<code>$this->access->connection->ldapDynamicGroupMemberURL</code>
|
|
||||||
<code>$this->access->connection->ldapGroupFilter</code>
|
|
||||||
<code>$this->access->connection->ldapGroupMemberAssocAttr</code>
|
|
||||||
<code>$this->access->connection->ldapGidNumber</code>
|
|
||||||
<code>$groupID</code>
|
<code>$groupID</code>
|
||||||
<code>$groupID</code>
|
<code>$groupID</code>
|
||||||
<code>$this->access->connection->ldapDynamicGroupMemberURL</code>
|
|
||||||
<code>$this->access->connection->ldapGroupFilter</code>
|
|
||||||
<code>$this->access->connection->ldapUserDisplayName</code>
|
|
||||||
<code>$this->access->connection->ldapGroupMemberAssocAttr</code>
|
|
||||||
<code>[strtolower($this->access->connection->ldapGroupMemberAssocAttr), $this->access->connection->ldapGroupDisplayName, 'dn']</code>
|
|
||||||
<code>$this->access->connection->ldapLoginFilter</code>
|
|
||||||
<code>$this->access->connection->ldapUserDisplayName</code>
|
|
||||||
<code>$this->access->connection->ldapLoginFilter</code>
|
|
||||||
<code>$this->access->connection->ldapUserDisplayName</code>
|
|
||||||
<code>[$this->access->connection->ldapGroupDisplayName, 'dn']</code>
|
|
||||||
<code>$this->access->connection->ldapGroupFilter</code>
|
|
||||||
<code>$this->access->connection->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->connection->ldapQuotaAttribute</code>
|
|
||||||
<code>$this->connection->ldapUserDisplayName</code>
|
|
||||||
<code>$this->connection->ldapUserDisplayName2</code>
|
|
||||||
<code>$this->connection->ldapEmailAttribute</code>
|
|
||||||
<code>$this->connection->homeFolderNamingRule</code>
|
|
||||||
<code>$this->connection->homeFolderNamingRule</code>
|
|
||||||
<code>$this->getHomePath($ldapEntry[$attr][0])</code>
|
<code>$this->getHomePath($ldapEntry[$attr][0])</code>
|
||||||
<code>$this->connection->ldapExtStorageHomeAttribute</code>
|
|
||||||
<code>$this->access->connection->homeFolderNamingRule</code>
|
|
||||||
<code>$this->access->connection->homeFolderNamingRule</code>
|
|
||||||
<code>true</code>
|
<code>true</code>
|
||||||
<code>1</code>
|
<code>1</code>
|
||||||
<code>$emailAttribute</code>
|
|
||||||
<code>$quotaAttribute</code>
|
|
||||||
<code>$this->connection->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->access->connection->ldapUserFilter</code>
|
|
||||||
<code>$this->access->connection->ldapUserFilter</code>
|
|
||||||
<code>$path</code>
|
<code>$path</code>
|
||||||
<code>$additionalAttribute</code>
|
|
||||||
<code>$this->access->connection->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->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->createNamedParameter($value)</code>
|
|
||||||
</ImplicitToStringCast>
|
|
||||||
<InvalidReturnStatement occurrences="1">
|
<InvalidReturnStatement occurrences="1">
|
||||||
<code>$builder->execute()</code>
|
<code>$builder->execute()</code>
|
||||||
</InvalidReturnStatement>
|
</InvalidReturnStatement>
|
||||||
|
@ -3807,9 +3709,6 @@
|
||||||
<FalsableReturnStatement occurrences="1">
|
<FalsableReturnStatement occurrences="1">
|
||||||
<code>$this->conn->fetchColumn('SELECT lastval()')</code>
|
<code>$this->conn->fetchColumn('SELECT lastval()')</code>
|
||||||
</FalsableReturnStatement>
|
</FalsableReturnStatement>
|
||||||
<ImplicitToStringCast occurrences="1">
|
|
||||||
<code>$builder->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->createNamedParameter($value)</code>
|
|
||||||
<code>$fun->md5($newPathFunction)</code>
|
<code>$fun->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->func()->greatest('mtime', $builder->createNamedParameter((int)$time, IQueryBuilder::PARAM_INT))</code>
|
<code>$builder->func()->greatest('mtime', $builder->createNamedParameter((int)$time, IQueryBuilder::PARAM_INT))</code>
|
||||||
<code>$query->createFunction('GREATEST(' . $query->getColumnName('mtime') . ', ' . $query->createParameter('time') . ')')</code>
|
<code>$query->func()->greatest('mtime', $query->createParameter('time'))</code>
|
||||||
<code>$sizeQuery->func()->add('size', $sizeQuery->createParameter('size'))</code>
|
<code>$sizeQuery->func()->add('size', $sizeQuery->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->createNamedParameter($gid)</code>
|
|
||||||
<code>$builder->createNamedParameter($gid)</code>
|
|
||||||
<code>$qb->createNamedParameter($uid)</code>
|
|
||||||
<code>$qb->createNamedParameter($gid)</code>
|
|
||||||
</ImplicitToStringCast>
|
|
||||||
<InvalidArgument occurrences="1"/>
|
<InvalidArgument occurrences="1"/>
|
||||||
<InvalidArrayOffset occurrences="1">
|
<InvalidArrayOffset occurrences="1">
|
||||||
<code>$this->groupCache[$gid]['displayname']</code>
|
<code>$this->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->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->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->createNamedParameter($changeParent, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
||||||
<code>$query->createNamedParameter($changeParent, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
<code>$query->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->createNamedParameter($share->getShareType())</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getSharedWith())</code>
|
|
||||||
<code>$qb->createNamedParameter(IShare::STATUS_PENDING)</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getExpirationDate(), 'datetime')</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getSharedWith())</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getExpirationDate(), 'datetime')</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getLabel())</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getToken())</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getPassword())</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getSendPasswordByTalk(), IQueryBuilder::PARAM_BOOL)</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getExpirationDate(), 'datetime')</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getParent())</code>
|
|
||||||
<code>$qb->createParameter('itemType')</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getNode()->getId())</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getNode()->getId())</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getPermissions())</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getSharedBy())</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getShareOwner())</code>
|
|
||||||
<code>$qb->createNamedParameter($share->getTarget())</code>
|
|
||||||
<code>$qb->createNamedParameter(time())</code>
|
|
||||||
<code>$qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
<code>$qb->createNamedParameter($ids, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
||||||
<code>$qb->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
<code>$qb->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
||||||
<code>$qb->createNamedParameter($chunk, IQueryBuilder::PARAM_INT_ARRAY)</code>
|
<code>$qb->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->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->data</code>
|
<code>$this->data</code>
|
||||||
|
@ -6247,14 +6095,6 @@
|
||||||
<code>$this->resources</code>
|
<code>$this->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>
|
||||||
|
|
Loading…
Reference in New Issue