diff options
author | Joas Schilling <coding@schilljs.com> | 2022-09-01 09:09:03 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-09-01 10:53:37 +0200 |
commit | 1cdd96a113eb4912631463c8d273d47f58f0c7a6 (patch) | |
tree | eaa23b956f8e967d09e75a73be0cf170a6301e09 /composer.json | |
parent | c142394f0e18e7b788437eea5868dc7555d6d73a (diff) |
Add Mozart to avoid conflict with other JWT apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/composer.json b/composer.json index d43186f18..3cbb0e2d5 100644 --- a/composer.json +++ b/composer.json @@ -24,17 +24,19 @@ "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", "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" @@ -46,5 +48,16 @@ }, "require": { "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" + ] + } } } |