-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
61 lines (59 loc) · 1.9 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
{
"name": "type-lang/printer",
"type": "library",
"description": "Library for rendering TypeLange AST nodes into it's string representation",
"keywords": ["printer", "language", "php", "printer", "render"],
"license": "MIT",
"support": {
"source": "https://github.com/php-type-language/printer",
"issues": "https://github.com/php-type-language/printer/issues"
},
"require": {
"php": "^8.1",
"type-lang/parser": "^1.0"
},
"autoload": {
"psr-4": {
"TypeLang\\Printer\\": "src"
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.53",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^10.5|^11.0"
},
"autoload-dev": {
"psr-4": {
"TypeLang\\Printer\\Tests\\": "tests"
}
},
"extra": {
"branch-alias": {
"dev-master": "1.x-dev",
"dev-main": "1.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 --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"
},
"minimum-stability": "dev",
"prefer-stable": true
}