-
Notifications
You must be signed in to change notification settings - Fork 86
/
composer.json
101 lines (101 loc) · 3.37 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
{
"name": "coduo/php-matcher",
"type": "library",
"description": "PHP Matcher enables you to match values with patterns",
"keywords": ["json", "matcher", "tests", "match"],
"license": "MIT",
"authors": [
{
"name": "Michał Dąbrowski",
"email": "[email protected]"
},
{
"name": "Norbert Orzechowicz",
"email": "[email protected]"
}
],
"require": {
"php": "~8.1 || ~8.2 || ~8.3 || ~8.4",
"ext-filter": "*",
"ext-json": "*",
"ext-simplexml": "*",
"aeon-php/calendar": "^1.0.6",
"coduo/php-to-string": "^3",
"doctrine/lexer": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^10.4",
"openlss/lib-array2xml": "^1.0",
"symfony/expression-language": "^5.4|^6.4|^7.0",
"symfony/cache": "^5.4|^6.4",
"nikic/php-parser": "^4.0",
"symfony/var-exporter": "^5.4|^6.4|^7.0"
},
"suggest": {
"openlss/lib-array2xml": "In order ot use Coduo\\PHPMatcher\\Matcher\\XmlMatcher",
"symfony/expression-language" : "In order to use Coduo\\PHPMatcher\\Matcher\\ExpressionMatcher"
},
"autoload": {
"psr-4": {
"Coduo\\PHPMatcher\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Coduo\\PHPMatcher\\Tests\\": "tests/",
"Coduo\\PHPMatcher\\Benchmark\\": "benchmark/Coduo/PHPMatcher/Benchmark/"
}
},
"config": {
"sort-packages": true,
"platform": {
"php": "8.1"
}
},
"scripts": {
"benchmark": [
"Composer\\Config::disableProcessTimeout",
"tools\/phpbench\/vendor\/bin\/phpbench run --report=matcher"
],
"build": [
"@static:analyze",
"@test",
"@test:mutation"
],
"cs:php:fix": [
"tools\/cs-fixer\/vendor\/bin\/php-cs-fixer fix --using-cache=no"
],
"test" : [
"vendor\/bin\/phpunit --coverage-html var/phpunit/coverage/html --coverage-filter src"
],
"test:mutation": [
"Composer\\Config::disableProcessTimeout",
"tools\/infection\/vendor\/bin\/infection -j2"
],
"static:analyze": [
"tools\/cs-fixer\/vendor\/bin\/php-cs-fixer fix --dry-run",
"tools\/psalm\/vendor\/bin\/psalm --shepherd --stats",
"tools\/phpstan\/vendor\/bin\/phpstan analyze -c phpstan.neon"
],
"tools:install": [
"composer install --working-dir=./tools/cs-fixer",
"composer install --working-dir=./tools/infection",
"composer install --working-dir=./tools/phpbench",
"composer install --working-dir=./tools/phpstan",
"composer install --working-dir=./tools/psalm --ignore-platform-req=php"
],
"tools:update": [
"composer update --working-dir=./tools/cs-fixer",
"composer update --working-dir=./tools/infection",
"composer update --working-dir=./tools/phpbench",
"composer update --working-dir=./tools/phpstan",
"composer update --working-dir=./tools/psalm --ignore-platform-req=php"
],
"post-install-cmd": [
"@tools:install"
],
"post-update-cmd": [
"@tools:update"
]
}
}