-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
50 lines (50 loc) · 1.17 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
{
"name": "mhujer/phpstan-rules",
"description": "Custom rules for phpstan",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Martin Hujer",
"email": "mhujer@gmail.com"
}
],
"autoload": {
"psr-4": {
"Mhujer\\PHPStanRules\\": "src/"
}
},
"autoload-dev": {
"classmap": ["tests/"]
},
"require": {
"php": "~8.0 || ~8.1",
"phpstan/phpstan": "^1.0"
},
"require-dev": {
"consistence-community/coding-standard": "3.11.1",
"php-parallel-lint/php-parallel-lint": "1.3.1",
"phpunit/phpunit": "9.5.10"
},
"conflict": {
"nikic/php-parser": "<4.13.0"
},
"config": {
"sort-packages": true
},
"scripts": {
"ci": [
"@composer validate --no-check-all",
"@composer install --no-progress --no-interaction",
"@phplint",
"@phpcs",
"@phpstan",
"@test"
],
"phplint": "parallel-lint -j 10 --exclude var --exclude vendor .",
"phpcs": "phpcs --standard=phpcs.xml --extensions=php --encoding=utf-8 --tab-width=4 -sp src tests",
"phpcbf": "phpcbf --standard=phpcs.xml --extensions=php --encoding=utf-8 --tab-width=4 -sp src tests",
"phpstan": "phpstan analyse -c phpstan.neon src --level 8 --no-progress",
"test": "phpunit"
}
}