Update baseline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
a2faa8c430
commit
4c760e0076
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<files psalm-version="3.17.1@8f211792d813e4dc89f04ed372785ce93b902fd1">
|
<files psalm-version="4.0.1@b1e2e30026936ef8d5bf6a354d1c3959b6231f44">
|
||||||
<file src="3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php">
|
<file src="3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php">
|
||||||
<ImplementedReturnTypeMismatch occurrences="1">
|
<ImplementedReturnTypeMismatch occurrences="1">
|
||||||
<code>string|null</code>
|
<code>string|null</code>
|
||||||
|
@ -132,6 +132,9 @@
|
||||||
<InvalidOperand occurrences="1">
|
<InvalidOperand occurrences="1">
|
||||||
<code>$argv[5]</code>
|
<code>$argv[5]</code>
|
||||||
</InvalidOperand>
|
</InvalidOperand>
|
||||||
|
<InvalidScalarArgument occurrences="1">
|
||||||
|
<code>$chunkSize</code>
|
||||||
|
</InvalidScalarArgument>
|
||||||
<MissingFile occurrences="1">
|
<MissingFile occurrences="1">
|
||||||
<code>require '../../../../3rdparty/autoload.php'</code>
|
<code>require '../../../../3rdparty/autoload.php'</code>
|
||||||
</MissingFile>
|
</MissingFile>
|
||||||
|
@ -905,6 +908,9 @@
|
||||||
<InvalidReturnType occurrences="1">
|
<InvalidReturnType occurrences="1">
|
||||||
<code>?string</code>
|
<code>?string</code>
|
||||||
</InvalidReturnType>
|
</InvalidReturnType>
|
||||||
|
<UndefinedDocblockClass occurrences="1">
|
||||||
|
<code>$operator->arguments[0]->name</code>
|
||||||
|
</UndefinedDocblockClass>
|
||||||
<UndefinedPropertyFetch occurrences="1">
|
<UndefinedPropertyFetch occurrences="1">
|
||||||
<code>$operator->arguments[0]->name</code>
|
<code>$operator->arguments[0]->name</code>
|
||||||
</UndefinedPropertyFetch>
|
</UndefinedPropertyFetch>
|
||||||
|
@ -1142,11 +1148,10 @@
|
||||||
<code>$id</code>
|
<code>$id</code>
|
||||||
<code>$remoteId</code>
|
<code>$remoteId</code>
|
||||||
</InvalidScalarArgument>
|
</InvalidScalarArgument>
|
||||||
<TypeDoesNotContainNull occurrences="2">
|
<TypeDoesNotContainNull occurrences="3">
|
||||||
<code>$permission === null</code>
|
<code>$permission === null</code>
|
||||||
<code>$remoteId === null</code>
|
<code>$remoteId === null</code>
|
||||||
</TypeDoesNotContainNull>
|
</TypeDoesNotContainNull>
|
||||||
<TypeDoesNotContainType occurrences="1"/>
|
|
||||||
</file>
|
</file>
|
||||||
<file src="apps/federatedfilesharing/lib/FederatedShareProvider.php">
|
<file src="apps/federatedfilesharing/lib/FederatedShareProvider.php">
|
||||||
<InvalidArrayAccess occurrences="2">
|
<InvalidArrayAccess occurrences="2">
|
||||||
|
@ -2019,12 +2024,10 @@
|
||||||
<InvalidScalarArgument occurrences="1">
|
<InvalidScalarArgument occurrences="1">
|
||||||
<code>$quota</code>
|
<code>$quota</code>
|
||||||
</InvalidScalarArgument>
|
</InvalidScalarArgument>
|
||||||
<TypeDoesNotContainNull occurrences="1">
|
<TypeDoesNotContainNull occurrences="2">
|
||||||
|
<code>$groupid === null</code>
|
||||||
<code>$groupid === null</code>
|
<code>$groupid === null</code>
|
||||||
</TypeDoesNotContainNull>
|
</TypeDoesNotContainNull>
|
||||||
<TypeDoesNotContainType occurrences="1">
|
|
||||||
<code>$groupid === null</code>
|
|
||||||
</TypeDoesNotContainType>
|
|
||||||
<UndefinedInterfaceMethod occurrences="1">
|
<UndefinedInterfaceMethod occurrences="1">
|
||||||
<code>getSubAdmin</code>
|
<code>getSubAdmin</code>
|
||||||
</UndefinedInterfaceMethod>
|
</UndefinedInterfaceMethod>
|
||||||
|
@ -2540,9 +2543,9 @@
|
||||||
</NullableReturnStatement>
|
</NullableReturnStatement>
|
||||||
</file>
|
</file>
|
||||||
<file src="apps/user_ldap/lib/User_Proxy.php">
|
<file src="apps/user_ldap/lib/User_Proxy.php">
|
||||||
<FalseOperand occurrences="1">
|
<InvalidReturnStatement occurrences="1">
|
||||||
<code>$users</code>
|
<code>$users</code>
|
||||||
</FalseOperand>
|
</InvalidReturnStatement>
|
||||||
</file>
|
</file>
|
||||||
<file src="apps/user_ldap/lib/Wizard.php">
|
<file src="apps/user_ldap/lib/Wizard.php">
|
||||||
<FalsableReturnStatement occurrences="2">
|
<FalsableReturnStatement occurrences="2">
|
||||||
|
@ -2933,6 +2936,7 @@
|
||||||
<file src="core/routes.php">
|
<file src="core/routes.php">
|
||||||
<InvalidScope occurrences="2">
|
<InvalidScope occurrences="2">
|
||||||
<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">
|
||||||
|
@ -2940,6 +2944,11 @@
|
||||||
<code>getIcon</code>
|
<code>getIcon</code>
|
||||||
</UndefinedInterfaceMethod>
|
</UndefinedInterfaceMethod>
|
||||||
</file>
|
</file>
|
||||||
|
<file src="lib/autoloader.php">
|
||||||
|
<RedundantCondition occurrences="1">
|
||||||
|
<code>$this->memoryCache</code>
|
||||||
|
</RedundantCondition>
|
||||||
|
</file>
|
||||||
<file src="lib/base.php">
|
<file src="lib/base.php">
|
||||||
<InternalMethod occurrences="2">
|
<InternalMethod occurrences="2">
|
||||||
<code>getAppsNeedingUpgrade</code>
|
<code>getAppsNeedingUpgrade</code>
|
||||||
|
@ -3151,8 +3160,7 @@
|
||||||
<InvalidScalarArgument occurrences="1">
|
<InvalidScalarArgument occurrences="1">
|
||||||
<code>$exception->getCode()</code>
|
<code>$exception->getCode()</code>
|
||||||
</InvalidScalarArgument>
|
</InvalidScalarArgument>
|
||||||
<NoInterfaceProperties occurrences="3">
|
<NoInterfaceProperties occurrences="2">
|
||||||
<code>$this->request->server</code>
|
|
||||||
<code>$this->request->server</code>
|
<code>$this->request->server</code>
|
||||||
<code>$this->request->server</code>
|
<code>$this->request->server</code>
|
||||||
</NoInterfaceProperties>
|
</NoInterfaceProperties>
|
||||||
|
@ -3334,12 +3342,21 @@
|
||||||
<ImplementedReturnTypeMismatch occurrences="1">
|
<ImplementedReturnTypeMismatch occurrences="1">
|
||||||
<code>Color</code>
|
<code>Color</code>
|
||||||
</ImplementedReturnTypeMismatch>
|
</ImplementedReturnTypeMismatch>
|
||||||
|
<ImplicitToStringCast occurrences="1">
|
||||||
|
<code>$avatar</code>
|
||||||
|
</ImplicitToStringCast>
|
||||||
|
<InvalidNullableReturnType occurrences="1">
|
||||||
|
<code>string|boolean</code>
|
||||||
|
</InvalidNullableReturnType>
|
||||||
<InvalidReturnStatement occurrences="1">
|
<InvalidReturnStatement occurrences="1">
|
||||||
<code>$finalPalette[$this->hashToInt($hash, $steps * 3)]</code>
|
<code>$finalPalette[$this->hashToInt($hash, $steps * 3)]</code>
|
||||||
</InvalidReturnStatement>
|
</InvalidReturnStatement>
|
||||||
<InvalidReturnType occurrences="1">
|
<InvalidReturnType occurrences="1">
|
||||||
<code>Color</code>
|
<code>Color</code>
|
||||||
</InvalidReturnType>
|
</InvalidReturnType>
|
||||||
|
<NullableReturnStatement occurrences="1">
|
||||||
|
<code>$image->data()</code>
|
||||||
|
</NullableReturnStatement>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Avatar/GuestAvatar.php">
|
<file src="lib/private/Avatar/GuestAvatar.php">
|
||||||
<ImplementedReturnTypeMismatch occurrences="1">
|
<ImplementedReturnTypeMismatch occurrences="1">
|
||||||
|
@ -3432,6 +3449,10 @@
|
||||||
<TypeDoesNotContainType occurrences="1">
|
<TypeDoesNotContainType occurrences="1">
|
||||||
<code>$needsUpdate</code>
|
<code>$needsUpdate</code>
|
||||||
</TypeDoesNotContainType>
|
</TypeDoesNotContainType>
|
||||||
|
<UndefinedVariable occurrences="2">
|
||||||
|
<code>$CONFIG</code>
|
||||||
|
<code>$CONFIG</code>
|
||||||
|
</UndefinedVariable>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Console/Application.php">
|
<file src="lib/private/Console/Application.php">
|
||||||
<InvalidArgument occurrences="1">
|
<InvalidArgument occurrences="1">
|
||||||
|
@ -4597,20 +4618,32 @@
|
||||||
</InvalidPropertyAssignmentValue>
|
</InvalidPropertyAssignmentValue>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Group/Group.php">
|
<file src="lib/private/Group/Group.php">
|
||||||
<InvalidArgument occurrences="6">
|
<InvalidArgument occurrences="7">
|
||||||
<code>IGroup::class . '::postAddUser'</code>
|
<code>IGroup::class . '::postAddUser'</code>
|
||||||
<code>IGroup::class . '::postDelete'</code>
|
<code>IGroup::class . '::postDelete'</code>
|
||||||
<code>IGroup::class . '::postRemoveUser'</code>
|
<code>IGroup::class . '::postRemoveUser'</code>
|
||||||
<code>IGroup::class . '::preAddUser'</code>
|
<code>IGroup::class . '::preAddUser'</code>
|
||||||
<code>IGroup::class . '::preDelete'</code>
|
<code>IGroup::class . '::preDelete'</code>
|
||||||
<code>IGroup::class . '::preRemoveUser'</code>
|
<code>IGroup::class . '::preRemoveUser'</code>
|
||||||
|
<code>bool</code>
|
||||||
</InvalidArgument>
|
</InvalidArgument>
|
||||||
<InvalidOperand occurrences="1">
|
<InvalidOperand occurrences="1">
|
||||||
<code>$hide</code>
|
<code>$hide</code>
|
||||||
</InvalidOperand>
|
</InvalidOperand>
|
||||||
|
<InvalidReturnStatement occurrences="1">
|
||||||
|
<code>$users</code>
|
||||||
|
</InvalidReturnStatement>
|
||||||
|
<InvalidReturnType occurrences="1">
|
||||||
|
<code>int|bool</code>
|
||||||
|
</InvalidReturnType>
|
||||||
<MoreSpecificImplementedParamType occurrences="1">
|
<MoreSpecificImplementedParamType occurrences="1">
|
||||||
<code>$user</code>
|
<code>$user</code>
|
||||||
</MoreSpecificImplementedParamType>
|
</MoreSpecificImplementedParamType>
|
||||||
|
<RedundantCondition occurrences="3">
|
||||||
|
<code>$this->emitter</code>
|
||||||
|
<code>$this->emitter</code>
|
||||||
|
<code>$this->emitter</code>
|
||||||
|
</RedundantCondition>
|
||||||
<TooManyArguments occurrences="6">
|
<TooManyArguments occurrences="6">
|
||||||
<code>dispatch</code>
|
<code>dispatch</code>
|
||||||
<code>dispatch</code>
|
<code>dispatch</code>
|
||||||
|
@ -4756,6 +4789,11 @@
|
||||||
<code>$request</code>
|
<code>$request</code>
|
||||||
</RedundantCondition>
|
</RedundantCondition>
|
||||||
</file>
|
</file>
|
||||||
|
<file src="lib/private/Log/File.php">
|
||||||
|
<TypeDoesNotContainNull occurrences="1">
|
||||||
|
<code>$limit === null</code>
|
||||||
|
</TypeDoesNotContainNull>
|
||||||
|
</file>
|
||||||
<file src="lib/private/Log/LogDetails.php">
|
<file src="lib/private/Log/LogDetails.php">
|
||||||
<RedundantCondition occurrences="1">
|
<RedundantCondition occurrences="1">
|
||||||
<code>is_string($request->getMethod())</code>
|
<code>is_string($request->getMethod())</code>
|
||||||
|
@ -5313,9 +5351,6 @@
|
||||||
<code>$this->appendIfExist($this->serverroot, 'apps/'.$script.'.js')</code>
|
<code>$this->appendIfExist($this->serverroot, 'apps/'.$script.'.js')</code>
|
||||||
<code>$this->appendIfExist($this->serverroot, 'core/'.$script.'.js')</code>
|
<code>$this->appendIfExist($this->serverroot, 'core/'.$script.'.js')</code>
|
||||||
</InvalidOperand>
|
</InvalidOperand>
|
||||||
<TypeDoesNotContainType occurrences="1">
|
|
||||||
<code>$found</code>
|
|
||||||
</TypeDoesNotContainType>
|
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Template/SCSSCacher.php">
|
<file src="lib/private/Template/SCSSCacher.php">
|
||||||
<InvalidScalarArgument occurrences="1">
|
<InvalidScalarArgument occurrences="1">
|
||||||
|
@ -5508,12 +5543,10 @@
|
||||||
<TooManyArguments occurrences="1">
|
<TooManyArguments occurrences="1">
|
||||||
<code>dispatch</code>
|
<code>dispatch</code>
|
||||||
</TooManyArguments>
|
</TooManyArguments>
|
||||||
<TypeDoesNotContainNull occurrences="1">
|
<TypeDoesNotContainNull occurrences="2">
|
||||||
|
<code>$appId === null</code>
|
||||||
<code>$appId === null</code>
|
<code>$appId === null</code>
|
||||||
</TypeDoesNotContainNull>
|
</TypeDoesNotContainNull>
|
||||||
<TypeDoesNotContainType occurrences="1">
|
|
||||||
<code>$appId === null</code>
|
|
||||||
</TypeDoesNotContainType>
|
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/legacy/OC_DB.php">
|
<file src="lib/private/legacy/OC_DB.php">
|
||||||
<InvalidReturnStatement occurrences="1">
|
<InvalidReturnStatement occurrences="1">
|
||||||
|
|
Loading…
Reference in New Issue