Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
80 lines (80 loc) · 2.74 KB
/
Copy pathcomposer.json
File metadata and controls
80 lines (80 loc) · 2.74 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
{
"name": "ffi/c-parser",
"type": "library",
"description": "PHP FFI-compatible ISO/IEC 9899:2024 (С23) parser implementation",
"license": "MIT",
"keywords": ["php", "ffi", "php-ffi", "parser", "c", "c23", "c23-parser", "c-header-parser", "iso-9899", "ffi-bindings", "ast"],
"support": {
"source": "https://github.com/php-ffi/c-parser",
"issues": "https://github.com/php-ffi/c-parser/issues",
"docs": "https://github.com/php-ffi/c-parser/blob/master/README.md"
},
"authors": [
{
"name": "Nesmeyanov Kirill",
"email": "nesk@xakep.ru",
"homepage": "https://nesk.me",
"role": "maintainer"
}
],
"require": {
"php": "^8.1",
"symfony/polyfill-php85": "^1.43",
"phplrt/exception": "^4.2",
"phplrt/parser": "^4.2.3",
"phplrt/lexer": "^4.2"
},
"autoload": {
"psr-4": {
"FFI\\Parser\\": "src"
}
},
"suggest": {
"ext-gmp": "Speeds up parsing of integer constants that do not fit in a PHP integer",
"ext-bcmath": "Speeds up parsing of integer constants that do not fit in a PHP integer",
"ext-mbstring": "Speeds up decoding of universal character names in string literals"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.95",
"phpat/phpat": "^0.12",
"phplrt/compiler": "^4.2.4",
"phpstan/phpstan": "^2.3",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpstan/phpstan-strict-rules": "^2.0",
"phpunit/phpunit": "^10.5|^11.0|^12.0|^13.0",
"symfony/var-dumper": "^6.4|^7.4|^8.0"
},
"autoload-dev": {
"psr-4": {
"FFI\\Parser\\Tests\\": "tests"
}
},
"scripts-aliases": {
"test:unit": ["test", "phpunit", "unit"],
"linter:check": ["linter", "stan"],
"phpcs:fix": ["phpcs", "cs", "psr", "per"],
"grammar:check": ["grammar"],
"grammar:build": ["build"]
},
"scripts": {
"grammar:check": "phplrt check resources/grammar.pp3 -v",
"grammar:build": "@php bin/build-parser",
"test:unit": "phpunit --testdox",
"linter:check": "phpstan analyse --configuration phpstan.neon --memory-limit 256M",
"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"
},
"config": {
"sort-packages": true,
"optimize-autoloader": true
},
"extra": {
"branch-alias": {
"dev-main": "1.0.x-dev",
"dev-master": "1.0.x-dev"
}
},
"minimum-stability": "dev",
"prefer-stable": true
}