-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
51 lines (51 loc) · 1.48 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
{
"name": "stolt/difftastic-php",
"description": "PHP wrapper around the difftastic CLI.",
"keywords": ["difftastic", "wrapper", "dev"],
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"Stolt\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Stolt\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Raphael Stolt",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.1"
},
"scripts": {
"test": "phpunit",
"test-with-coverage": "export XDEBUG_MODE=coverage && phpunit --coverage-html coverage-reports",
"validate-gitattributes": "lean-package-validator validate",
"cs-fix": "php-cs-fixer --allow-risky=yes fix . -vv || true",
"cs-lint": "php-cs-fixer fix --diff --stop-on-violation --verbose --dry-run --allow-risky=yes",
"static-analyse": "phpstan analyse --configuration phpstan.neon.dist",
"pre-commit-check": [
"@test",
"@cs-lint",
"@static-analyse",
"@validate-gitattributes"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^11.4.4||^10.5.25",
"stolt/lean-package-validator": "^4.1"
}
}