Merge pull request #25923 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
This commit is contained in:
commit
9b573c6bd5
|
@ -1643,12 +1643,6 @@
|
||||||
<InvalidArgument occurrences="1">
|
<InvalidArgument occurrences="1">
|
||||||
<code>$exception->getMessage()</code>
|
<code>$exception->getMessage()</code>
|
||||||
</InvalidArgument>
|
</InvalidArgument>
|
||||||
<InvalidReturnStatement occurrences="1">
|
|
||||||
<code>new JSONResponse($exception->getMessage(), 405)</code>
|
|
||||||
</InvalidReturnStatement>
|
|
||||||
<InvalidReturnType occurrences="1">
|
|
||||||
<code>NotFoundResponse</code>
|
|
||||||
</InvalidReturnType>
|
|
||||||
</file>
|
</file>
|
||||||
<file src="apps/files_sharing/lib/Scanner.php">
|
<file src="apps/files_sharing/lib/Scanner.php">
|
||||||
<InvalidNullableReturnType occurrences="1">
|
<InvalidNullableReturnType occurrences="1">
|
||||||
|
@ -2464,14 +2458,6 @@
|
||||||
<code>isUserScopeEnabled</code>
|
<code>isUserScopeEnabled</code>
|
||||||
</UndefinedInterfaceMethod>
|
</UndefinedInterfaceMethod>
|
||||||
</file>
|
</file>
|
||||||
<file src="apps/workflowengine/lib/Settings/Personal.php">
|
|
||||||
<InvalidNullableReturnType occurrences="1">
|
|
||||||
<code>getSection</code>
|
|
||||||
</InvalidNullableReturnType>
|
|
||||||
<NullableReturnStatement occurrences="1">
|
|
||||||
<code>$this->manager->isUserScopeEnabled() ? 'workflow' : null</code>
|
|
||||||
</NullableReturnStatement>
|
|
||||||
</file>
|
|
||||||
<file src="core/Command/App/GetPath.php">
|
<file src="core/Command/App/GetPath.php">
|
||||||
<ImplementedReturnTypeMismatch occurrences="1">
|
<ImplementedReturnTypeMismatch occurrences="1">
|
||||||
<code>null|int</code>
|
<code>null|int</code>
|
||||||
|
@ -3127,7 +3113,6 @@
|
||||||
</UndefinedThisPropertyFetch>
|
</UndefinedThisPropertyFetch>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Collaboration/Resources/Manager.php">
|
<file src="lib/private/Collaboration/Resources/Manager.php">
|
||||||
<InvalidArgument occurrences="4"/>
|
|
||||||
<RedundantCondition occurrences="1">
|
<RedundantCondition occurrences="1">
|
||||||
<code>$user instanceof IUser</code>
|
<code>$user instanceof IUser</code>
|
||||||
</RedundantCondition>
|
</RedundantCondition>
|
||||||
|
@ -3159,7 +3144,6 @@
|
||||||
</TypeDoesNotContainType>
|
</TypeDoesNotContainType>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Comments/Manager.php">
|
<file src="lib/private/Comments/Manager.php">
|
||||||
<InvalidArgument occurrences="3"/>
|
|
||||||
<InvalidDocblock occurrences="1">
|
<InvalidDocblock occurrences="1">
|
||||||
<code>public function getForObjectSince(</code>
|
<code>public function getForObjectSince(</code>
|
||||||
</InvalidDocblock>
|
</InvalidDocblock>
|
||||||
|
@ -3333,14 +3317,6 @@
|
||||||
<code>getParams</code>
|
<code>getParams</code>
|
||||||
</InternalMethod>
|
</InternalMethod>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/DB/QueryBuilder/ExpressionBuilder/OCIExpressionBuilder.php">
|
|
||||||
<InvalidReturnStatement occurrences="1">
|
|
||||||
<code>parent::castColumn($column, $type)</code>
|
|
||||||
</InvalidReturnStatement>
|
|
||||||
<InvalidReturnType occurrences="1">
|
|
||||||
<code>IQueryFunction</code>
|
|
||||||
</InvalidReturnType>
|
|
||||||
</file>
|
|
||||||
<file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
|
<file src="lib/private/DB/QueryBuilder/QueryBuilder.php">
|
||||||
<InvalidNullableReturnType occurrences="1">
|
<InvalidNullableReturnType occurrences="1">
|
||||||
<code>string</code>
|
<code>string</code>
|
||||||
|
@ -3576,7 +3552,6 @@
|
||||||
</TypeDoesNotContainType>
|
</TypeDoesNotContainType>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Files/Config/UserMountCache.php">
|
<file src="lib/private/Files/Config/UserMountCache.php">
|
||||||
<InvalidArgument occurrences="1"/>
|
|
||||||
<InvalidReturnType occurrences="2">
|
<InvalidReturnType occurrences="2">
|
||||||
<code>remoteStorageMounts</code>
|
<code>remoteStorageMounts</code>
|
||||||
<code>removeUserStorageMount</code>
|
<code>removeUserStorageMount</code>
|
||||||
|
@ -4211,7 +4186,6 @@
|
||||||
</TypeDoesNotContainNull>
|
</TypeDoesNotContainNull>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Group/Database.php">
|
<file src="lib/private/Group/Database.php">
|
||||||
<InvalidArgument occurrences="1"/>
|
|
||||||
<InvalidArrayOffset occurrences="1">
|
<InvalidArrayOffset occurrences="1">
|
||||||
<code>$this->groupCache[$gid]['displayname']</code>
|
<code>$this->groupCache[$gid]['displayname']</code>
|
||||||
</InvalidArrayOffset>
|
</InvalidArrayOffset>
|
||||||
|
@ -4264,18 +4238,6 @@
|
||||||
</UndefinedMethod>
|
</UndefinedMethod>
|
||||||
</file>
|
</file>
|
||||||
<file src="lib/private/Group/Manager.php">
|
<file src="lib/private/Group/Manager.php">
|
||||||
<InvalidArgument occurrences="1">
|
|
||||||
<code>$groupId</code>
|
|
||||||
</InvalidArgument>
|
|
||||||
<InvalidOperand occurrences="1">
|
|
||||||
<code>$groupId</code>
|
|
||||||
</InvalidOperand>
|
|
||||||
<InvalidReturnStatement occurrences="1">
|
|
||||||
<code>$groups</code>
|
|
||||||
</InvalidReturnStatement>
|
|
||||||
<InvalidReturnType occurrences="1">
|
|
||||||
<code>\OC\Group\Group[]</code>
|
|
||||||
</InvalidReturnType>
|
|
||||||
<UndefinedInterfaceMethod occurrences="3">
|
<UndefinedInterfaceMethod occurrences="3">
|
||||||
<code>createGroup</code>
|
<code>createGroup</code>
|
||||||
<code>getGroupDetails</code>
|
<code>getGroupDetails</code>
|
||||||
|
@ -4967,7 +4929,6 @@
|
||||||
<ImplicitToStringCast occurrences="1">
|
<ImplicitToStringCast occurrences="1">
|
||||||
<code>$query->func()->lower('displayname')</code>
|
<code>$query->func()->lower('displayname')</code>
|
||||||
</ImplicitToStringCast>
|
</ImplicitToStringCast>
|
||||||
<InvalidArgument occurrences="1"/>
|
|
||||||
<InvalidScalarArgument occurrences="2">
|
<InvalidScalarArgument occurrences="2">
|
||||||
<code>$offset</code>
|
<code>$offset</code>
|
||||||
<code>$offset</code>
|
<code>$offset</code>
|
||||||
|
|
Loading…
Reference in New Issue