Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
64 lines (64 loc) · 1.98 KB
/
Copy pathcomposer.json
File metadata and controls
64 lines (64 loc) · 1.98 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
{
"name": "bitapps/bit-smtp",
"description": "SMTP Configuration plugin by Bit Apps",
"license": "gpl-2",
"require": {
"php": ">=8.1",
"bitapps/wp-validator": "^1.2.1",
"bitapps/wp-kit": "^2.5",
"bitapps/wp-database": "^2.0.4",
"typisttech/imposter-plugin": "^0.6.2",
"bitapps/wp-telemetry": "^0.0.9"
},
"autoload": {
"psr-4": {
"BitApps\\SMTP\\": "./backend/app"
}
},
"autoload-dev": {
"psr-4": {
"BitApps\\SMTP\\Tests\\": "tests/"
},
"exclude-from-classmap": [
"tests/stubs/",
"tests/Unit/CLI/WpCliSpy.php"
]
},
"scripts": {
"lint": "./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php",
"lint:bootstrap": "bash bin/lint-bootstrap-syntax.sh",
"unused:variable": "phpcs -p --standard=VariableAnalysis backend",
"compat": "./vendor/bin/phpcs -p ./backend --standard=PHPCompatibilityWP --runtime-set testVersion 8.1-",
"compat:gate": "./vendor/bin/phpcs -p ./bit_smtp.php ./backend/bootstrap.php --standard=PHPCompatibilityWP --runtime-set testVersion 8.0-",
"test:unit": "./vendor/bin/phpunit -c phpunit.xml.dist",
"test:integration": "./vendor/bin/phpunit -c phpunit.integration.xml",
"analyse": "./vendor/bin/phpstan analyse --memory-limit=512M",
"clean": "rm -rf ./vendor && rm composer.lock"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.10",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7",
"phpcompatibility/phpcompatibility-wp": "*",
"phpunit/phpunit": "^12",
"brain/monkey": "^2.6",
"mockery/mockery": "^1.6",
"wp-phpunit/wp-phpunit": "^7.0",
"yoast/phpunit-polyfills": "^4",
"phpstan/phpstan": "^2.0",
"szepeviktor/phpstan-wordpress": "^2.0"
},
"config": {
"platform": {
"php": "8.3"
},
"allow-plugins": {
"typisttech/imposter-plugin": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"imposter": {
"namespace": "BitApps\\SMTP\\Deps\\"
}
}
}