diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-04-08 14:16:21 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-05-10 18:51:12 +0200 |
commit | f945c0cbc6aef461fabf17cea42440ad9b6fea09 (patch) | |
tree | 73bb7d91d3721049f436ecf160f66c640a805a02 /build | |
parent | 0690646d09430ce363b07bc2cd59283e303314eb (diff) | |
download | nextcloud-server-f945c0cbc6aef461fabf17cea42440ad9b6fea09.tar.gz nextcloud-server-f945c0cbc6aef461fabf17cea42440ad9b6fea09.zip |
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.xml | 5 | ||||
-rw-r--r-- | build/psalm-baseline.xml | 10 |
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->request->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->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->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->request->server</code> |