diff --git a/composer.json b/composer.json index 09d054e..7ba171b 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,27 @@ { + "autoload-dev": { + "psr-4": { + "OCP\\": "vendor/christophwurst/nextcloud/OCP", + "OCA\\Registration\\": "lib/" + } + }, + "name": "nextcloud/registration", + "description": "registration", + "license": "AGPL", + "require": { + }, "scripts": { "cs:check": "php-cs-fixer fix --dry-run --diff", "cs:fix": "php-cs-fixer fix", "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l" }, + "config": { + "optimize-autoloader": true, + "classmap-authoritative": true, + "platform": { + "php": "7.2" + } + }, "require-dev": { "phpunit/phpunit": "^8.0", "nextcloud/coding-standard": "^0.5.0", diff --git a/tests/phpunit.xml b/tests/phpunit.xml index b437e68..ec07ca1 100644 --- a/tests/phpunit.xml +++ b/tests/phpunit.xml @@ -3,7 +3,6 @@ verbose="true" > - Integration Unit