-
Notifications
You must be signed in to change notification settings - Fork 13
/
composer.json
56 lines (56 loc) · 1.68 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": "symbiote/silverstripe-phpstan",
"description": "PHPStan for Silverstripe",
"type": "library",
"keywords": [
"php",
"silverstripe",
"static",
"analysis",
"phpstan",
"scrutinizer"
],
"license": "BSD-3-Clause",
"authors": [
{
"name": "Jake Bentvelzen",
"email": "jake@symbiote.com.au"
}
],
"require": {
"php": "~7.1",
"silverstripe/framework": "~4.3",
"silverstripe/vendor-plugin": "^1.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.0",
"phpstan/phpstan": "~0.11.0",
"phpstan/phpstan-phpunit": "~0.11.0",
"phpunit/phpunit": "^7.5.14 || ^8.0"
},
"scripts": {
"phpcs": "phpcs -n -l src/ src/Reflection/ src/Rule/ src/Type tests/ tests/Reflection/ tests/Rule/ tests/Type/",
"phpcbf": "phpcbf -n src/ src/Reflection/ src/Rule/ src/Type tests/ tests/Reflection/ tests/Rule/ tests/Type/",
"phpunit": "bash ../../../vendor/bin/phpunit -c \"tests/phpunit.xml\" tests/",
"phpstan": "bash ../../../vendor/bin/phpstan analyse src/ tests/ -c \"tests/phpstan.neon\" -a \"tests/bootstrap-phpstan.php\" --level 4"
},
"suggest": {
"phpstan/phpstan-shim": "~0.11.0"
},
"autoload": {
"psr-4": {
"Symbiote\\SilverstripePHPStan\\": "src/",
"Symbiote\\SilverstripePHPStan\\Tests\\": "tests/"
}
},
"extra": {
"branch-alias": {
"dev-master": "4.0.x-dev"
}
},
"replace": {
"silbinarywolf/silverstripe-phpstan": "self.version"
},
"prefer-stable": true,
"minimum-stability": "dev"
}