Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
Nextcloud-PR-Bot 2021-03-28 04:12:03 +00:00 committed by GitHub
parent be83a32411
commit 3b5cb333e4
1 changed files with 4 additions and 21 deletions

View File

@ -3495,12 +3495,10 @@
<InvalidNullableReturnType occurrences="1"> <InvalidNullableReturnType occurrences="1">
<code>string</code> <code>string</code>
</InvalidNullableReturnType> </InvalidNullableReturnType>
<InvalidReturnStatement occurrences="2"> <InvalidReturnStatement occurrences="1">
<code>$this-&gt;root-&gt;get($this-&gt;getFullPath($path))</code>
<code>new NonExistingFolder($this-&gt;root, $this-&gt;view, $path)</code> <code>new NonExistingFolder($this-&gt;root, $this-&gt;view, $path)</code>
</InvalidReturnStatement> </InvalidReturnStatement>
<InvalidReturnType occurrences="2"> <InvalidReturnType occurrences="1">
<code>\OC\Files\Node\Node</code>
<code>string</code> <code>string</code>
</InvalidReturnType> </InvalidReturnType>
<MoreSpecificImplementedParamType occurrences="1"> <MoreSpecificImplementedParamType occurrences="1">
@ -3579,15 +3577,7 @@
<InvalidNullableReturnType occurrences="1"> <InvalidNullableReturnType occurrences="1">
<code>int</code> <code>int</code>
</InvalidNullableReturnType> </InvalidNullableReturnType>
<InvalidReturnStatement occurrences="3"> <InvalidReturnType occurrences="1">
<code>$targetNode</code>
<code>$targetNode</code>
<code>$this-&gt;root-&gt;get($newPath)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="4">
<code>Node</code>
<code>\OC\Files\Node\Node</code>
<code>\OC\Files\Node\Node</code>
<code>getChecksum</code> <code>getChecksum</code>
</InvalidReturnType> </InvalidReturnType>
<NullableReturnStatement occurrences="1"> <NullableReturnStatement occurrences="1">
@ -3601,9 +3591,8 @@
</UndefinedInterfaceMethod> </UndefinedInterfaceMethod>
</file> </file>
<file src="lib/private/Files/Node/Root.php"> <file src="lib/private/Files/Node/Root.php">
<ImplementedReturnTypeMismatch occurrences="2"> <ImplementedReturnTypeMismatch occurrences="1">
<code>Node</code> <code>Node</code>
<code>string</code>
</ImplementedReturnTypeMismatch> </ImplementedReturnTypeMismatch>
<InvalidNullableReturnType occurrences="7"> <InvalidNullableReturnType occurrences="7">
<code>\OC\Files\Mount\MountPoint</code> <code>\OC\Files\Mount\MountPoint</code>
@ -3614,12 +3603,6 @@
<code>int</code> <code>int</code>
<code>string</code> <code>string</code>
</InvalidNullableReturnType> </InvalidNullableReturnType>
<InvalidReturnStatement occurrences="1">
<code>$this-&gt;createNode($fullPath, $fileInfo)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>string</code>
</InvalidReturnType>
<NullableReturnStatement occurrences="7"> <NullableReturnStatement occurrences="7">
<code>$this-&gt;mountManager-&gt;find($mountPoint)</code> <code>$this-&gt;mountManager-&gt;find($mountPoint)</code>
<code>$this-&gt;user</code> <code>$this-&gt;user</code>