2021-11-28 17:43:02 +01:00
|
|
|
{
|
|
|
|
"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",
|
2021-11-29 12:33:08 +01:00
|
|
|
"composer-runtime-api": "^2.0",
|
2021-11-28 17:43:02 +01:00
|
|
|
"psr/simple-cache": "^1.0 || ^2.0",
|
|
|
|
"doctrine/annotations": "^1.11",
|
|
|
|
"symfony/polyfill-php80": "^1.22"
|
|
|
|
},
|
|
|
|
"require-dev": {
|
|
|
|
"phpunit/phpunit": "^9.5",
|
2022-01-11 19:15:03 +01:00
|
|
|
"infection/infection": "^0.26",
|
2021-12-31 13:27:21 +01:00
|
|
|
"phpstan/phpstan": "^1.3",
|
2021-11-28 17:43:02 +01:00
|
|
|
"phpstan/phpstan-strict-rules": "^1.0",
|
2022-02-19 15:27:30 +01:00
|
|
|
"phpstan/phpstan-phpunit": "^1.0",
|
2021-12-15 13:16:50 +01:00
|
|
|
"friendsofphp/php-cs-fixer": "^3.4",
|
2022-01-11 16:19:10 +01:00
|
|
|
"marcocesarato/php-conventional-changelog": "^1.12",
|
|
|
|
"vimeo/psalm": "^4.18.1"
|
2021-11-28 17:43:02 +01:00
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
|
|
|
"CuyZ\\Valinor\\": "src"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
2021-12-29 00:09:34 +01:00
|
|
|
"CuyZ\\Valinor\\Tests\\": "tests",
|
|
|
|
"CuyZ\\Valinor\\QA\\": "qa"
|
2021-11-28 17:43:02 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"check": [
|
2021-12-15 13:16:38 +01:00
|
|
|
"phpunit",
|
|
|
|
"php-cs-fixer fix --dry-run",
|
|
|
|
"phpstan"
|
2021-11-28 17:43:02 +01:00
|
|
|
],
|
|
|
|
"fix": [
|
2021-12-15 13:16:38 +01:00
|
|
|
"php-cs-fixer fix"
|
2021-11-28 17:43:02 +01:00
|
|
|
],
|
|
|
|
"mutation": [
|
|
|
|
"@putenv XDEBUG_MODE=coverage",
|
2021-12-15 13:16:38 +01:00
|
|
|
"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'"
|
2021-11-28 17:43:02 +01:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|