-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
48 lines (48 loc) · 1.91 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
{
"name": "homebase2/hb-core",
"description": "Core Libraries for Homebase 2 Framework",
"keywords": ["homebase", "framework", "standalone"],
"license": "MIT",
"authors": [
{
"name": "Sergey Parf",
"email": "sergey.porfiriev@gmail.com"
}
],
"type": "project",
"require": {
"php": ">=8.0",
"ext-apcu": "*",
"ext-mbstring": "*"
},
"require-dev": {
},
"autoload": {
"psr-4": {
"hb2\\": "src/hb2/",
"hbc\\": "src/hbc/"
},
"files": ["src/hb-functions.inc.php"]
},
"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/hb,src/hbc' -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\" )"
}
}