Valinor/composer.json
Romain Canon e5ccbe201b misc: raise version of friendsofphp/php-cs-fixer
Grants PHP 8.1 support.
2021-12-15 13:19:24 +01:00

58 lines
1.7 KiB
JSON

{
"name": "cuyz/valinor",
"type": "library",
"description": "Library that helps to map any input into a strongly-typed value object structure.",
"keywords": [
"object", "tree", "mapper", "mapping", "hydrator", "array", "conversion", "json", "yaml"
],
"homepage": "https://github.com/CuyZ/Valinor",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Romain Canon",
"email": "romain.hydrocanon@gmail.com",
"homepage": "https://github.com/romm"
}
],
"require": {
"php": "~7.4.0 || ~8.0.0 || ~8.1.0",
"composer-runtime-api": "^2.0",
"psr/simple-cache": "^1.0 || ^2.0",
"doctrine/annotations": "^1.11",
"symfony/polyfill-php80": "^1.22"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"infection/infection": "^0.25.0",
"phpstan/phpstan": "^1.2",
"phpstan/phpstan-strict-rules": "^1.0",
"friendsofphp/php-cs-fixer": "^3.4",
"marcocesarato/php-conventional-changelog": "^1.12"
},
"autoload": {
"psr-4": {
"CuyZ\\Valinor\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"CuyZ\\Valinor\\Tests\\": "tests"
}
},
"scripts": {
"check": [
"phpunit",
"php-cs-fixer fix --dry-run",
"phpstan"
],
"fix": [
"php-cs-fixer fix"
],
"mutation": [
"@putenv XDEBUG_MODE=coverage",
"phpunit --coverage-xml='var/cache/phpunit/coverage' --log-junit='var/cache/phpunit/coverage/junit.xml'",
"infection --threads=12 --skip-initial-tests --coverage='var/cache/phpunit/coverage'"
]
}
}