-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
71 lines (68 loc) · 2.27 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
69
70
71
{
"name": "type-lang/phpdoc",
"type": "library",
"description": "Library for recognizing PHPDoc annotations in PHP DocBlock comments",
"keywords": ["language", "php", "phpdoc", "docblock", "tags", "dictionary"],
"license": "MIT",
"support": {
"source": "https://github.com/php-type-language/phpdoc",
"issues": "https://github.com/php-type-language/phpdoc/issues"
},
"require": {
"php": "^8.1"
},
"autoload": {
"psr-4": {
"TypeLang\\PHPDoc\\": "src"
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.53",
"jetbrains/phpstorm-attributes": "^1.0",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^1.11",
"phpstan/phpstan-strict-rules": "^1.6",
"phpunit/phpunit": "^10.5|^11.0",
"rector/rector": "^1.1",
"type-lang/parser": "^1.0"
},
"autoload-dev": {
"psr-4": {
"TypeLang\\PHPDoc\\Tests\\": "tests"
}
},
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev",
"dev-main": "1.0.x-dev"
}
},
"config": {
"sort-packages": true,
"platform-check": true,
"bin-compat": "full",
"optimize-autoloader": true,
"preferred-install": {
"*": "dist"
},
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"scripts": {
"test": ["@test:unit", "@test:functional"],
"test:unit": "phpunit --testdox --testsuite=unit",
"test:functional": "phpunit --testsuite=functional",
"linter": "@linter:check",
"linter:check": "phpstan analyse --configuration phpstan.neon",
"linter:baseline": "phpstan analyse --configuration phpstan.neon --generate-baseline",
"phpcs": "@phpcs:check",
"phpcs:check": "php-cs-fixer fix --config=.php-cs-fixer.php --allow-risky=yes --dry-run --verbose --diff",
"phpcs:fix": "php-cs-fixer fix --config=.php-cs-fixer.php --allow-risky=yes --verbose --diff",
"rector": "@rector:check",
"rector:check": "rector --dry-run --config=rector.php",
"rector:fix": "rector --config=rector.php"
},
"minimum-stability": "dev",
"prefer-stable": true
}