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

github.com/nextcloud/notifications.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-09-09 17:37:01 +0300
committerJoas Schilling <coding@schilljs.com>2020-09-10 10:41:33 +0300
commit095c376166604fdc9a99db1083a3fa421810f0cd (patch)
tree015a1cbaeff71b3e90c85f0e736af096cc903f79 /composer.json
parent5024328a13a11a6d751888ab24f33a14c663777d (diff)
"App tutorial"ize this app
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json32
1 files changed, 20 insertions, 12 deletions
diff --git a/composer.json b/composer.json
index 14d7eb3..9ebb7ba 100644
--- a/composer.json
+++ b/composer.json
@@ -1,14 +1,22 @@
{
- "name": "nextcloud/notifications",
- "description": "notifications",
- "license": "AGPL",
- "config": {
- "optimize-autoloader": true,
- "classmap-authoritative": true
- },
- "require": {
- },
- "scripts": {
- "lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l"
- }
+ "name": "nextcloud/notifications",
+ "description": "notifications",
+ "license": "AGPL",
+ "require": {},
+ "require-dev": {
+ "phpunit/phpunit": "^7.5",
+ "nextcloud/coding-standard": "^0.3.0"
+ },
+ "config": {
+ "optimize-autoloader": true,
+ "classmap-authoritative": true,
+ "platform": {
+ "php": "7.2"
+ }
+ },
+ "scripts": {
+ "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
+ "cs:check": "php-cs-fixer fix --dry-run --diff",
+ "cs:fix": "php-cs-fixer fix"
+ }
}