-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcomposer.json
More file actions
91 lines (91 loc) · 3.18 KB
/
composer.json
File metadata and controls
91 lines (91 loc) · 3.18 KB
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
84
85
86
87
88
89
90
91
{
"name": "type-lang/mapper",
"type": "library",
"description": "Library for mapping variable types to other types",
"keywords": ["types", "serializer", "mapper", "hydrator", "transformer", "normalizer", "denormalizer", "marshal", "unmarshal"],
"license": "MIT",
"support": {
"source": "https://github.com/php-type-language/mapper",
"issues": "https://github.com/php-type-language/mapper/issues"
},
"require": {
"php": "^8.1",
"psr/clock": "^1.0",
"psr/log": "^1.0|^2.0|^3.0",
"psr/simple-cache": "^1.0|^2.0|^3.0",
"type-lang/parser": "^1.6",
"type-lang/printer": "^1.4"
},
"autoload": {
"psr-4": {
"TypeLang\\Mapper\\": "src"
},
"files": [
"src/helpers.php"
]
},
"require-dev": {
"doctrine/instantiator": "^2.0",
"friendsofphp/php-cs-fixer": "^3.90",
"jetbrains/phpstorm-attributes": "^1.2",
"justinrainbow/json-schema": "^6.6",
"marc-mabe/php-enum": "^4.7",
"monolog/monolog": "^3.9",
"nette/neon": "^3.4",
"nikic/php-parser": "^5.6",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^10.5|^11.0|^12.0",
"symfony/cache": "^6.4|^7.0",
"symfony/expression-language": "^6.4|^7.0",
"symfony/property-access": "^6.4|^7.0",
"symfony/stopwatch": "^6.4|^7.0",
"symfony/var-dumper": "^6.4|^7.0",
"symfony/yaml": "^6.4|^7.0",
"type-lang/phpdoc": "^1.0",
"type-lang/phpdoc-standard-tags": "^1.0"
},
"autoload-dev": {
"psr-4": {
"TypeLang\\Mapper\\Tests\\": "tests"
}
},
"suggest": {
"ext-json": "Required for JSON mapping configuration files",
"doctrine/instantiator": "(^2.0) A faster way to create class instances",
"nette/neon": "(^3.0) Required for NEON mapping configuration files",
"symfony/yaml": "(^6.4|^7.0) Required for YAML mapping configuration files",
"type-lang/phpdoc-standard-tags": "(^1.0) Required for PhpDoc mapping configuration",
"justinrainbow/json-schema": "(^6.0) Required for file-based configuration validation"
},
"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-aliases": {
"phpcs:fix": ["phpcs", "cs"],
"linter:check": ["linter", "stan"]
},
"scripts": {
"build": "@php bin/build",
"test": ["@test:unit"],
"test:unit": "phpunit --testdox --testsuite=unit",
"linter:check": "phpstan analyse --configuration phpstan.neon --memory-limit 512M",
"linter:baseline": "@linter:check --generate-baseline",
"phpcs:check": "@phpcs:fix --dry-run",
"phpcs:fix": "php-cs-fixer fix --config=.php-cs-fixer.php --allow-risky=yes --verbose --diff"
},
"minimum-stability": "dev",
"prefer-stable": true
}