-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
68 lines (68 loc) · 2.31 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
{
"name": "denisyukphp/tmpfile",
"description": "Alternative to tmpfile() function.",
"keywords": [
"tmpfile",
"tempnam",
"temp",
"tmp",
"file"
],
"license": "MIT",
"authors": [
{
"name": "Aleksandr Denisyuk",
"email": "a@denisyuk.by",
"homepage": "https://denisyuk.by/",
"role": "Developer"
}
],
"config": {
"sort-packages": true
},
"require": {
"php": "^8.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.10",
"php-parallel-lint/php-console-highlighter": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpunit/phpunit": "^9.5",
"psalm/plugin-phpunit": "^0.17.0",
"vimeo/psalm": "^4.26"
},
"suggest": {
"denisyukphp/tmpfile-manager": "Allows more advanced creating and removing temp files."
},
"autoload": {
"psr-4": {
"TmpFile\\": "./src/"
}
},
"autoload-dev": {
"psr-4": {
"TmpFile\\Tests\\": "./tests/"
}
},
"scripts": {
"phpunit": "./vendor/bin/phpunit --verbose --colors=always --no-coverage",
"phpunit:clear-cache": "rm ./build/cache/phpunit.cache",
"phpunit-coverage": "./vendor/bin/phpunit --verbose --colors=always --coverage-text",
"phpunit-coverage-html": "./vendor/bin/phpunit --verbose --colors=always --coverage-html ./build/logs/phpunit-coverage/",
"parallel-lint": "./vendor/bin/parallel-lint --colors ./src/ ./tests/",
"php-cs-fixer:fix": "./vendor/bin/php-cs-fixer fix --verbose --ansi --show-progress=dots",
"php-cs-fixer:diff": "./vendor/bin/php-cs-fixer fix --verbose --ansi --dry-run --diff",
"php-cs-fixer:clear-cache": "rm ./build/cache/php-cs-fixer.cache",
"psalm": "./vendor/bin/psalm --show-info=true",
"psalm:clear-cache": "rm -rf ./build/cache/psalm/",
"psalm:set-baseline": "@psalm --set-baseline=./psalm-baseline.xml --no-cache",
"psalm:update-baseline": "@psalm --update-baseline --no-cache",
"psalm:ignore-baseline": "@psalm --ignore-baseline --no-cache",
"test": [
"@parallel-lint",
"@psalm",
"@php-cs-fixer:diff",
"@phpunit"
]
}
}