-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
74 lines (70 loc) · 2.34 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
{
"name": "type-lang/reader",
"type": "library",
"description": "Library for reading TypeLang AST nodes from types exposed by PHP Reflection objects",
"keywords": ["converter", "language", "php", "parser", "reflection"],
"license": "MIT",
"support": {
"source": "https://github.com/php-type-language/reader",
"issues": "https://github.com/php-type-language/reader/issues"
},
"require": {
"php": "^8.1",
"type-lang/parser": "^1.0"
},
"autoload": {
"psr-4": {
"TypeLang\\Reader\\": "src"
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.53",
"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",
"symfony/var-dumper": "^5.4|^6.0|^7.0",
"type-lang/printer": "^1.0"
},
"autoload-dev": {
"psr-4": {
"TypeLang\\Reader\\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": {
"build": "@php bin/build",
"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
}