-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
70 lines (70 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
{
"name": "vysokeskoly/cache-bundle",
"description": "Provides memcached services with proper usage of connection pool",
"license": "MIT",
"type": "symfony-bundle",
"require": {
"php": "^8.1",
"ext-memcached": "*",
"symfony/config": "^6.0 || ^7.0",
"symfony/dependency-injection": "^6.0 || ^7.0",
"symfony/http-kernel": "^6.0 || ^7.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.28",
"lmc/coding-standard": "^4.1",
"php-mock/php-mock-phpunit": "^2.0",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.12.7",
"phpstan/phpstan-phpunit": "^1.1",
"phpunit/phpunit": "^10.5.37",
"symfony/yaml": "^6.0 || ^7.0"
},
"autoload": {
"psr-4": {
"VysokeSkoly\\CacheBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"VysokeSkoly\\CacheBundle\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"secure-http": false,
"sort-packages": true
},
"scripts": {
"all": [
"@lint",
"@analyze",
"@tests"
],
"analyze": [
"@cs",
"@phpstan"
],
"cs": "vendor/bin/ecs check --ansi -- src/ tests/ ecs.php",
"fix": [
"@composer normalize",
"vendor/bin/ecs check src/ tests/ ecs.php --ansi --fix"
],
"installTools": [
"cd tools/coding-standards && composer install && composer link"
],
"lint": [
"vendor/bin/parallel-lint -j 10 -e php ./src ./tests ecs.php",
"@composer validate",
"@composer normalize --dry-run"
],
"phpstan": "vendor/bin/phpstan analyze ./src ./tests -c phpstan.neon --ansi --level 8",
"tests": "./vendor/bin/phpunit --colors=always",
"tests-ci": "./vendor/bin/phpunit -c phpunit.xml.dist --coverage-html=reports/html --coverage-clover=reports/clover.xml --log-junit=reports/junit.xml"
}
}