-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
105 lines (105 loc) · 3.85 KB
/
composer.json
File metadata and controls
105 lines (105 loc) · 3.85 KB
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
104
105
{
"name": "infocyph/arraykit",
"description": "A Collection of useful PHP array functions.",
"type": "library",
"license": "MIT",
"keywords": [
"collection",
"array",
"config"
],
"authors": [
{
"name": "abmmhasan",
"email": "abmmhasan@gmail.com"
}
],
"autoload": {
"files": [
"src/functions.php"
],
"psr-4": {
"Infocyph\\ArrayKit\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Infocyph\\ArrayKit\\Tests\\": "tests/"
}
},
"require": {
"php": ">=8.4"
},
"require-dev": {
"captainhook/captainhook": "^5.29.2",
"laravel/pint": "^1.29",
"pestphp/pest": "^4.5",
"pestphp/pest-plugin-drift": "^4.1",
"phpbench/phpbench": "^1.6",
"phpstan/phpstan": "^2.1",
"rector/rector": "^2.4.1",
"squizlabs/php_codesniffer": "^4.0.1",
"symfony/var-dumper": "^7.3 || ^8.0.8",
"tomasvotruba/cognitive-complexity": "^1.1",
"vimeo/psalm": "^6.16.1"
},
"scripts": {
"test:syntax": "@php .github/scripts/syntax.php src tests benchmarks examples",
"test:code": "@php vendor/bin/pest",
"test:lint": "@php vendor/bin/pint --test",
"test:sniff": "@php vendor/bin/phpcs --standard=phpcs.xml.dist --report=full",
"test:static": "@php vendor/bin/phpstan analyse --configuration=phpstan.neon.dist --memory-limit=1G",
"test:security": "@php vendor/bin/psalm --config=psalm.xml --security-analysis --threads=1 --no-cache",
"test:refactor": "@php vendor/bin/rector process --dry-run --debug",
"test:bench": "@php vendor/bin/phpbench run --config=phpbench.json --report=aggregate",
"test:details": [
"@test:syntax",
"@test:code",
"@test:lint",
"@test:sniff",
"@test:static",
"@test:security",
"@test:refactor"
],
"test:all": [
"@test:syntax",
"@php vendor/bin/pest --parallel --processes=10",
"@php vendor/bin/pint --test",
"@php vendor/bin/phpcs --standard=phpcs.xml.dist --report=summary",
"@php vendor/bin/phpstan analyse --configuration=phpstan.neon.dist --memory-limit=1G --no-progress --debug",
"@php vendor/bin/psalm --config=psalm.xml --show-info=false --security-analysis --threads=1 --no-progress --no-cache",
"@php vendor/bin/rector process --dry-run --debug"
],
"release:audit": "@php .github/scripts/composer-audit-guard.php",
"release:guard": [
"@composer validate --strict",
"@release:audit",
"@tests"
],
"process:lint": "@php vendor/bin/pint",
"process:sniff:fix": "@php vendor/bin/phpcbf --standard=phpcs.xml.dist --runtime-set ignore_errors_on_exit 1",
"process:refactor": "@php vendor/bin/rector process",
"process:all": [
"@process:refactor",
"@process:lint",
"@process:sniff:fix"
],
"bench:run": "@php vendor/bin/phpbench run --config=phpbench.json --report=aggregate",
"bench:quick": "@php vendor/bin/phpbench run --config=phpbench.json --report=aggregate --revs=10 --iterations=3 --warmup=1",
"bench:chart": "@php vendor/bin/phpbench run --config=phpbench.json --report=chart",
"tests": "@test:all",
"process": "@process:all",
"benchmark": "@bench:run",
"post-autoload-dump": "captainhook install --only-enabled -nf"
},
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"classmap-authoritative": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
}
}