-
Notifications
You must be signed in to change notification settings - Fork 18
/
composer.json
42 lines (42 loc) · 1.2 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
{
"name": "paysera/lib-php-cs-fixer-config",
"description": "PHP CS Fixer config for Paysera conventions",
"type": "library",
"require": {
"php": ">=7.4 <8.0 || >=8.1",
"doctrine/inflector": "^1.0 || ^2.0"
},
"require-dev": {
"phpunit/phpunit": "^9.3.0",
"friendsofphp/php-cs-fixer": "3.64.0",
"sanmai/phpunit-legacy-adapter": "^6.4 || ^8.2"
},
"autoload": {
"psr-4": {
"Paysera\\PhpCsFixerConfig\\Composer\\": "composer",
"Paysera\\PhpCsFixerConfig\\Config\\": "config",
"Paysera\\PhpCsFixerConfig\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Paysera\\PhpCsFixerConfig\\Tests\\": "tests"
}
},
"suggest": {
"paysera/lib-arcanist-php-cs-extension": "Integrates PHP CS Fixer into arcanist workflow"
},
"config": {
"bin-dir": "bin"
},
"scripts" : {
"download-phar": "./download-phar.sh",
"phpunit": "phpunit",
"fix-cs": "./paysera-php-cs-fixer fix",
"test-cs": "./paysera-php-cs-fixer fix --dry-run -v",
"test": ["@phpunit", "@test-cs"]
},
"bin": [
"paysera-php-cs-fixer"
]
}