composer.json
{
"name": "widmogrod/php-algorithm-w",
"description": "Algorithm W implemented in PHP based on Martin Grabmüller work.",
"type": "project",
"require": {
"widmogrod/php-functional": "^5.1"
},
"require-dev": {
"phpunit/phpunit": "^6",
"friendsofphp/php-cs-fixer": "^2",
"giorgiosironi/eris": "^0.9"
},
"license": "MIT",
"authors": [
{
"name": "widmogrod",
"email": "widmogrod@gmail.com"
}
],
"autoload": {
"psr-0": {
"AlgorithmW": "./src"
}
},
"scripts": {
"test": "phpunit --no-coverage",
"testc": "phpunit --coverage-clover ./clover.xml",
"fix-code": "php-cs-fixer fix --allow-risky=yes",
"check-code": "php-cs-fixer fix --verbose --diff --dry-run --allow-risky=yes",
"xdebug": "php -d xdebug.profiler_enable=1 -d xdebug.profiler_output_dir=$(pwd) vendor/bin/phpunit --filter=test_generate_union_type"
}
}