-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
executable file
·62 lines (62 loc) · 1.66 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
{
"name" : "alex-patterson-webdev/laminas-factory",
"description": "Factory components used to create services in Laminas Framework applications",
"minimum-stability": "dev",
"prefer-stable": true,
"license": "MIT",
"authors": [
{
"name": "Alex Patterson",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.1",
"laminas/laminas-servicemanager": "^3.4"
},
"require-dev": {
"phpspec/prophecy": "^1.15.0",
"phpunit/phpunit": "^9.5",
"squizlabs/php_codesniffer": "^3.6",
"phpstan/phpstan": "^1.4.8",
"friendsofphp/php-cs-fixer": "^3.6.0"
},
"autoload": {
"psr-4": {
"Arp\\LaminasFactory\\" : "src/"
}
},
"autoload-dev": {
"psr-4": {
"ArpTest\\LaminasFactory\\" : "test/unit/"
}
},
"scripts": {
"arp:test": [
"@arp:check",
"@arp:lint",
"@arp:analyse",
"@arp:unit-test-with-coverage"
],
"arp:test-dev": [
"@arp:check",
"@arp:lint",
"@arp:fix",
"@arp:analyse",
"@arp:unit-test"
],
"arp:check": "php vendor/bin/phpcs -s --standard=phpcs.xml --colors src/ test/",
"arp:lint": "php vendor/bin/php-cs-fixer fix --dry-run --verbose --config=.php-cs-fixer.dist",
"arp:fix": "php vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist",
"arp:analyse": "php vendor/bin/phpstan analyse -c phpstan.neon --level=7",
"arp:unit-test": "php vendor/bin/phpunit",
"arp:unit-test-with-coverage": [
"@putenv XDEBUG_MODE=coverage",
"php vendor/bin/phpunit --coverage-clover=test/coverage/clover.xml"
]
},
"config": {
"optimize-autoloader": true,
"sort-packages": true
}
}