mirror of
https://github.com/Neur0toxine/pock.git
synced 2024-12-01 09:26:02 +03:00
77 lines
2.4 KiB
JSON
77 lines
2.4 KiB
JSON
{
|
|
"name": "neur0toxine/pock",
|
|
"description": "PSR-18 compatible HTTP mock library",
|
|
"type": "library",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/Neur0toxine/pock",
|
|
"keywords": [
|
|
"php-http",
|
|
"http",
|
|
"symfony",
|
|
"mock",
|
|
"psr-7",
|
|
"psr-18",
|
|
"mock"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "Neur0toxine",
|
|
"email": "pashok9825@gmail.com"
|
|
}
|
|
],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Pock\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Pock\\Tests\\": "tests/src/",
|
|
"Pock\\TestUtils\\": "tests/utils/"
|
|
}
|
|
},
|
|
"require": {
|
|
"php": ">=7.2.0",
|
|
"ext-json": "*",
|
|
"psr/http-client": "^1.0",
|
|
"psr/http-message": "^1.0",
|
|
"php-http/httplug": "^1.0 || ^2.0",
|
|
"nyholm/psr7": "^1.4",
|
|
"riverline/multipart-parser": "^2.0"
|
|
},
|
|
"require-dev": {
|
|
"squizlabs/php_codesniffer": "^3.6",
|
|
"phpmd/phpmd": "^2.10",
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
|
|
"phpcompatibility/php-compatibility": "^9.3",
|
|
"phpstan/phpstan": "^0.12.87",
|
|
"jms/serializer": "^2 | ^3.12",
|
|
"symfony/phpunit-bridge": "^5.2",
|
|
"symfony/serializer": "^5.2",
|
|
"symfony/property-access": "^5.2",
|
|
"php-http/multipart-stream-builder": "^1.2"
|
|
},
|
|
"provide": {
|
|
"psr/http-client-implementation": "1.0",
|
|
"php-http/client-implementation": "1.0",
|
|
"php-http/async-client-implementation": "1.0"
|
|
},
|
|
"scripts": {
|
|
"phpunit": "./vendor/bin/simple-phpunit -c phpunit.xml.dist --coverage-text",
|
|
"phpunit-ci": "@php -dpcov.enabled=1 -dpcov.directory=. -dpcov.exclude=\"~vendor~\" ./vendor/bin/simple-phpunit --teamcity -c phpunit.xml.dist",
|
|
"phpmd": "./vendor/bin/phpmd src text ./phpmd.xml",
|
|
"phpcs": "./vendor/bin/phpcs -p src --runtime-set testVersion 7.1-8.0 && ./vendor/bin/phpcs -p tests --runtime-set testVersion 7.1-8.0 --warning-severity=0",
|
|
"phpstan": "./vendor/bin/phpstan analyse -c phpstan.neon src --memory-limit=-1",
|
|
"lint:fix": "./vendor/bin/phpcbf src",
|
|
"lint": [
|
|
"@phpcs",
|
|
"@phpmd",
|
|
"@phpstan"
|
|
],
|
|
"verify": [
|
|
"@lint",
|
|
"@phpunit"
|
|
]
|
|
}
|
|
}
|