forked from chrisboulton/php-diff
-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
81 lines (81 loc) · 2.27 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
{
"name": "jblond/php-diff",
"type": "library",
"description": "A comprehensive library for generating differences between two hashable objects (strings or arrays).",
"license": "BSD-3-Clause",
"keywords": [
"php",
"diff",
"side-by-sidediff",
"unified",
"udiff",
"unidiff",
"unified diff"
],
"authors": [
{
"name": "Mario",
"email": "[email protected]"
},
{
"name": "Ferry Cools",
"email": "[email protected]"
},
{
"name": "Chris Boulton",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.3",
"ext-mbstring": "*",
"ext-pcre": "*",
"symfony/polyfill-mbstring": "^1"
},
"require-dev": {
"phpunit/phpunit": "^8 || ^9",
"squizlabs/php_codesniffer": "*",
"phpmd/phpmd": "2.*",
"jblond/php-cli": "^1.0",
"digilive/git-changelog": "^2"
},
"suggest": {
"ext-json": "*",
"jblond/php-cli": "^1.0"
},
"autoload": {
"psr-4": {
"jblond\\": "lib/jblond"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests"
}
},
"config": {
"classmap-authoritative": true
},
"scripts": {
"phpunit": "phpunit",
"php_src": "phpcs --standard=phpcs.xml -s -p --colors ./lib/",
"php_test": "phpcs --standard=phpcs.xml -s -p --colors ./tests/",
"phpmd": "phpmd ./ ansi cleancode,codesize,controversial,design,naming,unusedcode --exclude vendor",
"changelog": "php generateChangelog.php",
"test": [
"@php_src",
"@php_test",
"phpunit --colors=always --testdox"
],
"coverage": "phpunit --colors=always --coverage-html codeCoverage"
},
"scripts-descriptions": {
"phpunit": "Run PHPUnit tests",
"php_src": "Run code sniffer on lib directory",
"php_test": "Run code sniffer on tests directory",
"phpmd": "Run php mess detector",
"changelog": "generate changelog from commits",
"test": "Run code formatting test and phpunit",
"coverage": "Run phpunit code overage"
}
}