forked from consolidation/site-alias
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
64 lines (64 loc) · 1.64 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
{
"name": "consolidation/site-alias",
"description": "Manage alias records for local and remote sites.",
"license": "MIT",
"authors": [
{
"name": "Greg Anderson",
"email": "greg.1.anderson@greenknowe.org"
},
{
"name": "Moshe Weitzman",
"email": "weitzman@tejasa.com"
}
],
"autoload": {
"psr-4": {
"Consolidation\\SiteAlias\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Consolidation\\SiteAlias\\": "tests/src"
}
},
"require": {
"php": ">=7.4",
"consolidation/config": "^1.2.1 || ^2 || ^3",
"symfony/filesystem": "^5.4 || ^6 || ^7",
"symfony/finder": "^5 || ^6 || ^7"
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.4.2",
"squizlabs/php_codesniffer": "^3",
"symfony/var-dumper": "^4",
"phpunit/phpunit": ">=7",
"yoast/phpunit-polyfills": "^0.2.0"
},
"scripts": {
"cs": "phpcs --standard=PSR2 -n src",
"cbf": "phpcbf --standard=PSR2 -n src",
"unit": "phpunit --colors=always",
"lint": [
"find src -name '*.php' -print0 | xargs -0 -n1 php -l",
"find tests/src -name '*.php' -print0 | xargs -0 -n1 php -l"
],
"test": [
"@lint",
"@unit",
"@cs"
]
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "8.2.17"
}
},
"extra": {
"branch-alias": {
"dev-main": "4.x-dev"
}
}
}