forked from tpay-com/php-coding-standards
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
37 lines (37 loc) · 1.02 KB
/
composer.json
File metadata and controls
37 lines (37 loc) · 1.02 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
{
"name": "tpay-com/coding-standards",
"description": "Tpay.com coding standards library",
"license": "MIT",
"type": "library",
"require": {
"php": "^7.4 || ^8.0",
"kubawerlos/php-cs-fixer-custom-fixers": "^3.16.2",
"php-cs-fixer/shim": "^3.22"
},
"require-dev": {
"phpunit/phpunit": "^9.6.11",
"vimeo/psalm": "^5.15.0"
},
"autoload": {
"psr-4": {
"Tpay\\CodingStandards\\": "./src/"
}
},
"autoload-dev": {
"psr-4": {
"Tpay\\CodingStandards\\Tests\\": "./src/"
}
},
"scripts": {
"fix": [
"php-cs-fixer fix -vvv"
],
"verify": [
"php-cs-fixer fix -vvv --diff --dry-run",
"mkdir -p ./var",
"@composer require friendsofphp/php-cs-fixer --no-interaction --working-dir=./var",
"psalm --no-progress --shepherd",
"phpunit --bootstrap=./var/vendor/autoload.php --no-configuration ./tests"
]
}
}