diff options
author | Joas Schilling <coding@schilljs.com> | 2021-06-15 12:55:17 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-06-15 13:05:00 +0300 |
commit | a4dd0cc7e82491ffb05b895d374ba9b1abc30b50 (patch) | |
tree | 26552363923715d03a2e99f56bc7195eaa2b8b21 /composer.json | |
parent | c4205168137b6966f6b07b6f2377c8a2a58f4a83 (diff) |
Specify platform and more
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 18 |
1 files changed, 18 insertions, 0 deletions
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", |