-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
44 lines (44 loc) · 1.75 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
{
"name": "parf/composer-php8-template",
"description": "PHP8/8.1 Template for composer/packagist",
"keywords": ["template"],
"license": "MIT",
"authors": [
{
"name": "Sergey Parf",
"email": "sergey.porfiriev@gmail.com"
}
],
"type": "project",
"require": {
"php": ">=8.0"
},
"require-dev": {
},
"autoload": {
"psr-4": {
"hb\\": "src/hbc/"
}
},
"scripts": {
"phpstan": "tools/phpstan analyse -c phpstan.neon src",
"stan": "tools/phpstan analyse -c phpstan.neon src",
"stan-q": "tools/phpstan -q analyse -c phpstan.neon src",
"stan2": "tools/phpstan analyse --level 2 -c phpstan.neon src",
"stan3": "tools/phpstan analyse --level 3 -c phpstan.neon src",
"stan4": "tools/phpstan analyse --level 4 -c phpstan.neon src",
"stan5": "tools/phpstan analyse --level 5 -c phpstan.neon src",
"stan6": "tools/phpstan analyse --level 6 -c phpstan.neon src",
"doc": "tools/phpDocumentor.phar -d 'src' -t doc",
"psalm": "tools/psalm.phar",
"psalm-dry": "tools/psalm.phar --alter --issues=MissingClosureReturnType,UnusedVariable,MissingReturnType,InvalidReturnType --dry-run",
"psalm-fix": "tools/psalm.phar --alter --issues=MissingClosureReturnType,UnusedVariable,MissingReturnType,InvalidReturnType",
"cs-dry": "tools/php-cs-fixer fix --diff -v --dry-run src",
"cs-fix": "tools/php-cs-fixer fix --diff -v src",
"rector-dry": "tools/rector process src --dry-run",
"rector": "tools/rector process src",
"test": "tools/stest-all tests",
"test-q": "tools/stest-all -q tests",
"lint": "find src -type f -name '*.php' -print0 | xargs -0 -n1 -P4 php -l -n | (! grep -v \"No syntax errors detected\" )"
}
}