-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
107 lines (107 loc) · 3.56 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
104
105
106
107
{
"name": "marjovanlier/xhprof-trace",
"description": "A library for tracing XHProf performance data in PHP applications.",
"keywords": [
"Marjo van Lier",
"xhprof",
"trace"
],
"homepage": "https://github.com/marjovanlier/xhprof-trace",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Marjo Wenzel van Lier",
"email": "marjo.vanlier@gmail.com",
"role": "Developer"
}
],
"autoload": {
"psr-4": {
"MarjovanLier\\XhprofTrace\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"MarjovanLier\\XhprofTrace\\Tests\\Unit\\": "tests"
}
},
"config": {
"preferred-install": {
"*": "dist"
},
"optimize-autoloader": true,
"classmap-authoritative": true,
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": true,
"phpstan/extension-installer": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^8.1|^8.2|^8.3",
"ext-xhprof": "*",
"symfony/console": "^v5|^v6|^v7"
},
"require-dev": {
"ext-ast": "*",
"ext-pcntl": "*",
"ext-xdebug": "*",
"enlightn/security-checker": "^v1|^v2",
"infection/infection": ">=0.27.10",
"laravel/pint": "^1.14",
"phan/phan": ">=5.4.3",
"php-parallel-lint/php-console-highlighter": "^1",
"php-parallel-lint/php-parallel-lint": "^1",
"phpmd/phpmd": "^2",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/php-code-coverage": "^10|^11",
"phpunit/phpunit": "^10|^11",
"psalm/plugin-phpunit": ">=0.18.4",
"rector/rector": ">=1.0.2",
"vimeo/psalm": ">=5.22.2"
},
"scripts": {
"post-update-cmd": [
"composer validate --strict",
"php -d memory_limit=-1 ./vendor/bin/security-checker security:check",
"composer outdated -D"
],
"tests": [
"@test:vulnerabilities-check",
"@test:lint",
"@test:code-style",
"@test:phpmd",
"@test:infection",
"@test:phpstan",
"@test:phan",
"@test:psalm",
"@test:rector"
],
"test:code-style": "pint --test",
"test:infection": "infection --min-msi=100 --min-covered-msi=100 --threads=4 --show-mutations --only-covered --formatter=progress",
"test:lint": "parallel-lint --exclude vendor --show-deprecated .",
"test:phan": "phan --analyze-twice --no-progress-bar",
"test:phpmd": "phpmd src,tests text phpmd.xml",
"test:phpstan": "php -d memory_limit=-1 ./vendor/bin/phpstan analyse --no-progress --no-interaction",
"test:phpunit": "phpunit --no-coverage --no-logging",
"test:psalm": "psalm --no-cache --no-progress --show-info=false",
"test:rector": "rector --dry-run",
"test:vulnerabilities-check": "php -d memory_limit=-1 ./vendor/bin/security-checker security:check"
},
"scripts-descriptions": {
"test:code-style": "Check code for stylistic consistency.",
"test:infection": "Conduct mutation testing for robustness.",
"test:lint": "Search for syntax errors and problematic patterns.",
"test:phan": "Perform static analysis with Phan to identify code issues.",
"test:phpmd": "Detect bugs and suboptimal code with PHP Mess Detector.",
"test:phpstan": "Conduct PHPStan static analysis for identifying code quality issues.",
"test:phpunit": "Execute PHPUnit tests to verify code functionality.",
"test:psalm": "Run Psalm to find errors and improve code quality.",
"test:rector": "Apply automated code quality enhancements with Rector.",
"test:vulnerabilities-check": "Scan dependencies for known security vulnerabilities."
}
}