-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathcomposer.json
More file actions
96 lines (95 loc) · 2.46 KB
/
composer.json
File metadata and controls
96 lines (95 loc) · 2.46 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
92
93
94
95
{
"name": "xoops/xmf",
"description": "XMF - XOOPS Module Framework",
"keywords": [
"xoops",
"xmf",
"framework",
"module"
],
"type": "library",
"license": "GPL-2.0-or-later",
"homepage": "https://github.com/XOOPS/xmf",
"authors": [
{
"name": "XOOPS Project",
"email": "contact@xoops.org",
"homepage": "https://xoops.org",
"role": "Maintainer"
}
],
"require": {
"php": "^8.2",
"firebase/php-jwt": "^7.0",
"kint-php/kint": "^6.0",
"symfony/yaml": "^6.0 || ^7.0",
"webmozart/assert": "^1.11"
},
"require-dev": {
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^11.0",
"roave/security-advisories": "dev-latest",
"squizlabs/php_codesniffer": "^3.11"
},
"autoload": {
"psr-4": {
"Xmf\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Xmf\\Test\\": "tests/unit/"
}
},
"scripts": {
"test": "phpunit --colors=always",
"phpunit": "phpunit --colors=always",
"lint": "phpcs",
"analyse": "phpstan analyse",
"fix": "phpcbf",
"baseline": [
"Composer\\Config::disableProcessTimeout",
"@php -r \"$f='phpstan-baseline.neon'; $b=$f.'.bak'; if(file_exists($f)){copy($f,$b);} file_put_contents($f,'parameters:'.chr(10).chr(10)); passthru('vendor'.DIRECTORY_SEPARATOR.'bin'.DIRECTORY_SEPARATOR.'phpstan analyse --generate-baseline',$r); if($r!==0){if(file_exists($b)){copy($b,$f);@unlink($b);} exit($r);} @unlink($b);\""
],
"ci": [
"@lint",
"@analyse",
"@test"
]
},
"scripts-descriptions": {
"test": "Run unit tests",
"phpunit": "Run PHPUnit tests only",
"lint": "Check code style (PSR-12)",
"analyse": "Run static analysis (PHPStan)",
"fix": "Auto-fix code style issues",
"baseline": "Regenerate PHPStan baseline",
"ci": "Run all CI checks (lint, analyse, test)"
},
"config": {
"sort-packages": true,
"optimize-autoloader": true,
"preferred-install": "dist"
},
"minimum-stability": "stable",
"prefer-stable": true,
"support": {
"issues": "https://github.com/XOOPS/xmf/issues",
"source": "https://github.com/XOOPS/xmf",
"docs": "https://github.com/XOOPS/xmf#readme"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/XOOPS"
},
{
"type": "opencollective",
"url": "https://opencollective.com/xoops"
},
{
"type": "custom",
"url": "https://xoops.org/modules/donations/"
}
]
}