forked from rpkamp/mailhog-behat-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
81 lines (81 loc) · 2.94 KB
/
composer.json
File metadata and controls
81 lines (81 loc) · 2.94 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
{
"name": "libresign/mailpit-behat-extension",
"description": "Mailpit Extension for Behat - Modern replacement for Mailhog",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "LibreSign Team",
"email": "hello@libresign.coop"
},
{
"name": "Remon van de Kamp",
"email": "rpkamp@gmail.com",
"role": "Original Mailhog Behat extension author"
}
],
"autoload": {
"psr-4": {
"LibreSign\\Behat\\MailpitExtension\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"LibreSign\\Behat\\MailpitExtension\\Tests\\": "tests/"
},
"files": [
"config/bootstrap.php"
]
},
"minimum-stability": "stable",
"require": {
"php": "^8.2",
"libresign/mailpit-client": "^0.1",
"nyholm/psr7": "^1.3",
"psr-discovery/http-client-implementations": "^1.0",
"psr-discovery/http-factory-implementations": "^1.0",
"symfony/dependency-injection": "^7.0",
"symfony/http-client": "^7.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"behat/behat": "^3.8.0",
"roave/security-advisories": "dev-master",
"symfony/dotenv": "^7.0",
"symfony/mailer": "^7.0",
"symfony/mime": "^7.0"
},
"config": {
"optimize-autoloader": true,
"classmap-authoritative": true,
"sort-packages": true,
"allow-plugins": {
"php-http/discovery": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"bamarni/composer-bin-plugin": true
}
},
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
}
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "vendor-bin/phpcs/vendor/squizlabs/php_codesniffer/bin/phpcs --standard=PSR2 src/",
"cs:fix": "vendor-bin/phpcs/vendor/squizlabs/php_codesniffer/bin/phpcbf --standard=PSR2 src/",
"phpmd": "vendor-bin/phpmd/vendor/phpmd/phpmd/src/bin/phpmd src text phpmd.xml",
"phpstan": "vendor-bin/phpstan/vendor/phpstan/phpstan/phpstan analyze src/",
"psalm": "vendor-bin/psalm/vendor/vimeo/psalm/psalm --no-cache --threads=$(nproc)",
"psalm:update-baseline": "vendor-bin/psalm/vendor/vimeo/psalm/psalm --threads=$(nproc) --update-baseline --set-baseline=tests/psalm-baseline.xml",
"test:unit": "vendor-bin/phpunit/vendor/phpunit/phpunit/phpunit -c phpunit.xml.dist --testsuite unit --colors=always",
"test:behat": "vendor/bin/behat --no-interaction --profile=default --format=progress",
"post-install-cmd": [
"@composer bin all install --ansi"
],
"post-update-cmd": [
"@composer bin all update --ansi"
]
}
}