-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
49 lines (49 loc) · 1.37 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
{
"name": "gomzyakov/php-cs-fixer-config",
"description": "Code style configuration for `php-cs-fixer` based on PSR-12.",
"type": "package",
"license": "MIT",
"keywords": [
"php",
"php-cs-fixer",
"code-style"
],
"homepage": "https://github.com/gomzyakov/php-cs-fixer-config",
"authors": [
{
"name": "Alexander Gomzyakov",
"email": "[email protected]"
}
],
"require": {
"php": "^8.3",
"ext-json": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.62",
"phpunit/phpunit": "^11.3",
"phpstan/phpstan": "^1.12",
"mockery/mockery": "^1.6"
},
"autoload": {
"psr-4": {
"Gomzyakov\\CS\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"cs-fix": "@php ./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php",
"cs-check": "@php ./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --dry-run",
"phpstan": "@php ./vendor/bin/phpstan analyze -c ./phpstan.neon.dist --no-progress --ansi",
"phpunit": "@php ./vendor/bin/phpunit ./tests --no-coverage --color=always",
"test": [
"@cs-check",
"@phpstan",
"@phpunit"
]
}
}