-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
71 lines (71 loc) · 1.99 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
{
"name": "zing/coding-standard",
"description": "The coding standard of the project.",
"keywords": ["coding-standard", "php"],
"license": "MIT",
"homepage": "https://github.com/zingimmick/coding-standard",
"support": {
"issues": "https://github.com/zingimmick/coding-standard/issues",
"source": "https://github.com/zingimmick/coding-standard"
},
"authors": [
{
"name": "zingimmick",
"email": "zingimmick@outlook.com",
"homepage": "https://github.com/zingimmick"
}
],
"config": {
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"branch-alias": {
"dev-master": "6.x-dev"
}
},
"require": {
"php": "^8.0",
"rector/rector": "^2.0.0",
"slevomat/coding-standard": "^8.0",
"symplify/easy-coding-standard": "^12.0"
},
"require-dev": {
"phpunit/phpunit": "^9.3.3 || ^10.0 || ^11.0",
"roave/security-advisories": "dev-master",
"symfony/finder": "^6.0 || ^7.0"
},
"autoload": {
"psr-4": {
"Zing\\CodingStandard\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Zing\\CodingStandard\\Tests\\": "tests",
"Zing\\CodingStandard\\Correct\\": "correct"
}
},
"scripts": {
"test": [
"rm -rf fixed/*.php",
"cp -R wrong/* fixed/",
"vendor/bin/rector process",
"vendor/bin/ecs check --fix",
"vendor/bin/ecs check --fix",
"vendor/bin/phpunit",
"vendor/bin/ecs check correct"
],
"lint:rector": "rector process --ansi --dry-run",
"lint:ecs": "ecs check --ansi",
"lint": [
"@lint:rector",
"@lint:ecs"
]
},
"minimum-stability": "dev",
"prefer-stable": true
}