-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
81 lines (81 loc) · 2.29 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": "villfa/invert-color",
"description": "InvertColor - invert hex color code",
"license": [
"MIT"
],
"type": "library",
"keywords": [
"color",
"colour",
"invert",
"inverse",
"reverse",
"opposite"
],
"authors": [
{
"name": "Fabien VILLEPINTE",
"email": "[email protected]"
}
],
"homepage": "https://github.com/villfa/php-invert-color",
"require": {
"php": ">=7.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-strict-rules": "^1.0",
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
"vimeo/psalm": "^4.7"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"InvertColor\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"InvertColor\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true
},
"optimize-autoloader": true,
"sort-packages": true
},
"scripts": {
"lint": "parallel-lint -j 4 src/ tests/ scripts/",
"phpcs": "php-cs-fixer --ansi fix --rules=@PSR2 -v --dry-run --stop-on-violation --using-cache=no .",
"phpstan": "phpstan",
"phpunit": "phpunit --colors=always --testdox --testsuite InvertColor",
"psalm": "psalm --long-progress --stats",
"test": [
"@composer validate --no-interaction --strict",
"@lint",
"@phpunit",
"@phpstan",
"@psalm",
"@phpcs"
],
"ut": [
"@phpunit"
]
},
"scripts-descriptions": {
"lint": "Runs a PHP linter to check the syntax.",
"phpcs": "Runs coding style test suite.",
"phpstan": "Runs complete codebase static analysis using PHPStan.",
"phpunit": "Runs unit tests.",
"psalm": "Runs complete codebase static analysis using Psalm.",
"test": "Validates and tests the whole library.",
"ut": "Runs unit tests only."
}
}