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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json43
1 files changed, 33 insertions, 10 deletions
diff --git a/composer.json b/composer.json
index f3e29d618..3cbb0e2d5 100644
--- a/composer.json
+++ b/composer.json
@@ -10,31 +10,54 @@
}
},
"config": {
+ "allow-plugins": {
+ "bamarni/composer-bin-plugin": true
+ },
"autoloader-suffix": "Talk",
- "optimize-autoloader": true,
"classmap-authoritative": true,
- "sort-packages": true,
+ "optimize-autoloader": true,
"platform": {
"php": "7.4"
- }
+ },
+ "sort-packages": true
},
"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",
+ "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './lib/Vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l",
"psalm": "psalm --threads=1",
"psalm:update-baseline": "psalm --threads=1 --update-baseline --set-baseline=tests/psalm-baseline.xml",
"psalm:clear": "psalm --clear-cache && psalm --clear-global-cache",
- "psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType"
+ "psalm:fix": "psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType",
+ "post-install-cmd": [
+ "@composer bin all install --ansi",
+ "\"vendor/bin/mozart\" compose",
+ "composer dump-autoload"
+ ],
+ "post-update-cmd": [
+ "@composer bin all update --ansi",
+ "\"vendor/bin/mozart\" compose",
+ "composer dump-autoload"
+ ],
+ "test": "cd tests/php/ && phpunit -c phpunit.xml"
},
"require-dev": {
+ "bamarni/composer-bin-plugin": "^1.8",
"christophwurst/nextcloud": "dev-master",
- "nextcloud/coding-standard": "^1.0",
- "phpunit/phpunit": "^9.5",
- "roave/security-advisories": "dev-latest",
- "vimeo/psalm": "^4.22"
+ "roave/security-advisories": "dev-latest"
},
"require": {
- "firebase/php-jwt": "^6.2"
+ "firebase/php-jwt": "^6.3"
+ },
+ "extra": {
+ "mozart": {
+ "dep_namespace": "OCA\\Talk\\Vendor\\",
+ "dep_directory": "/lib/Vendor/",
+ "classmap_directory": "/lib/autoload/",
+ "classmap_prefix": "NEXTCLOUDTALK_",
+ "packages": [
+ "firebase/php-jwt"
+ ]
+ }
}
}