diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-12-22 17:44:16 +0100 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-12-22 17:44:16 +0100 |
commit | 3570ca82cf36d228fcfa55f2c5cd3154e12558b3 (patch) | |
tree | 9b8f28b67e16e3f4ba493b27988d89b3d60ab272 /build | |
parent | e28d21a6a4453967f048fe7d3fd96005e9bd2e09 (diff) | |
download | nextcloud-server-3570ca82cf36d228fcfa55f2c5cd3154e12558b3.tar.gz nextcloud-server-3570ca82cf36d228fcfa55f2c5cd3154e12558b3.zip |
Update the Psalm baseline
Some issues were resolved, hence every CI run shows this diff.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'build')
-rw-r--r-- | build/psalm-baseline.xml | 29 |
1 files changed, 7 insertions, 22 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index fbed4556196..32b9c8d8e06 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -1129,7 +1129,6 @@ <code>bool</code> <code>bool</code> <code>bool</code> - <code>bool</code> </InvalidReturnType> </file> <file src="apps/federatedfilesharing/lib/OCM/CloudFederationProviderFiles.php"> @@ -2793,6 +2792,7 @@ <file src="core/routes.php"> <InvalidScope occurrences="2"> <code>$this</code> + <code>$this</code> </InvalidScope> </file> <file src="core/templates/layout.public.php"> @@ -4036,12 +4036,6 @@ <code>$result</code> <code>$result</code> </InvalidOperand> - <InvalidReturnStatement occurrences="1"> - <code>$count</code> - </InvalidReturnStatement> - <InvalidReturnType occurrences="1"> - <code>file_put_contents</code> - </InvalidReturnType> <NoInterfaceProperties occurrences="8"> <code>$storage->cache</code> <code>$storage->cache</code> @@ -4058,9 +4052,6 @@ </NullableReturnStatement> </file> <file src="lib/private/Files/Storage/DAV.php"> - <ImplementedReturnTypeMismatch occurrences="1"> - <code>int</code> - </ImplementedReturnTypeMismatch> <InvalidClass occurrences="2"> <code>ArrayCache</code> <code>ArrayCache</code> @@ -4068,13 +4059,11 @@ <InvalidNullableReturnType occurrences="1"> <code>getETag</code> </InvalidNullableReturnType> - <InvalidReturnStatement occurrences="2"> + <InvalidReturnStatement occurrences="1"> <code>$response->getBody()</code> - <code>$result</code> </InvalidReturnStatement> - <InvalidReturnType occurrences="2"> + <InvalidReturnType occurrences="1"> <code>fopen</code> - <code>int</code> </InvalidReturnType> <NullableReturnStatement occurrences="1"> <code>null</code> @@ -4155,13 +4144,11 @@ <InvalidOperand occurrences="1"> <code>$result</code> </InvalidOperand> - <InvalidReturnStatement occurrences="3"> + <InvalidReturnStatement occurrences="2"> <code>$helper->getFileSize($fullPath)</code> <code>$space</code> - <code>file_put_contents($this->getSourcePath($path), $data)</code> </InvalidReturnStatement> - <InvalidReturnType occurrences="3"> - <code>file_put_contents</code> + <InvalidReturnType occurrences="2"> <code>filesize</code> <code>free_space</code> </InvalidReturnType> @@ -4288,12 +4275,10 @@ <code>$result</code> <code>$result</code> </InvalidOperand> - <InvalidReturnStatement occurrences="2"> + <InvalidReturnStatement occurrences="1"> <code>$newUnencryptedSize</code> - <code>$written</code> </InvalidReturnStatement> - <InvalidReturnType occurrences="2"> - <code>bool</code> + <InvalidReturnType occurrences="1"> <code>int</code> </InvalidReturnType> <InvalidScalarArgument occurrences="2"> |