-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
143 lines (127 loc) · 4.79 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "ixnode/php-coordinate",
"description": "PHP Coordinate - This library offers a collection of various PHP coordinate classes like Coordinate, etc.",
"version": "1.0.1",
"type": "library",
"license": "MIT",
"keywords": ["php", "coordinate", "conversion", "parser", "latitude", "longitude"],
"authors": [
{
"name": "Björn Hempel",
"email": "bjoern@hempel.li",
"homepage": "https://www.hempel.li/"
}
],
"autoload": {
"psr-4": {
"Ixnode\\PhpCoordinate\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ixnode\\PhpCoordinate\\Tests\\": "tests/"
}
},
"require": {
"php": "^8.2",
"ext-curl": "*",
"ext-gd": "*",
"ixnode/php-exception": "^0.1.21",
"adhocore/cli": "^v1.0.0",
"ixnode/php-cli-image": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^1.9",
"rector/rector": "^0.15.1",
"phpmd/phpmd": "^2.13",
"friendsofphp/php-cs-fixer": "^3.13",
"ixnode/bash-version-manager": "^0.1.3",
"povils/phpmnd": "^3.0",
"jetbrains/phpstorm-attributes": "^1.0"
},
"bin": [
"bin/php-coordinate"
],
"scripts": {
"ixno:header": "bin/header/ixno",
"phpmnd:all": "bin/header/phpmnd 'vendor/bin/phpmnd run src tests --progress --hint --include-numeric-string --ignore-funcs=round,sleep' 'all'",
"phpmnd": [
"@phpmnd:all"
],
"phpmd": "bin/header/phpmnd 'phpmd src,tests text cleancode,codesize,controversial,design,naming,unusedcode' 'all'",
"phpunit": "bin/header/phpunit 'phpunit --stop-on-failure tests' 'Unit'",
"phpstan:default": "bin/header/phpstan 'phpstan analyse --level max --memory-limit 512M --xdebug src tests' 'run'",
"phpstan:xdebug": "bin/header/phpstan 'phpstan analyse --level max --memory-limit 512M --xdebug src tests' 'run'",
"phpstan": "@phpstan:default",
"phpcs:check": "bin/header/phpcs 'php-cs-fixer --dry-run --using-cache=no --rules=@PSR12 --rules=no_unused_imports --verbose fix src 2>/dev/null && php-cs-fixer --dry-run --using-cache=no --rules=@PSR12 --rules=no_unused_imports --verbose fix tests 2>/dev/null' 'all'",
"phpcs:fix": "bin/header/phpcs 'php-cs-fixer --using-cache=no --rules=@PSR12 --rules=no_unused_imports --verbose fix src 2>/dev/null && php-cs-fixer --using-cache=no --rules=@PSR12 --rules=no_unused_imports --verbose fix tests 2>/dev/null' 'all'",
"phpcs": "@phpcs:check",
"rector": "bin/header/rector 'rector process --dry-run --clear-cache --memory-limit=512M' 'check, force'",
".test:basic": [
"@ixno:header",
"@phpunit",
"@phpstan"
],
"test:basic": [
"composer .test:basic && bin/header/success || bin/header/error"
],
".test:most": [
"@ixno:header",
"@phpmnd",
"@phpunit",
"@phpstan",
"@phpmd"
],
"test:most": [
"composer .test:most && bin/header/success || bin/header/error"
],
".test:all": [
"@ixno:header",
"@phpmnd",
"@phpunit",
"@phpstan",
"@phpmd"
],
"test:all": [
"composer .test:all && bin/header/success || bin/header/error"
],
".test:hardcore": [
"@ixno:header",
"@phpmnd",
"@phpunit",
"@phpstan",
"@phpmd",
"@rector"
],
"test:hardcore": [
"composer .test:hardcore && bin/header/success || bin/header/error"
],
"test": [
"@test:all"
]
},
"scripts-descriptions": {
".test:all": "Not used (Hidden command).",
".test:basic": "Not used (Hidden command).",
".test:hardcore": "Not used (Hidden command).",
".test:most": "Not used (Hidden command).",
"ixno:header": "Shows ixno test header.",
"phpcs:check": "Runs PHP Coding Standards Fixer (Dry-Run, all folders).",
"phpcs:fix": "Runs PHP Coding Standards Fixer (Fix, all folders).",
"phpcs": "Runs PHP Coding Standards Fixer (Dry-Run, all folders).",
"phpmd": "Runs PHP Mess Detector and checks all types (all folders).",
"phpmnd:all": "Runs PHP Magic Number Detector and detects magic numbers.",
"phpmnd": "Runs PHP Magic Number Detector and detects magic numbers.",
"phpstan:default": "Runs PHPStan (PHP Static Analysis Tool).",
"phpstan:xdebug": "Runs PHPStan (PHP Static Analysis Tool with xdebug setting).",
"phpstan": "Runs PHPStan (PHP Static Analysis Tool).",
"phpunit": "Runs PHPUnit unit tests (all tests).",
"rector": "Runs PHP Rector (Dry-Run).",
"test": "Runs all available tests (phpmnd, phpunit, phpstan, phpcs, rector, etc.).",
"test:all": "Runs all available tests (phpmnd, phpunit, phpstan, phpcs, phpmd).",
"test:hardcore": "Runs the ultimate available tests (phpmnd, phpunit, phpstan, phpcs, rector, phpmd).",
"test:most": "Runs most tests (phpmnd, phpunit, phpstan, phpcs).",
"test:basic": "Runs basic tests (phpunit, phpstan)."
}
}