Files
nextcloud-contacts/composer.json
SebastianKrupinski ada8566bd0 chore: update php and coding standards
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-06-20 10:18:22 -04:00

33 lines
872 B
JSON

{
"name": "nextcloud/contacts",
"config": {
"optimize-autoloader": true,
"platform": {
"php": "8.1"
},
"autoloader-suffix": "Contacts"
},
"autoload": {
"psr-4": {
"OCA\\Contacts\\": "lib/"
}
},
"scripts": {
"cs:fix": "php-cs-fixer fix",
"cs:fix:force": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:check:force": "PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix --dry-run --diff",
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"test:unit": "phpunit -c phpunit.xml --fail-on-warning",
"test:integration": "phpunit -c phpunit.integration.xml --fail-on-warning"
},
"require": {
"php": ">=8.1 <=8.4"
},
"require-dev": {
"christophwurst/nextcloud_testing": "^1.0.1",
"phpunit/phpunit": "^9",
"nextcloud/coding-standard": "^1.4"
}
}