forked from syntro-opensource/silverstripe-phpstan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
62 lines (62 loc) · 1.86 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
{
"name": "syntro/silverstripe-phpstan",
"description": "PHPStan for Silverstripe",
"type": "library",
"keywords": [
"php",
"silverstripe",
"static",
"analysis",
"phpstan",
"scrutinizer"
],
"license": "BSD-3-Clause",
"authors": [
{
"name": "Matthias Leutenegger",
"email": "[email protected]"
},
{
"name": "Jake Bentvelzen",
"email": "[email protected]"
}
],
"require": {
"php": "~8.0",
"silverstripe/framework": "^4 || ~5.0",
"phpstan/phpstan": "^1.5",
"silverstripe/versioned": "^1.13.7 || ^2.0",
"silverstripe/cms": "^4 || ^5.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.0",
"phpstan/phpstan-phpunit": "^1",
"phpunit/phpunit": "^9.4"
},
"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"
},
"autoload": {
"psr-4": {
"Syntro\\SilverstripePHPStan\\": "src/",
"Syntro\\SilverstripePHPStan\\Tests\\": "tests/"
}
},
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"config": {
"allow-plugins": {
"composer/installers": true,
"silverstripe/vendor-plugin": true,
"silverstripe/recipe-plugin": true
}
},
"prefer-stable": true,
"minimum-stability": "dev"
}