mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-17 21:12:20 +01:00
Bumps [cweagans/composer-patches](https://github.com/cweagans/composer-patches) from 1.7.3 to 2.0.0. - [Release notes](https://github.com/cweagans/composer-patches/releases) - [Commits](https://github.com/cweagans/composer-patches/compare/1.7.3...2.0.0) --- updated-dependencies: - dependency-name: cweagans/composer-patches dependency-version: 2.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
65 lines
2.4 KiB
JSON
65 lines
2.4 KiB
JSON
{
|
|
"autoload": {
|
|
"psr-4": {
|
|
"OCA\\Talk\\": "lib/"
|
|
}
|
|
},
|
|
"config": {
|
|
"allow-plugins": {
|
|
"bamarni/composer-bin-plugin": true,
|
|
"cweagans/composer-patches": true
|
|
},
|
|
"autoloader-suffix": "Talk",
|
|
"optimize-autoloader": true,
|
|
"platform": {
|
|
"php": "8.2"
|
|
},
|
|
"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 './vendor-bin/*' -not -path './lib/Vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l",
|
|
"openapi": "generate-spec && (npm run typescript:generate || echo 'Please manually regenerate the typescript OpenAPI models')",
|
|
"rector:check": "rector --dry-run",
|
|
"rector:fix": "rector",
|
|
"opengrep": "opengrep --opengrep-ignore-pattern=noopengrep --error --include '*.php' --exclude 'docs' --exclude-rule 'javascript.lang.security.detect-insecure-websocket.detect-insecure-websocket'",
|
|
"opengrep-full": "opengrep --opengrep-ignore-pattern=noopengrep --error --include '*.php' --exclude 'docs' --include '*.vue' --include '*.js' --include '*.ts' --exclude-rule 'javascript.vue.security.audit.xss.templates.avoid-v-html.avoid-v-html' --exclude-rule 'javascript.lang.security.detect-insecure-websocket.detect-insecure-websocket'",
|
|
"psalm": "psalm --no-cache --threads=$(nproc)",
|
|
"psalm:dev": "@psalm",
|
|
"psalm:update-baseline": "psalm --threads=1 --update-baseline --set-baseline=tests/psalm-baseline.xml",
|
|
"post-install-cmd": [
|
|
"@composer bin all install --ansi",
|
|
"\"vendor/bin/mozart\" compose",
|
|
"composer dump-autoload"
|
|
],
|
|
"post-update-cmd": [
|
|
"@composer bin all install --ansi",
|
|
"\"vendor/bin/mozart\" compose",
|
|
"composer dump-autoload"
|
|
],
|
|
"test:unit": "vendor/bin/phpunit -c tests/php/phpunit.xml --colors=always --fail-on-warning --fail-on-risky --display-deprecations --display-phpunit-deprecations"
|
|
},
|
|
"require-dev": {
|
|
"nextcloud/ocp": "dev-master"
|
|
},
|
|
"require": {
|
|
"bamarni/composer-bin-plugin": "^1.8",
|
|
"cuyz/valinor": "^2.3",
|
|
"cweagans/composer-patches": "^2.0.0",
|
|
"firebase/php-jwt": "^6.11"
|
|
},
|
|
"extra": {
|
|
"mozart": {
|
|
"dep_namespace": "OCA\\Talk\\Vendor\\",
|
|
"dep_directory": "/lib/Vendor/",
|
|
"classmap_directory": "/lib/autoload/",
|
|
"classmap_prefix": "NEXTCLOUDTALK_",
|
|
"packages": [
|
|
"firebase/php-jwt",
|
|
"cuyz/valinor"
|
|
]
|
|
},
|
|
"patches-file": "composer.patches.json"
|
|
}
|
|
}
|