-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
94 lines (94 loc) · 2.84 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "pecm/pickling",
"description": "A REST API Client for PECL and PEAR",
"type": "library",
"license": "mit",
"keywords": ["pecl", "pear", "rest api", "client"],
"authors": [
{
"name": "Flavio Heleno",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Pickling\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Pickling\\Test\\": "tests"
}
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"preferred-install": "dist",
"allow-plugins": {
"infection/extension-installer": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"funding": [
{
"type": "patreon",
"url": "https://www.patreon.com/flavioheleno"
}
],
"require": {
"php": "^8.1",
"psr-discovery/http-client-implementations": "^1.2",
"psr-discovery/http-factory-implementations": "^1.1",
"psr/http-client": "^1.0",
"psr/http-client-implementation": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-factory-implementation": "^1.0",
"psr/http-message": "^1.0",
"psr/http-message-implementation": "^1.0"
},
"require-dev": {
"infection/infection": "^0.28",
"nyholm/psr7": "^1.3",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^11.1",
"psr-mock/http-client-implementation": "^1.0",
"psy/psysh": "^0.12",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.6"
},
"suggest": {
"nyholm/psr7": "A fast PHP7 implementation of PSR-7",
"php-http/socket-client": "Socket client for PHP-HTTP"
},
"scripts": {
"console": "vendor/bin/psysh",
"infection": "vendor/bin/infection",
"lint": "vendor/bin/parallel-lint --exclude vendor .",
"phpcs": "vendor/bin/phpcs --standard=ruleset.xml src/ tests/",
"phpstan": "vendor/bin/phpstan analyse --level=max --autoload-file=vendor/autoload.php src/",
"phpunit": "vendor/bin/phpunit ./tests/ --coverage-html=./report/coverage/ --testdox-html=./report/testdox.html --disallow-test-output --process-isolation",
"test-ci": "vendor/bin/phpunit ./tests/ --disallow-test-output --process-isolation",
"test-coverage": "vendor/bin/phpunit ./tests/ --coverage-clover=clover.xml",
"test": [
"@infection",
"@lint",
"@phpunit",
"@phpstan",
"@psalm",
"@phpcs"
]
},
"scripts-descriptions": {
"console": "Runs PsySH Console",
"infection": "Runs mutation test framework",
"lint": "Runs complete codebase lint testing",
"phpcs": "Runs coding style checking",
"phpstan": "Runs complete codebase static analysis",
"phpunit": "Runs library test suite",
"test-ci": "Runs library test suite (for continuous integration)",
"test-coverage": "Runs test-coverage analysis",
"test": "Runs all tests"
}
}