-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
49 lines (49 loc) · 1.46 KB
/
composer.json
File metadata and controls
49 lines (49 loc) · 1.46 KB
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
{
"name": "phauthentic/bc-check",
"description": "Backward compatibility checker for PHP APIs",
"type": "project",
"license": "GPL-3.0-or-later",
"require": {
"php": "^8.3",
"nikic/php-parser": "^5.0",
"symfony/config": "^7.0",
"symfony/console": "^7.0",
"symfony/dependency-injection": "^7.0",
"symfony/finder": "^7.0",
"symfony/messenger": "^7.0",
"symfony/process": "^7.0",
"symfony/yaml": "^7.0"
},
"require-dev": {
"phpunit/phpunit": "^12.0",
"phpstan/phpstan": "^2.1",
"friendsofphp/php-cs-fixer": "^3.0"
},
"autoload": {
"psr-4": {
"Phauthentic\\BcCheck\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Phauthentic\\BcCheck\\Tests\\": "tests/"
}
},
"scripts": {
"test": "phpunit",
"phpstan": "phpstan analyse",
"cs-check": "php-cs-fixer fix --dry-run --diff",
"cs-fix": "php-cs-fixer fix",
"qa": ["@phpstan", "@cs-check", "@test"],
"build-phar": [
"if [ ! -f tools/box ]; then curl -Ls https://github.com/box-project/box/releases/download/4.6.6/box.phar -o tools/box && chmod +x tools/box; fi",
"if [ ! -f box.json ]; then cp box.json.dist box.json; fi",
"tools/box compile"
]
},
"bin": ["bin/bc-check"],
"config": {
"bin-dir": "bin",
"sort-packages": true
}
}