Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
73 lines (73 loc) · 2.27 KB
/
Copy pathcomposer.json
File metadata and controls
73 lines (73 loc) · 2.27 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
{
"name": "wickedbyte/tombstone",
"description": "Basic implementation of the Tombstone pattern for PHP to uncover zombie code",
"license": "MIT",
"type": "library",
"keywords": [
"tombstone",
"zombie code",
"dead code",
"refactoring",
"code quality"
],
"authors": [
{
"name": "Andy Snell",
"email": "andy@wickedbyte.com"
}
],
"require": {
"php": "8.2.* || 8.3.* || 8.4.* || 8.5.*",
"psr/cache": "^1.0 || ^2.0 || ^3.0",
"psr/event-dispatcher": "^1.0",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0"
},
"require-dev": {
"php-parallel-lint/php-parallel-lint": "^1.4",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-phpunit": "^2.0",
"phpunit/phpunit": "^12.5",
"psy/psysh": "^0.12.16",
"rector/rector": "^2.2",
"wickedbyte/coding-standard": "^1.0"
},
"autoload": {
"psr-4": {
"WickedByte\\Tombstone\\": "src/"
},
"files": [
"tombstone.php"
]
},
"autoload-dev": {
"psr-4": {
"WickedByte\\Tests\\Tombstone\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
},
"process-timeout": 0,
"sort-packages": true
},
"scripts": {
"ci:lint": "@lint --no-progress --no-colors",
"ci:paratest": "@paratest --no-progress",
"ci:phpcs": "@phpcs",
"ci:phpstan": "@phpstan --no-progress --no-interaction --no-ansi",
"ci:phpunit": "@php vendor/bin/phpunit --no-interaction --no-progress",
"ci:rector-dry-run": "@rector-dry-run --no-progress-bar --no-ansi",
"lint": "@php vendor/bin/parallel-lint -j $(nproc --ignore=2) --show-deprecated --exclude vendor --exclude build .",
"phpcbf": "@php vendor/bin/phpcbf --parallel=$(nproc --ignore=2) --report=full",
"phpcs": "@php vendor/bin/phpcs --parallel=$(nproc --ignore=2) --report=full",
"phpstan": "@php vendor/bin/phpstan analyze --memory-limit=-1 --verbose",
"phpunit": "@php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-text",
"psysh": "@php vendor/bin/psysh",
"rector": "@php vendor/bin/rector process",
"rector-dry-run": "@php vendor/bin/rector process --dry-run"
}
}