-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
110 lines (110 loc) · 4.08 KB
/
Copy pathcomposer.json
File metadata and controls
110 lines (110 loc) · 4.08 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "starisian/sparxstar-user-environment-check",
"description": "A network-wide utility that checks browser compatibility and logs anonymized technical data for diagnostics, with consent via the WP Consent API.",
"type": "wordpress-plugin",
"license": "proprietary",
"autoload": {
"psr-4": {
"Starisian\\SparxstarUEC\\": "src/",
"Starisian\\Sparxstar\\Sirus\\": "src/",
"Starisian\\Sparxstar\\Infrastructure\\": "src/Infrastructure/"
}
},
"authors": [
{
"name": "Starisian Technologies (Max Barrett)",
"email": "support@starisian.com"
}
],
"minimum-stability": "stable",
"require": {
"geoip2/geoip2": "^3.2",
"starisian/sparxstar-ouroboros-integrity": "^3.0"
},
"suggest": {
"matomo/device-detector": "^6.4 — Required for server-side UA parsing. Install via: composer require matomo/device-detector. Without this package, SirusDeviceParser returns empty device metadata."
},
"require-dev": {
"php-stubs/wordpress-stubs": "^6.8",
"psr/simple-cache": "^3.0",
"wp-coding-standards/wpcs": "^3.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpcompatibility/php-compatibility": "^9.3",
"phpstan/phpstan": "^2.1",
"phpstan/extension-installer": "^1.4",
"szepeviktor/phpstan-wordpress": "^2.0",
"squizlabs/php_codesniffer": "^3.13",
"friendsofphp/php-cs-fixer": "^3.88",
"phpunit/phpunit": "^11.5.50",
"yoast/phpunit-polyfills": "^4.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"automattic/eslint-config-target-es": "^6.0",
"automattic/eslint-changed": "^2.1",
"wp-cli/i18n-command": "^2",
"automattic/vipwpcs": "^3.0",
"phpcsstandards/phpcsutils": "^1.0",
"phpcsstandards/phpcsextra": "^1.2",
"sirbrillig/phpcs-variable-analysis": "^2.11",
"phpcompatibility/phpcompatibility-paragonie": "^1.3",
"rector/rector": "^2.3"
},
"config": {
"platform": {
"php": "8.2.29"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true,
"composer/installers": true
}
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "vcs",
"url": "https://github.com/Starisian-Technologies/sparxstar-ouroboros-integrity"
}
],
"scripts": {
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml",
"phpcbf": "vendor/bin/phpcbf --standard=phpcbf.xml.dist --extensions=php src/",
"phpstan": "vendor/bin/phpstan analyse",
"makepot": "wp i18n make-pot",
"lint": "vendor/bin/phpcs --standard=phpcs.xml.dist --extensions=php --report=full src/",
"lint:fix": "vendor/bin/phpcbf --standard=phpcbf.xml.dist --extensions=php src/",
"analyze": "vendor/bin/phpstan analyse --configuration=phpstan.neon.dist --memory-limit=1G",
"test:unit": "vendor/bin/phpunit --configuration=phpunit.xml.dist --colors=always",
"test": "composer run lint && composer run analyze && composer run test:unit",
"docs": "php bin/generate-docs.php",
"docs:full": "@docs",
"comments:check": "vendor/bin/phpcs --standard=phpcs.xml --sniffs=Squiz.Commenting.FunctionComment,Squiz.Commenting.ClassComment,Squiz.Commenting.FileComment src/",
"comments:fix": "vendor/bin/phpcbf --standard=phpcbf.xml.dist --sniffs=Squiz.Commenting.FunctionComment,Squiz.Commenting.ClassComment,Squiz.Commenting.FileComment --extensions=php src/",
"rector": "vendor/bin/rector process --dry-run",
"rector:fix": "vendor/bin/rector process",
"phpfix": "vendor/bin/php-cs-fixer fix --allow-risky=yes",
"phpfix:dry": "vendor/bin/php-cs-fixer fix --allow-risky=yes --dry-run",
"refactor": "@rector:fix",
"check": [
"@phpcs",
"@phpstan",
"@comments:check"
],
"fix": [
"@phpcbf",
"@phpfix",
"@comments:fix"
],
"smoke:api-contract": "php tests/smoke/sirus-api-contract-smoke.php",
"check:ouroboros-drift": "php bin/check-ouroboros-stub-drift.php"
},
"extra": {
"installer-paths": {
"vendor/{$name}/": [
"type:wordpress-plugin"
]
}
}
}