{ "require-dev": { "bamarni/composer-bin-plugin": "^1.8", "nextcloud/ocp": "dev-master", "roave/security-advisories": "dev-latest" }, "config": { "autoloader-suffix": "Libresign", "optimize-autoloader": true, "classmap-authoritative": true, "sort-packages": true, "allow-plugins": { "bamarni/composer-bin-plugin": true, "cweagans/composer-patches": true }, "platform": { "php": "8.2" } }, "scripts": { "bin": "echo 'bin not installed'", "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './build/*' -not -path './tests/integration/vendor/*' -print0 | xargs -0 -n1 php -l", "cs:check": "php-cs-fixer fix --dry-run --diff", "cs:fix": "php-cs-fixer fix", "openapi": "generate-spec --verbose && (npm run typescript:generate || echo 'Please manually regenerate the typescript OpenAPI models')", "psalm": "psalm --no-cache --threads=$(nproc)", "psalm:update-baseline": "psalm --threads=$(nproc) --update-baseline --set-baseline=tests/psalm-baseline.xml", "post-install-cmd": [ "@composer bin all install --ansi", "composer dump-autoload -o" ], "post-update-cmd": [ "composer dump-autoload" ], "test:unit": "vendor/bin/phpunit -c tests/php/phpunit.xml --no-coverage --colors=always --fail-on-warning --fail-on-risky --display-deprecations --display-phpunit-deprecations", "test:coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit -c tests/php/phpunit.xml" }, "extra": { "bamarni-bin": { "bin-links": true, "forward-command": true }, "patches-file": "patches.json" }, "autoload": { "psr-4": { "OCA\\Libresign\\": "lib/", "OCA\\Libresign\\3rdparty\\": "3rdparty/composer/" }, "classmap": [ "3rdparty/composer/" ] }, "autoload-dev": { "psr-4": { "OCP\\": "vendor/nextcloud/ocp/OCP", "OCA\\Libresign\\Tests\\Unit\\": "tests/php/Unit/", "OCA\\Libresign\\Tests\\Fixtures\\": "tests/php/fixtures/" } }, "require": { "cweagans/composer-patches": "^2.0", "phpseclib/phpseclib": "^3.0" } }