summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-06-24 15:24:16 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-06-24 15:39:52 +0200
commita9cfa72d1cf5eccb352b34eb823559ac52f8e22c (patch)
tree29335b912f39ca2f780a2c904d4b0cb97c533920 /build
parentb282fe1e6f5587a6440d170df245ad5acb8dc976 (diff)
downloadnextcloud-server-a9cfa72d1cf5eccb352b34eb823559ac52f8e22c.tar.gz
nextcloud-server-a9cfa72d1cf5eccb352b34eb823559ac52f8e22c.zip
Summer cleanup of the federation app
- Use IEventDispatcher instead of deprecated symfony dispatcher - Use LoggerInterface where possible - Use php 7.4 properties - Add type hinting where possible - Move federation hooks to a seperate listener Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'build')
-rw-r--r--build/psalm-baseline.xml11
1 files changed, 0 insertions, 11 deletions
diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 937c2fe1687..641a9303461 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -951,17 +951,6 @@
<code>null</code>
</NullableReturnStatement>
</file>
- <file src="apps/federation/lib/TrustedServers.php">
- <InvalidArgument occurrences="1">
- <code>'OCP\Federation\TrustedServerEvent::remove'</code>
- </InvalidArgument>
- <InvalidClass occurrences="1">
- <code>dbHandler</code>
- </InvalidClass>
- <TooManyArguments occurrences="1">
- <code>dispatch</code>
- </TooManyArguments>
- </file>
<file src="apps/files/ajax/download.php">
<InvalidArgument occurrences="1">
<code>$files_list</code>