-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
63 lines (63 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "ebln/phpstan-factory-rule",
"description": "PHPStan rule to enforce instanciation by factories",
"license": "MIT",
"type": "phpstan-extension",
"authors": [
{
"name": "ebln",
"email": "[email protected]"
}
],
"require": {
"php": "7.4 - 8.4",
"ebln/phpstan-factory-mark": "^1.1",
"phpstan/phpstan": "^1.11"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.15",
"phpmd/phpmd": "^2.10",
"phpunit/phpunit": "^9.5",
"roave/security-advisories": "dev-latest",
"vimeo/psalm": "^5.24"
},
"autoload": {
"psr-4": {
"Ebln\\Attrib\\": "attrib/",
"Ebln\\PHPStan\\EnforceFactory\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Test\\Ebln\\PHPStan\\EnforceFactory\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
},
"sort-packages": true
},
"extra": {
"phpstan": {
"includes": [
"rules.neon"
]
}
},
"scripts": {
"coverage": "XDEBUG_MODE=coverage phpunit --coverage-html coverage --coverage-text --colors=auto && chown -R 1000:1000 coverage",
"quality": [
"composer normalize --dry-run",
"@test-unit",
"psalm --find-unused-psalm-suppress",
"phpstan analyse",
"@style-check",
"phpmd src ansi codesize,controversial,naming,unusedcode",
"phpmd tests ansi codesize,controversial,design"
],
"style-check": "php-cs-fixer fix -v --config=.php-cs-fixer.dist.php --using-cache=no --dry-run",
"style-fix": "php-cs-fixer fix -v --config=.php-cs-fixer.dist.php --using-cache=no",
"test-unit": "phpunit --no-coverage --colors=auto"
}
}