-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
81 lines (81 loc) · 2.67 KB
/
composer.json
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
{
"name": "ampersand/magento2-verbose-log-request",
"description": "Enable DB, debug log, and verbose logging for a specificly defined request.",
"type": "magento2-component",
"repositories": [
{
"type": "composer",
"url": "https://repo-magento-mirror.fooman.co.nz/"
}
],
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"laminas/laminas-dependency-plugin": true,
"magento/*": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.4||^8.1",
"magento/framework": ">=103.0.1",
"magento/magento-composer-installer": "*",
"magento/module-developer": "*"
},
"suggest": {
"ampersand/magento2-log-correlation-id": "A way to correlate log entries to a request"
},
"autoload": {
"files": [
"src/registration.php"
],
"psr-4": {
"Ampersand\\VerboseLogRequest\\" : "src"
}
},
"scripts": {
"pre-update-cmd": "mkdir -p app/etc",
"post-install-cmd": "([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)",
"post-update-cmd": "rm app/etc/*; rmdir app/etc app; ([ $COMPOSER_DEV_MODE -eq 0 ] || vendor/bin/phpcs --config-set installed_paths ../../magento/magento-coding-standard/)",
"fix": "vendor/bin/php-cs-fixer fix --diff",
"test:static": "vendor/bin/phpstan analyse --no-interaction --no-progress && vendor/bin/phpcs --standard=Magento2 src -s",
"test:lint": "vendor/bin/php-cs-fixer fix --dry-run --diff",
"test:unit": "vendor/bin/phpunit",
"test-static-analysis": [
"@test:static",
"@test:lint"
],
"test-functional": [
"@test:unit"
],
"test": [
"@test-static-analysis",
"@test-functional"
]
},
"require-dev": {
"ampersand/magento-docker-test-instance": "^0.1",
"bitexpert/phpstan-magento": "^0.11",
"friendsofphp/php-cs-fixer": "^3.4",
"magento/magento-coding-standard": "^15",
"magento/magento2-base": "*",
"phpstan/phpstan": "^1.5",
"phpunit/phpunit": "^9.5"
},
"extra": {
"magento-deploystrategy": "none",
"magento-deploy-ignore": {
"*": [
"/"
]
},
"map": [
[
"dev/di.xml",
"app/etc/di.xml_ampersand_magento2_verbose_log_request/di.xml"
]
]
}
}