2021-05-13 21:08:55 +03:00
|
|
|
{
|
|
|
|
"name": "neur0toxine/pock",
|
|
|
|
"description": "PSR-18 compatible HTTP mock library",
|
|
|
|
"type": "library",
|
|
|
|
"license": "MIT",
|
2021-05-15 19:53:38 +03:00
|
|
|
"homepage": "https://github.com/Neur0toxine/pock",
|
|
|
|
"keywords": [
|
|
|
|
"php-http",
|
|
|
|
"http",
|
|
|
|
"symfony",
|
|
|
|
"mock",
|
|
|
|
"psr-7",
|
|
|
|
"psr-18",
|
|
|
|
"mock"
|
|
|
|
],
|
2021-05-13 21:08:55 +03:00
|
|
|
"authors": [
|
|
|
|
{
|
|
|
|
"name": "Neur0toxine",
|
|
|
|
"email": "pashok9825@gmail.com"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
|
|
|
"Pock\\": "src/"
|
|
|
|
}
|
|
|
|
},
|
2021-05-14 18:52:00 +03:00
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
|
|
|
"Pock\\Tests\\": "tests/src/",
|
|
|
|
"Pock\\TestUtils\\": "tests/utils/"
|
|
|
|
}
|
|
|
|
},
|
2021-05-13 21:08:55 +03:00
|
|
|
"require": {
|
2021-05-14 18:57:35 +03:00
|
|
|
"php": ">=7.2.0",
|
2021-05-14 20:06:58 +03:00
|
|
|
"ext-json": "*",
|
2021-05-13 21:08:55 +03:00
|
|
|
"psr/http-client": "^1.0",
|
|
|
|
"psr/http-message": "^1.0",
|
2021-05-14 20:06:58 +03:00
|
|
|
"php-http/httplug": "^1.0 || ^2.0",
|
2021-09-23 19:41:02 +03:00
|
|
|
"nyholm/psr7": "^1.4",
|
|
|
|
"riverline/multipart-parser": "^2.0"
|
2021-05-13 21:08:55 +03:00
|
|
|
},
|
2021-05-14 18:52:00 +03:00
|
|
|
"require-dev": {
|
|
|
|
"squizlabs/php_codesniffer": "^3.6",
|
2022-04-04 16:16:24 +03:00
|
|
|
"phpmd/phpmd": "^2.12",
|
2021-05-14 18:52:00 +03:00
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
|
|
|
|
"phpcompatibility/php-compatibility": "^9.3",
|
2022-04-04 16:16:24 +03:00
|
|
|
"phpstan/phpstan": "^1.5",
|
|
|
|
"jms/serializer": "^2 | ^3.17",
|
2021-05-14 18:52:00 +03:00
|
|
|
"symfony/phpunit-bridge": "^5.2",
|
2021-05-15 18:57:28 +03:00
|
|
|
"symfony/serializer": "^5.2",
|
2021-09-23 19:41:02 +03:00
|
|
|
"symfony/property-access": "^5.2",
|
2022-04-04 16:16:24 +03:00
|
|
|
"php-http/multipart-stream-builder": "^1.2",
|
|
|
|
"symfony/http-client": "^5.3"
|
2021-05-14 18:52:00 +03:00
|
|
|
},
|
2021-05-13 21:08:55 +03:00
|
|
|
"provide": {
|
|
|
|
"psr/http-client-implementation": "1.0",
|
|
|
|
"php-http/client-implementation": "1.0",
|
|
|
|
"php-http/async-client-implementation": "1.0"
|
2021-05-14 18:52:00 +03:00
|
|
|
},
|
|
|
|
"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"
|
|
|
|
]
|
2022-04-14 13:59:59 +03:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"allow-plugins": {
|
|
|
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
|
|
|
}
|
2021-05-13 21:08:55 +03:00
|
|
|
}
|
|
|
|
}
|