-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
74 lines (74 loc) · 2.72 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
{
"name": "fr3nch13/cakephp-jira",
"description": "A CakePHP 4.x Plugin to intereact with Jira.",
"keywords": ["cakephp", "plugin", "jira"],
"homepage": "https://github.com/fr3nch13/cakephp-jira",
"type": "cakephp-plugin",
"license": "MIT",
"authors": [
{
"name": "Brian French",
"email": "fr3nch13@gmail.com",
"homepage": "https://github.com/fr3nch13"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "~7.4|~8.0",
"cakephp/cakephp": "~4.4",
"lesstif/php-jira-rest-client": "~3.1.1"
},
"require-dev": {
"fr3nch13/cakephp-pta": "~2.4",
"phpunit/phpunit": "^9.6"
},
"autoload": {
"psr-4": {
"Fr3nch13\\Jira\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\": "tests/test_app/src",
"Cake\\Test\\": "./vendor/cakephp/cakephp/tests",
"PtaApp\\": "vendor/fr3nch13/cakephp-pta/tests/test_app/src",
"Fr3nch13\\Jira\\Test\\": "tests/",
"Fr3nch13\\Jira\\Test\\Fixture\\": "tests/Fixture/"
}
},
"scripts": {
"pre-commit": [
"@ci",
"echo 'PHP Documentation will be added here.'"
],
"ci": [
"@check",
"@coverage-text"
],
"check": [
"@cs-check",
"@phpstan",
"@test"
],
"fix": [
"@cs-fix",
"@cs-check"
],
"cs-check": "php -d memory_limit=-1 ./vendor/bin/phpcs --colors -p -s --extensions=php ./src ./tests ./config",
"cs-checkstyle": "php -d memory_limit=-1 ./vendor/bin/phpcs --report=checkstyle --extensions=php ./src ./tests ./config",
"cs-fix": "php -d memory_limit=-1 ./vendor/bin/phpcbf --colors --extensions=php ./src ./tests ./config",
"phpstan": "php -d memory_limit=-1 ./vendor/bin/phpstan --no-progress -vvv --error-format=github",
"test": "php -d memory_limit=-1 ./vendor/bin/phpunit --colors=always --testdox",
"coverage": "php -d memory_limit=-1 -d xdebug.mode=coverage ./vendor/bin/phpunit --log-junit tmp/coverage/unitreport.xml --coverage-html tmp/coverage --testdox",
"coverage-clover": "php -d memory_limit=-1 -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-clover=tmp/coverage.xml --testdox",
"coverage-text": "php -d memory_limit=-1 -d xdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --colors=never --testdox"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"cakephp/plugin-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}