-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
57 lines (57 loc) · 1.89 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
{
"name": "ujamii/osm-opening-hours",
"description": "Parser for Openstreetmap opening hours format",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"Ujamii\\OsmOpeningHours\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Ujamii\\OsmOpeningHours\\Tests\\": "tests"
}
},
"authors": [
{
"name": "Michael Grundkötter",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.0",
"ext-calendar": "*",
"spatie/opening-hours": "^2.11"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"friendsofphp/php-cs-fixer": "^3.8",
"phpstan/phpstan": "^1.6 || ^2.0",
"infection/infection": "^0.26.8"
},
"scripts": {
"phpunit": "vendor/bin/phpunit -c build/config/phpunit.xml.dist",
"phpstan": "vendor/bin/phpstan analyse -c build/config/phpstan.neon",
"php-cs-fixer": "vendor/bin/php-cs-fixer fix --config build/config/cs.php",
"infection": "vendor/bin/infection --only-covered --configuration=./build/config/infection.json.dist --threads=8 --min-msi=98",
"testall": [
"@generate-api",
"@phpunit",
"@phpstan",
"@infection"
]
},
"scripts-descriptions": {
"phpunit": "Runs the unit tests in this package, configured in build/config/phpunit.xml.dist.",
"phpstan": "Runs static code analysis, configured in build/config/phpstan.neon.",
"php-cs-fixer": "Applies code style rules (PSR-12) to src and tests as configured in build/config/cs.php.",
"infection": "Runs mutation testing, configured in build/config/infection.json.dist.",
"testall": "Runs the whole set of tests."
},
"config": {
"allow-plugins": {
"infection/extension-installer": true
}
}
}