-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
48 lines (48 loc) · 1.16 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
{
"name": "dereuromark/composer-prefer-lowest",
"description": "Checks prefer-lowest more strictly. Add-on for CI.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Mark Scherer",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.3",
"ext-json": "*",
"composer/semver": "^1.7 || ^2.0 || ^3.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"fig-r/psr2r-sniffer": "dev-master"
},
"autoload": {
"psr-4": {
"ComposerPreferLowest\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ComposerPreferLowest\\Test\\": "tests/"
}
},
"bin": [
"bin/validate-prefer-lowest"
],
"prefer-stable": true,
"scripts": {
"test": "phpunit",
"stan": "phpstan analyse",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan && mv composer.backup composer.json",
"cs-check": "phpcs -p --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --extensions=php src/",
"cs-fix": "phpcbf -v --standard=vendor/fig-r/psr2r-sniffer/PSR2R/ruleset.xml --extensions=php src/"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}