-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
executable file
·103 lines (103 loc) · 3.23 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
95
96
97
98
99
100
101
102
103
{
"name": "ducks-project/spl-types",
"description": "Polyfill Module for SplType PHP extension. This extension aims at helping people making PHP a stronger typed language and can be a good alternative to scalar type hinting. It provides different typehandling classes as such as integer, float, bool, enum and string",
"license": "MIT",
"type": "library",
"keywords": [
"Enum",
"SplTypes",
"SplEnum",
"enumerator",
"POO",
"SplBool",
"SplFloat",
"SplInt",
"SplString",
"SplType",
"polyfill",
"php",
"compat"
],
"authors": [
{
"name": "Adrien Loyant",
"email": "donald_duck@team-df.org",
"homepage": "http://adrien.loyant.net",
"role": "Owner"
}
],
"homepage": "https://github.com/ducks-project/spl-types/",
"support": {
"email": "adrien.loyant@gmail.com"
},
"require": {
"php": ">=7.4",
"ext-json": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.64",
"phpbench/phpbench": "^1.2",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-phpunit": "^1.4",
"phpunit/phpunit": "^9.6 || ^10.5 || ^11.3",
"rector/rector": "^1.2",
"squizlabs/php_codesniffer": "^3.10",
"vimeo/psalm": "^5.26"
},
"repositories": [
{
"type": "path",
"url": "./packages/replace",
"options": {
"reference": "none",
"versions": {
"ducks-project/spl-types-subpackage-replace": "1.0.0"
}
}
}
],
"autoload": {
"psr-4": {
"Ducks\\Component\\SplTypes\\": ""
},
"classmap": [
"Resources/stubs"
],
"files": [
"bootstrap.php",
"Resources/functions.php"
],
"exclude-from-classmap": [
"/Tests/"
]
},
"autoload-dev": {
"psr-4": {
"Ducks\\Component\\SplTypes\\Tests\\": "Tests/"
}
},
"extra": {
"duck": {
"status": "validated"
}
},
"scripts": {
"bench": "./vendor/bin/phpbench run Tests/benchmark/ --report=aggregate --retry-threshold=5",
"junittest": "XDEBUG_MODE=coverage ./vendor/bin/phpunit Tests/phpunit --process-isolation -c phpunit.xml.dist --log-junit junit.xml",
"phpcs": "./vendor/bin/phpcs --standard=phpcs.xml.dist .",
"phpcsfixer-check": "./vendor/bin/php-cs-fixer fix --dry-run --diff",
"phpmd": "./vendor/bin/phpmd . github phpmd.xml.dist --exclude 'Tests/*,vendor/*,.history/*'",
"phpstan": "./vendor/bin/phpstan analyse --configuration phpstan.neon.dist",
"psalm": "./vendor/bin/psalm --config=psalm.xml.dist --no-cache --no-file-cache --shepherd",
"rector": "./vendor/bin/rector process . --dry-run",
"test": [
"@unittest",
"@bench"
],
"unittest": "XDEBUG_MODE=coverage ./vendor/bin/phpunit Tests/phpunit --process-isolation -c phpunit.xml.dist"
},
"scripts-descriptions": {
"test": "Run all tests!"
}
}