Files
2024-11-11 18:46:54 +01:00

67 lines
2.2 KiB
JSON

{
"name": "prestashop/circuit-breaker",
"description": "A circuit breaker implementation for PHP",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "PrestaShop SA",
"email": "contact@prestashop.com"
},
{
"name": "PrestaShop Community",
"homepage": "http://contributors.prestashop.com/"
}
],
"require": {
"php": ">=5.6",
"guzzlehttp/guzzle": "^5"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.12",
"phpunit/phpunit": "^5.7.0",
"doctrine/cache": "^1.6.0",
"symfony/cache": "^3.4.0",
"symfony/event-dispatcher": "^3.4",
"vimeo/psalm": "^1.1",
"squizlabs/php_codesniffer": "3.*"
},
"suggest": {
"symfony/cache": "Allows use of Symfony Cache adapters to store transactions",
"doctrine/cache": "Allows use of Doctrine Cache adapters to store transactions",
"ext-apcu": "Allows use of APCu adapter (performant) to store transactions",
"guzzlehttp/cache-subscriber": "Allow use of Guzzle cache (use dev-master for most recent changes)"
},
"autoload": {
"psr-4": {
"PrestaShop\\CircuitBreaker\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\PrestaShop\\CircuitBreaker\\": "tests/"
}
},
"scripts": {
"psalm": [
"@php ./vendor/bin/psalm --init",
"@php ./vendor/bin/psalm --find-dead-code --threads=8 --diff"
],
"phpcs": "@php ./vendor/bin/phpcs -p --standard=PSR2 --ignore=\"vendor/*\" \"./\" --extensions=php",
"phpcbf": "@php ./vendor/bin/phpcbf -p --standard=PSR2 --ignore=\"vendor/*\" \"./\" --extensions=php",
"cs-fix": "@php ./vendor/bin/php-cs-fixer fix",
"test": "@php ./vendor/bin/phpunit"
},
"scripts-descriptions": {
"psalm": "Execute Psalm on PHP7.0+, you need to install it",
"cs-fix": "Check and fix coding styles using PHP CS Fixer",
"test": "Launch PHPUnit test suite"
},
"config": {
"sort-packages": true,
"platform": {
"php": "5.6"
}
}
}