Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
89 lines (89 loc) · 2.82 KB
/
Copy pathcomposer.json
File metadata and controls
89 lines (89 loc) · 2.82 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
{
"name": "ffi/preprocessor",
"type": "library",
"description": "PHP FFI-compatible ISO/IEC 9899:2024 (С23) preprocessor implementation",
"license": "MIT",
"keywords": ["ffi", "parser", "compiler", "c", "headers", "preprocessor"],
"support": {
"source": "https://github.com/php-ffi/preprocessor",
"issues": "https://github.com/php-ffi/preprocessor/issues",
"docs": "https://github.com/php-ffi/preprocessor/blob/master/README.md"
},
"authors": [
{
"name": "Nesmeyanov Kirill",
"email": "nesk@xakep.ru",
"homepage": "https://nesk.me",
"role": "maintainer"
}
],
"require": {
"php": "^8.1",
"phplrt/exception": "^4.2",
"phplrt/position": "^4.2",
"phplrt/runtime": "^4.2",
"psr/clock": "^1.0",
"psr/log": "^3.0"
},
"autoload": {
"psr-4": {
"FFI\\Preprocessor\\": "src"
}
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.95",
"phpat/phpat": "^0.12",
"phplrt/compiler": "^4.2",
"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",
"psr/log": "^1.1|^2.0|^3.0",
"symfony/var-dumper": "^6.4|^7.4|^8.0"
},
"autoload-dev": {
"psr-4": {
"FFI\\Preprocessor\\Tests\\": "tests"
}
},
"scripts-aliases": {
"test:unit": ["phpunit", "unit"],
"test:functional": ["functional"],
"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",
"phplrt check resources/tokens.pp3 -v"
],
"grammar:build": [
"@php bin/build-expression-parser",
"@php bin/build-token-lexer"
],
"test": [
"@test:unit",
"@test:functional"
],
"test:unit": "phpunit --testsuite unit --testdox",
"test:functional": "phpunit --testsuite functional --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
}