Merge pull request #24819 from nextcloud/techdept/update-psalm-baseline

Update the Psalm baseline
This commit is contained in:
Christoph Wurst 2020-12-22 18:31:03 +01:00 committed by GitHub
commit 7e9d8a8bd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 22 deletions

View File

@ -1129,7 +1129,6 @@
<code>bool</code> <code>bool</code>
<code>bool</code> <code>bool</code>
<code>bool</code> <code>bool</code>
<code>bool</code>
</InvalidReturnType> </InvalidReturnType>
</file> </file>
<file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php"> <file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php">
@ -2793,6 +2792,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">
@ -4036,12 +4036,6 @@
<code>$result</code> <code>$result</code>
<code>$result</code> <code>$result</code>
</InvalidOperand> </InvalidOperand>
<InvalidReturnStatement occurrences="1">
<code>$count</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>file_put_contents</code>
</InvalidReturnType>
<NoInterfaceProperties occurrences="8"> <NoInterfaceProperties occurrences="8">
<code>$storage-&gt;cache</code> <code>$storage-&gt;cache</code>
<code>$storage-&gt;cache</code> <code>$storage-&gt;cache</code>
@ -4058,9 +4052,6 @@
</NullableReturnStatement> </NullableReturnStatement>
</file> </file>
<file src="lib/private/Files/Storage/DAV.php"> <file src="lib/private/Files/Storage/DAV.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>int</code>
</ImplementedReturnTypeMismatch>
<InvalidClass occurrences="2"> <InvalidClass occurrences="2">
<code>ArrayCache</code> <code>ArrayCache</code>
<code>ArrayCache</code> <code>ArrayCache</code>
@ -4068,13 +4059,11 @@
<InvalidNullableReturnType occurrences="1"> <InvalidNullableReturnType occurrences="1">
<code>getETag</code> <code>getETag</code>
</InvalidNullableReturnType> </InvalidNullableReturnType>
<InvalidReturnStatement occurrences="2"> <InvalidReturnStatement occurrences="1">
<code>$response-&gt;getBody()</code> <code>$response-&gt;getBody()</code>
<code>$result</code>
</InvalidReturnStatement> </InvalidReturnStatement>
<InvalidReturnType occurrences="2"> <InvalidReturnType occurrences="1">
<code>fopen</code> <code>fopen</code>
<code>int</code>
</InvalidReturnType> </InvalidReturnType>
<NullableReturnStatement occurrences="1"> <NullableReturnStatement occurrences="1">
<code>null</code> <code>null</code>
@ -4155,13 +4144,11 @@
<InvalidOperand occurrences="1"> <InvalidOperand occurrences="1">
<code>$result</code> <code>$result</code>
</InvalidOperand> </InvalidOperand>
<InvalidReturnStatement occurrences="3"> <InvalidReturnStatement occurrences="2">
<code>$helper-&gt;getFileSize($fullPath)</code> <code>$helper-&gt;getFileSize($fullPath)</code>
<code>$space</code> <code>$space</code>
<code>file_put_contents($this-&gt;getSourcePath($path), $data)</code>
</InvalidReturnStatement> </InvalidReturnStatement>
<InvalidReturnType occurrences="3"> <InvalidReturnType occurrences="2">
<code>file_put_contents</code>
<code>filesize</code> <code>filesize</code>
<code>free_space</code> <code>free_space</code>
</InvalidReturnType> </InvalidReturnType>
@ -4288,12 +4275,10 @@
<code>$result</code> <code>$result</code>
<code>$result</code> <code>$result</code>
</InvalidOperand> </InvalidOperand>
<InvalidReturnStatement occurrences="2"> <InvalidReturnStatement occurrences="1">
<code>$newUnencryptedSize</code> <code>$newUnencryptedSize</code>
<code>$written</code>
</InvalidReturnStatement> </InvalidReturnStatement>
<InvalidReturnType occurrences="2"> <InvalidReturnType occurrences="1">
<code>bool</code>
<code>int</code> <code>int</code>
</InvalidReturnType> </InvalidReturnType>
<InvalidScalarArgument occurrences="2"> <InvalidScalarArgument occurrences="2">