-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
81 lines (81 loc) · 2.16 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
{
"name": "ouxsoft/phpmarkup",
"description": "A Processor for Markup written in PHP. Allows extraction of Markup into a data structure, orchestrated nested manipulation of said structure, and output as (optimized) Markup. ",
"license": "MIT",
"keywords": [
"PHPMarkup",
"markup",
"processor",
"templating engine",
"lhtml"
],
"type": "library",
"homepage": "https://github.com/Ouxsoft/phpmarkup",
"support": {
"docs": "https://phpmarkup.readthedocs.io",
"source": "https://github.com/Ouxsoft/phpmarkup",
"issues": "https://github.com/Ouxsoft/phpmarkup/issues"
},
"require": {
"php": ">=7.3",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"laminas/laminas-config": "^3.4.0",
"laminas/laminas-validator": "^2.14.4",
"pimple/pimple": "^v3.3.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^v3.1.0",
"phpunit/phpunit": "^9",
"phpbench/phpbench": "^1.1",
"phpstan/phpstan": "^0.12.99"
},
"autoload": {
"psr-4": {
"Ouxsoft\\PHPMarkup\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ouxsoft\\PHPMarkup\\Tests\\": "tests/src/"
}
},
"scripts": {
"qc" : [
"@code-standards-apply",
"@test"
],
"test": [
"@unit-test",
"@feature-test",
"@coverage-test",
"@benchmark-test",
"@static-analysis-test",
"@code-standards-test"
],
"unit-test": [
"./vendor/bin/phpunit --no-coverage --testsuite unit"
],
"feature-test": [
"./vendor/bin/phpunit --no-coverage --testsuite feature"
],
"coverage-test": [
"XDEBUG_MODE=coverage ./vendor/bin/phpunit"
],
"benchmark-test" : [
"./vendor/bin/phpbench run tests/src/Benchmark --report=env --progress=dots"
],
"static-analysis-test" : [
"./vendor/bin/phpstan analyse -c phpstan.neon"
],
"code-standards-apply": [
"php-cs-fixer fix --using-cache=no src/",
"php-cs-fixer fix --using-cache=no tests/"
],
"code-standards-test": [
"php-cs-fixer fix --dry-run --diff --verbose --using-cache=no src/ ",
"php-cs-fixer fix --dry-run --diff --verbose --using-cache=no tests/"
]
}
}