-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
96 lines (96 loc) · 2.4 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
{
"name": "mustelaitatsi/mrzparser",
"type": "library",
"description": "A PHP package for MRZ parsing.",
"keywords": [
"mrz",
"mrz-parser"
],
"license": "BSD-3-Clause",
"autoload": {
"psr-4": {
"MustelaItatsi\\MrzParser\\": "src/",
"MustelaItatsi\\MrzParser\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Alexander Herrmann",
"email": "alexander.herrmann@hotmail.com"
}
],
"require": {
"php": "^8.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.65",
"infection/infection": "^0.29.8",
"phpstan/extension-installer": "^1.4",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^10.5 || ^11.0",
"shipmonk/composer-dependency-analyser": "^1.8"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"infection/extension-installer": true,
"phpstan/extension-installer": true
},
"optimize-autoloader": true,
"prepend-autoloader": false,
"platform": {
"php": "8.1"
}
},
"scripts": {
"test": [
"@style:php-cs-check",
"@test:phpmd",
"@test:infection",
"@style:phpstan",
"@check:dependency"
],
"test:test": [
"@test:unit"
],
"test:unit": [
"@phpunit --testsuite=Unit"
],
"test:phpmd": [
"@phpmd"
],
"test:coverage": [
"@phpunit --coverage-text --coverage-html=var/phpunit/coverage"
],
"test:infection": [
"@infection"
],
"style:php-cs-check": [
"@php-cs-check"
],
"style:phpstan": [
"@phpstan"
],
"style:check": [
"@style:php-cs-check",
"@style:phpstan"
],
"style:fix": [
"@php-cs-fix"
],
"check:dependency": [
"@composer-dependency-analyser"
],
"php-cs-check": "./vendor/bin/php-cs-fixer check --diff",
"php-cs-fix": "./vendor/bin/php-cs-fixer fix",
"phpmd" : "./vendor/bin/phpmd src,tests ansi rulesets.xml",
"phpstan": "./vendor/bin/phpstan analyse -c phpstan.neon",
"phpunit": "./vendor/bin/phpunit",
"composer-dependency-analyser": "./vendor/bin/composer-dependency-analyser",
"infection": "php -d xdebug.mode=coverage ./vendor/bin/infection -n -jmax --min-msi=100 --min-covered-msi=100 --show-mutations"
}
}