diff --git a/composer.json b/composer.json
index 1d7195a0b95..2ab471c5c98 100644
--- a/composer.json
+++ b/composer.json
@@ -1,11 +1,14 @@
{
- "config" : {
+ "config": {
"vendor-dir": "lib/composer",
- "optimize-autoloader": true
+ "optimize-autoloader": true,
+ "allow-plugins": {
+ "bamarni/composer-bin-plugin": true
+ }
},
- "autoload" : {
- "psr-4": {
- "": "lib/private/legacy",
+ "autoload": {
+ "psr-4": {
+ "": "lib/private/legacy",
"OC\\": "lib/private",
"OC\\Core\\": "core/",
"OCP\\": "lib/public"
@@ -17,7 +20,7 @@
"ext-pdo": "*",
"ext-simplexml": "*",
"ext-xmlreader": "*"
- },
+ },
"require-dev": {
"nextcloud/coding-standard": "^0.3.0",
"vimeo/psalm": "^4.0"
@@ -28,4 +31,4 @@
"lint": "find . -name \\*.php -not -path './lib/composer/*' -not -path './build/stubs/*' -print0 | xargs -0 -n1 php -l",
"psalm": "psalm"
}
-}
+}
\ No newline at end of file
diff --git a/psalm-ocp.xml b/psalm-ocp.xml
index 4519b7e9ca4..ea630435551 100644
--- a/psalm-ocp.xml
+++ b/psalm-ocp.xml
@@ -12,6 +12,9 @@
+
+
+