Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-04-08 15:16:21 +0300
committerCarl Schwan <carl@carlschwan.eu>2022-05-10 19:51:12 +0300
commitf945c0cbc6aef461fabf17cea42440ad9b6fea09 (patch)
tree73bb7d91d3721049f436ecf160f66c640a805a02 /build
parent0690646d09430ce363b07bc2cd59283e303314eb (diff)
Add a public replacement for OC::$server->get
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'build')
-rw-r--r--build/psalm-baseline-ocp.xml5
-rw-r--r--build/psalm-baseline.xml10
2 files changed, 10 insertions, 5 deletions
diff --git a/build/psalm-baseline-ocp.xml b/build/psalm-baseline-ocp.xml
index 87a994ea720..5490f505886 100644
--- a/build/psalm-baseline-ocp.xml
+++ b/build/psalm-baseline-ocp.xml
@@ -21,6 +21,11 @@
<code>$this-&gt;request-&gt;server</code>
</NoInterfaceProperties>
</file>
+ <file src="lib/public/Server.php">
+ <InvalidThrow occurrences="2">
+ <code>ContainerExceptionInterface</code>
+ </InvalidThrow>
+ </file>
<file src="lib/public/AppFramework/App.php">
<InternalMethod occurrences="1">
<code>new RouteConfig($this-&gt;container, $router, $routes)</code>
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 4f4e18e1f90..7152a3fbffe 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -1153,11 +1153,6 @@
<code>$this-&gt;fileIsEncrypted</code>
</TypeDoesNotContainType>
</file>
- <file src="apps/files/lib/App.php">
- <InvalidScalarArgument occurrences="1">
- <code>10 * 1024 * 1024</code>
- </InvalidScalarArgument>
- </file>
<file src="apps/files/lib/Command/Scan.php">
<NullArgument occurrences="1">
<code>null</code>
@@ -4575,6 +4570,11 @@
<code>is_int($expected)</code>
</TypeDoesNotContainType>
</file>
+ <file src="lib/public/Server.php">
+ <InvalidThrow occurrences="2">
+ <code>ContainerExceptionInterface</code>
+ </InvalidThrow>
+ </file>
<file src="lib/public/AppFramework/ApiController.php">
<NoInterfaceProperties occurrences="1">
<code>$this-&gt;request-&gt;server</code>