forked from spaze/phpstan-disallowed-calls
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
56 lines (56 loc) · 1.3 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
{
"name": "spaze/phpstan-disallowed-calls",
"type": "phpstan-extension",
"description": "PHPStan rules to detect disallowed method & function calls, constant, namespace & superglobal usages",
"license": "MIT",
"authors": [
{
"name": "Michal Špaček",
"homepage": "https://www.michalspacek.cz",
"email": "[email protected]"
}
],
"keywords": [
"static analysis"
],
"extra": {
"phpstan": {
"includes": [
"extension.neon"
]
}
},
"require": {
"php": "^7.2 || ^8.0",
"phpstan/phpstan": "^1.0"
},
"require-dev": {
"nette/neon": "^3.2",
"nikic/php-parser": "^4.13",
"phpunit/phpunit": "^7.0 || ^9.4.2",
"php-parallel-lint/php-parallel-lint": "^1.2",
"php-parallel-lint/php-console-highlighter": "^1.0",
"spaze/coding-standard": "^1.3"
},
"autoload": {
"psr-4": {"Spaze\\PHPStan\\Rules\\Disallowed\\": "src"}
},
"scripts": {
"lint": "vendor/bin/parallel-lint --colors src/ tests/",
"phpcs": "vendor/bin/phpcs src/ tests/",
"cs-fix": "vendor/bin/phpcbf src/ tests/",
"phpstan": "vendor/bin/phpstan --ansi analyse --configuration phpstan.neon",
"phpunit": "vendor/bin/phpunit --colors=always",
"test": [
"@lint",
"@phpcs",
"@phpstan",
"@phpunit"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}