-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
76 lines (76 loc) · 2.22 KB
/
Copy pathcomposer.json
File metadata and controls
76 lines (76 loc) · 2.22 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
74
75
76
{
"name": "phpcpd-next/phpcpd",
"description": "phpcpd-next — Copy/Paste (clone) detector for PHP 8.5+ with Type-1/2/3 detection. The maintained successor to the archived sebastianbergmann/phpcpd.",
"type": "library",
"keywords": [
"phpcpd",
"copy-paste-detector",
"clone-detection",
"duplication",
"code-quality",
"static-analysis",
"ci"
],
"homepage": "https://github.com/phpcpd-next/phpcpd",
"license": "BSD-3-Clause",
"authors": [
{
"name": "Sebastian Bergmann",
"email": "sebastian@phpunit.de",
"role": "Original author"
},
{
"name": "Luciano Federico Pereira",
"role": "Fork maintainer"
}
],
"support": {
"issues": "https://github.com/phpcpd-next/phpcpd/issues",
"source": "https://github.com/phpcpd-next/phpcpd"
},
"config": {
"platform": {
"php": "8.5.0"
},
"optimize-autoloader": true,
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": ">=8.5",
"ext-dom": "*",
"ext-mbstring": "*"
},
"autoload": {
"psr-4": {
"LucianoPereira\\PhpcpdNext\\": ["src/", "src/CLI/", "src/Exceptions/"],
"LucianoPereira\\PhpcpdNext\\PHPUnit\\": "integration/phpunit/src/"
}
},
"autoload-dev": {
"psr-4": {
"LucianoPereira\\PhpcpdNext\\Tests\\": "tests/"
}
},
"bin": [
"phpcpd"
],
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.64",
"phpstan/phpstan": "^2.2",
"phpunit/phpunit": "^11.0 || ^12.0 || ^13.0",
"rector/rector": "^2.0"
},
"suggest": {
"phpunit/phpunit": "To use the PHPUnit integration (AssertNoDuplication trait / DuplicationConstraint) for duplication-as-a-test"
},
"scripts": {
"lint": "php-cs-fixer fix --dry-run --diff",
"lint:fix": "php-cs-fixer fix",
"analyse": "phpstan analyse --memory-limit=1G",
"test": "phpunit",
"check": ["@lint", "@analyse", "@test"],
"release": "bash bin/release.sh"
}
}