-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
54 lines (54 loc) · 1.21 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
{
"name": "wildphp/irc-textformatter",
"description": "IRC Text Formatter for WildPHP",
"type": "library",
"license": "MIT",
"autoload": {
"psr-4": {
"WildPHP\\TextFormatter\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"WildPHP\\TextFormatter\\Tests\\": "tests/"
}
},
"require": {
"php": ">=7.2.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5",
"squizlabs/php_codesniffer": "^3.6.0",
"phpmd/phpmd": "^2.9.1",
"phpstan/phpstan": "^0.12.84"
},
"scripts": {
"qc": [
"@phpunit",
"@phpcs",
"@phpmd",
"@phpstan"
],
"phpunit": [
"@php vendor/bin/phpunit"
],
"phpcs": [
"@php vendor/bin/phpcs --standard=PSR12 src/ tests/"
],
"phpcs-github": [
"@php vendor/bin/phpcs --standard=PSR12 --report=checkstyle src/ tests/"
],
"phpcbf": [
"@php vendor/bin/phpcbf --standard=PSR12 src/ tests/"
],
"phpmd": [
"@php vendor/bin/phpmd src/ text phpmd_ruleset.xml --suffixes php"
],
"phpmd-github": [
"@php vendor/bin/phpmd src/ github phpmd_ruleset.xml --suffixes php"
],
"phpstan": [
"@php vendor/bin/phpstan analyse -c phpstan.neon -n src/"
]
}
}