diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index 2506967..8441d04 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -2,12 +2,10 @@ namespace OCA\OJSXC\AppInfo; -use OC\Security\CSP\ContentSecurityPolicyManager; use OCA\OJSXC\Controller\ManagedServerController; use OCA\OJSXC\Middleware\ExternalApiMiddleware; use OCA\OJSXC\Config; use OCA\OJSXC\Listener\AddFeaturePolicyListener; -use OCP\IContainer; use OCP\AppFramework\App; use OCP\AppFramework\Bootstrap\IBootContext; use OCP\AppFramework\Bootstrap\IBootstrap; diff --git a/psalm.xml b/psalm.xml index e7b226e..be69961 100644 --- a/psalm.xml +++ b/psalm.xml @@ -6,6 +6,7 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://getpsalm.org/schema/config" xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" + errorBaseline="tests/psalm-baseline.xml" > diff --git a/tests/psalm-baseline.xml b/tests/psalm-baseline.xml new file mode 100644 index 0000000..c5ed372 --- /dev/null +++ b/tests/psalm-baseline.xml @@ -0,0 +1,8 @@ + + + + + registerEventListener + + +