composer.json
{
"name": "redrat/shared-value-objects",
"description": "A collection of Value Objects that I usually use in my projects",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Joubert RedRat",
"email": "me+github@redrat.com.br"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=7.4"
},
"require-dev": {
"symfony/var-dumper": "^5.1",
"phpunit/phpunit": "^9.2",
"squizlabs/php_codesniffer": "^3.5"
},
"autoload": {
"psr-4": {
"RedRat\\SharedValueObjects\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"RedRat\\SharedValueObjects\\Tests\\": "tests/"
}
},
"scripts": {
"psr12":[
"vendor/squizlabs/php_codesniffer/bin/phpcs --standard=PSR12 --extensions=php,inc,lib src/",
"vendor/squizlabs/php_codesniffer/bin/phpcs --standard=PSR12 --extensions=php,inc,lib tests/"
],
"tests": "vendor/phpunit/phpunit/phpunit -c tests/phpunit.unit.xml --no-coverage",
"coverage": "vendor/phpunit/phpunit/phpunit -c tests/phpunit.unit.xml",
"coverage-show": [
"@coverage",
"xdg-open tests/_reports/unit/coverage/index.html"
]
}
}