Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/twofactor_u2f.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-12-23 14:44:51 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-12-23 14:44:51 +0300
commitb565c1076a7378e83ec6fac373b8db2c42109685 (patch)
tree2ee2d3869c50c157df58e88a5515f471d5ba0f2c /composer.json
parent57c353ce2165005e1c78d70215ba51d3bba0c297 (diff)
Apply and enforce the Nextcloud coding standard for php
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json9
1 files changed, 6 insertions, 3 deletions
diff --git a/composer.json b/composer.json
index 6917ec1..ce61800 100644
--- a/composer.json
+++ b/composer.json
@@ -10,15 +10,18 @@
}
],
"require": {
- "php": ">=7.1.0",
+ "php": ">=7.2.0",
"yubico/u2flib-server": "^1.0.1"
},
"require-dev": {
"christophwurst/nextcloud": "^18.0.0",
"phpunit/phpunit": "^7.5.8",
- "roave/security-advisories": "dev-master"
+ "roave/security-advisories": "dev-master",
+ "nextcloud/coding-standard": "^0.3.0"
},
"scripts": {
+ "cs:check": "php-cs-fixer fix --dry-run --diff",
+ "cs:fix": "php-cs-fixer fix",
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"test": "phpunit -c tests/phpunit.xml",
"test:acceptance": "phpunit -c tests/phpunit.xml tests/Acceptance",
@@ -30,7 +33,7 @@
"optimize-autoloader": true,
"classmap-authoritative": true,
"platform": {
- "php": "7.1.0"
+ "php": "7.2.0"
}
}
}