Skip to content

Commit

Permalink
chore: Update baseline
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Feb 20, 2024
1 parent 691adcb commit 679e14a
Showing 1 changed file with 19 additions and 43 deletions.
62 changes: 19 additions & 43 deletions tests/psalm-baseline.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.29.0@7ec5ffbd5f68ae03782d7fd33fff0c45a69f95b3">
<file src="lib/Activity/Provider.php">
<ParamNameMismatch occurrences="1">
<code>$lang</code>
</ParamNameMismatch>
</file>
<file src="lib/Activity/ProviderParser.php">
<InvalidNullableReturnType occurrences="1">
<code>array&lt;string,string|integer&gt;</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>null</code>
</NullableReturnStatement>
<UndefinedMethod occurrences="1">
<code>Circles::generateAbsoluteLink($circle-&gt;getUniqueId())</code>
</UndefinedMethod>
</file>
<files psalm-version="4.30.0@d0bc6e25d89f649e4f36a534f330f8bb4643dd69">
<file src="lib/AppInfo/Application.php">
<UndefinedClass occurrences="1">
<code>OCA\Files\App</code>
</UndefinedClass>
<MissingDependency occurrences="1">
<code>TeamDashboardWidget</code>
</MissingDependency>
</file>
<file src="lib/Circles/FileSharingBroadcaster.php">
<InvalidScalarArgument occurrences="2">
Expand All @@ -44,17 +28,10 @@
<code>setSubject</code>
</UndefinedInterfaceMethod>
</file>
<file src="lib/CirclesManager.php">
<InvalidNullableReturnType occurrences="1">
<code>IFederatedUser</code>
</InvalidNullableReturnType>
<NullableReturnStatement occurrences="1">
<code>$this-&gt;federatedUserService-&gt;getCurrentUser()</code>
</NullableReturnStatement>
</file>
<file src="lib/Command/CirclesCheck.php">
<UndefinedClass occurrences="2">
<code>AppConfig</code>
<code>AppConfig</code>
</UndefinedClass>
</file>
<file src="lib/Command/CirclesRemote.php">
Expand Down Expand Up @@ -113,6 +90,11 @@
<code>($e-&gt;getCode() &gt; 0) ? $e-&gt;getCode() : $httpErrorCode</code>
</InvalidScalarArgument>
</file>
<file src="lib/Dashboard/TeamDashboardWidget.php">
<UndefinedClass occurrences="1">
<code>IAPIWidgetV2</code>
</UndefinedClass>
</file>
<file src="lib/Db/CoreRequestBuilder.php">
<UndefinedClass occurrences="1">
<code>Connection</code>
Expand Down Expand Up @@ -303,6 +285,11 @@
<code>URLGenerator</code>
</UndefinedDocblockClass>
</file>
<file src="lib/Listeners/AccountUpdated.php">
<RedundantCondition occurrences="1">
<code>$event instanceof UserUpdatedEvent</code>
</RedundantCondition>
</file>
<file src="lib/Migration/ImportOwncloudCustomGroups.php">
<MissingDependency occurrences="2">
<code>Share</code>
Expand Down Expand Up @@ -431,8 +418,8 @@
</file>
<file src="lib/Model/ShareWrapper.php">
<InvalidArgument occurrences="2">
<code>$attributes</code>
<code>Cache::cacheEntryFromData($this-&gt;getFileCache()-&gt;toCache(), OC::$server-&gt;getMimeTypeLoader())</code>
<code>$this-&gt;setAttributes($attributes)</code>
</InvalidArgument>
<InvalidNullableReturnType occurrences="5">
<code>Circle</code>
Expand Down Expand Up @@ -538,11 +525,6 @@
<code>gObj</code>
</InvalidMethodCall>
</file>
<file src="lib/Service/FederatedUserService.php">
<InvalidReturnType occurrences="1">
<code>FederatedUser</code>
</InvalidReturnType>
</file>
<file src="lib/Service/GSDownstreamService.php">
<UndefinedMethod occurrences="7">
<code>asyncBroadcast</code>
Expand Down Expand Up @@ -572,7 +554,6 @@
<code>getGlobalScaleEvent</code>
<code>getGlobalScaleEvent</code>
<code>getInstances</code>
<code>getInstances</code>
<code>getKey</code>
</UndefinedMethod>
</file>
Expand Down Expand Up @@ -705,15 +686,15 @@
</TooManyArguments>
</file>
<file src="lib/Tools/Traits/TNCLogger.php">
<RedundantCondition occurrences="1">
<code>isset($this-&gt;logger) &amp;&amp; $this-&gt;logger instanceof LoggerInterface</code>
</RedundantCondition>
<RedundantPropertyInitializationCheck occurrences="1">
<code>isset($this-&gt;logger)</code>
</RedundantPropertyInitializationCheck>
<UndefinedClass occurrences="1">
<code>HintException</code>
</UndefinedClass>
<RedundantCondition occurrences="1">
<code>isset($this->logger)</code>
</RedundantCondition>
</file>
<file src="lib/Tools/Traits/TNCRequest.php">
<InvalidArgument occurrences="1">
Expand All @@ -733,9 +714,4 @@
<code>$s[$e]</code>
</InvalidArrayOffset>
</file>
<file src="lib/Listeners/AccountUpdated.php">
<RedundantCondition occurrences="1">
<code>$event instanceof UserUpdatedEvent</code>
</RedundantCondition>
</file>
</files>

0 comments on commit 679e14a

Please sign in to comment.