-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
68 lines (68 loc) · 1.92 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
64
65
66
67
68
{
"name": "oneserv/phpstan-ruleset",
"description": "An opinionated ruleset for PHPStan to enforce Oneserv Coding Standards.",
"type": "phpstan-extension",
"license": "MIT",
"autoload": {
"psr-4": {
"Oneserv\\PHPStan\\": "src/Oneserv/PHPStan"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests"
}
},
"authors": [
{
"name": "Timon Heuser",
"email": "[email protected]",
"homepage": "https://github.com/oneserv"
}
],
"minimum-stability": "stable",
"require": {
"php": "^8.1",
"phpstan/phpstan": "^1.0.0",
"thecodingmachine/safe": "^2"
},
"require-dev": {
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan-strict-rules": "^1.0.0",
"phpmd/phpmd": "^2.10",
"ergebnis/phpstan-rules": "^1.0.0",
"phpstan/phpstan-deprecation-rules": "^1.0.0",
"roave/security-advisories": "dev-latest",
"phpstan/phpstan-phpunit": "^1.0.0",
"oneserv/phpcs-rules": "^2.0",
"thecodingmachine/phpstan-safe-rule": "^1.1.0",
"madewithlove/license-checker": "^1.4.0",
"phpunit/phpunit": "^9.5"
},
"extra": {
"phpstan": {
"includes": [
"rules.neon"
]
}
},
"scripts": {
"phpcs": "vendor/bin/phpcs --standard=Oneserv src/ tests/ --ignore=*/tests/*/data,/tests/bootstrap.php",
"phpmd": "vendor/bin/phpmd src/,tests/ ansi phpmd.xml",
"phpstan": "vendor/bin/phpstan analyse",
"phpunit": "vendor/bin/phpunit",
"check-license": "vendor/bin/license-checker check",
"post-install-cmd": [
"[ $COMPOSER_DEV_MODE -eq 1 ] && vendor/bin/phpcs --config-set ignore_warnings_on_exit 1 || echo 0"
],
"post-update-cmd": [
"[ $COMPOSER_DEV_MODE -eq 1 ] && vendor/bin/phpcs --config-set ignore_warnings_on_exit 1 || echo 0"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}