-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
83 lines (83 loc) · 2.71 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
72
73
74
75
76
77
78
79
80
81
82
83
{
"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",
"league/uri": "^7.5",
"type-lang/parser": "^1.5"
},
"replace": {
"type-lang/phpdoc-standard-tags": "*",
"type-lang/phpdoc-template-tags": "*"
},
"autoload": {
"psr-4": {
"TypeLang\\PHPDoc\\": "src"
},
"files": [
"src/polyfill.php"
]
},
"require-dev": {
"composer/spdx-licenses": "^1.5",
"friendsofphp/php-cs-fixer": "^3.70",
"jetbrains/phpstorm-attributes": "^1.0",
"phpbench/phpbench": "^1.4",
"phpdocumentor/reflection-docblock": "^5.6",
"phpstan/phpdoc-parser": "^2.1",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^10.5|^11.0|^12.0",
"symfony/property-access": "^5.4|^6.0|^7.0",
"symfony/var-dumper": "^5.4|^6.0|^7.0"
},
"autoload-dev": {
"psr-4": {
"TypeLang\\PHPDoc\\Tests\\": "tests"
}
},
"suggest": {
"composer/spdx-licenses": "Provides additional licenses (@license tag) support"
},
"extra": {
"branch-alias": {
"dev-master": "2.x-dev",
"dev-main": "2.x-dev"
}
},
"config": {
"sort-packages": true,
"platform-check": true,
"bin-compat": "full",
"optimize-autoloader": true,
"preferred-install": {
"*": "dist"
}
},
"scripts": {
"test": [
"@test:unit",
"@test:functional"
],
"test:unit": "phpunit --testdox --testsuite=unit",
"test:functional": "phpunit --testdox --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",
"bench": [
"phpbench run --report=default --tag=current --progress=none --filter=benchDocBlockParsing"
]
},
"minimum-stability": "dev",
"prefer-stable": true
}