-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathcomposer.json
More file actions
71 lines (71 loc) · 1.91 KB
/
composer.json
File metadata and controls
71 lines (71 loc) · 1.91 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "diffy-website/diffy-cli",
"description": "Diffy CLI tool.",
"license": "MIT",
"homepage": "https://diffy.website/",
"authors": [
{
"name": "Yuriy Gerasimov",
"email": "yuri.gerasimov@gmail.com"
}
],
"autoload": {
"psr-4": {
"DiffyCli\\": "src"
}
},
"require": {
"php": "^8.2",
"ext-json": "*",
"consolidation/robo": "^5.1.1",
"cweagans/composer-patches": "~2.0",
"diffywebsite/diffy-php": "^1",
"guzzlehttp/guzzle": "^7",
"n98/junit-xml": "^1.1"
},
"require-dev": {
"g1a/composer-test-scenarios": "^2",
"squizlabs/php_codesniffer": "^3.7"
},
"bin": [
"diffy"
],
"scripts": {
"phar:install-tools": [
"mkdir -p tools",
"curl -L https://github.com/humbug/box/releases/download/4.6.6/box.phar -o tools/box",
"chmod +x tools/box"
],
"phar:build": "env PATH=tools:$PATH box compile",
"cs": "phpcs --standard=PSR12 -n src",
"cbf": "phpcbf --standard=PSR2 -n src",
"unit": "phpunit --colors=always",
"lint": [
"find src -name '*.php' -print0 | xargs -0 -n1 php -l"
],
"test": [
"@lint"
],
"release": [
"release VERSION"
],
"scenario": "scenarios/install"
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"allow-plugins": {
"cweagans/composer-patches": true
}
},
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
},
"patches": {
"consolidation/robo": {
"Fix: Add Symfony Console 7.4+ addCommand() compatibility": "https://patch-diff.githubusercontent.com/raw/consolidation/robo/pull/1185.diff"
}
}
}
}