composer.json
{
"name": "cozy/contracts",
"description": "Collection of handy Contracts",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Nestor Picado",
"email": "info@nestorpicado.com"
}
],
"keywords": [
"contracts",
"interfaces"
],
"minimum-stability": "dev",
"require": {
"php": "^7.4|^8",
"ext-json": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^v3.51.0",
"phpstan/phpstan": "^1.10.59",
"phpstan/phpstan-strict-rules": "^1.5.2"
},
"autoload": {
"psr-4": {
"Cozy\\Contracts\\": "src"
}
},
"scripts": {
"phpcs": "vendor/bin/php-cs-fixer check --diff -vvv --allow-risky=yes --ansi",
"phpcs:fix": "vendor/bin/php-cs-fixer fix -vvv --allow-risky=yes --ansi",
"phpstan": "vendor/bin/phpstan analyse -l max -c phpstan.neon src --ansi --memory-limit 192M",
"test": [
"vendor/bin/phpstan analyse -l 4 -c phpstan.neon src --ansi --memory-limit 192M",
"vendor/bin/php-cs-fixer check -vv --allow-risky=no --show-progress=none"
]
},
"config": {
"sort-packages": true
}
}