-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
85 lines (79 loc) · 2.09 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
82
83
84
85
{
"name": "magic3w/phpauth-server",
"description": "Authentication server for micro service networks",
"type": "project",
"license": "MIT",
"minimum-stability": "dev",
"prefer-stable" : true,
"authors": [
{
"name": "cesar",
"email": "[email protected]"
}
],
"autoload": {
"files": [
"./spitfire/core/functions.php"
],
"classmap": [
"bin",
"spitfire"
],
"psr-4": {
"magic3w\\phpauth\\": "./app/",
"spitfire\\": "./spitfire/"
}
},
"autoload-dev": {
"psr-4": {
"magic3w\\phpauth\\tests\\" : "./tests",
"magic3w\\phpauth\\sdk\\" : "./sdk/php"
}
},
"require": {
"spitfire/defer": "master",
"postal/postal": "^1.0",
"lcobucci/jwt": "^5.0",
"magic3w/url-reflection": "^0.3.0",
"andrewbreksa/rsmq": "^2.0",
"spitfire/dependency-provider": "^0.2.8",
"monolog/monolog": "^3.2",
"spitfire/collection": "^0.2.0",
"guzzlehttp/guzzle": "^7.5",
"spitfire/kernel": "dev-master",
"vlucas/phpdotenv": "^5.5"
},
"require-dev": {
"phpstan/phpstan": "^1.9",
"magic3w/php-coding-standard": "^1.0",
"php-webdriver/webdriver": "^1.12",
"phpunit/phpunit": "^9.5",
"browserstack/browserstack-local": "dev-master"
},
"scripts" : {
"test" : [
"./vendor/bin/phpstan analyse --level 5 bin/",
"./vendor/bin/phpcs ."
],
"test-changed" : [
"./vendor/bin/phpstan analyse --level 5 $(git diff master --diff-filter=d --name-only -- bin/controllers bin/classes sdk/php | grep -E '\\.php$')",
"./vendor/bin/phpcs ."
],
"baseline" : "./vendor/bin/phpstan analyse --level 5 bin/ --generate-baseline",
"sniff" : [
"#cp ./vendor/magic3w/php-coding-standard/.phpcs.xml ./.phpcs.xml",
"./vendor/bin/phpcs -s --encoding=utf-8 -p $(git diff master --diff-filter=d --cached --name-only | grep -E '\\.php$')"
],
"style" : [
"#cp ./vendor/magic3w/php-coding-standard/.phpcs.xml ./.phpcs.xml",
"./vendor/bin/phpcbf --encoding=utf-8 -n -p $(git diff master --diff-filter=d --cached --name-only | grep -E '\\.php$')"
]
},
"repositories":
[
{
"type": "vcs",
"url": "https://github.com/Csardelacal/PHP_Codesniffer"
}
]
}