-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcomposer.json
More file actions
108 lines (108 loc) · 3.71 KB
/
composer.json
File metadata and controls
108 lines (108 loc) · 3.71 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "ttskch/paginator-bundle",
"description": "The most thin, simple and customizable paginator bundle for Symfony",
"keywords": ["symfony", "pager", "pagination", "paginator", "sortable", "customizable", "searchable"],
"type": "symfony-bundle",
"license": "MIT",
"authors": [
{
"name": "Takashi Kanemoto",
"email": "ttskch@gmail.com"
}
],
"require": {
"php": "^8.0",
"symfony/config": "^5.0|^6.0|^7.0",
"symfony/dependency-injection": "^5.0|^6.0|^7.0",
"symfony/form": "^5.0|^6.0|^7.0",
"symfony/http-foundation": "^5.0|^6.0|^7.0",
"twig/twig": ">=3.4.3"
},
"require-dev": {
"ext-pcov": "*",
"bamarni/composer-bin-plugin": "*",
"doctrine/orm": "^2.17",
"phpspec/prophecy-phpunit": "^2.1",
"phpunit/phpunit": "^9.6",
"symfony/browser-kit": "^5.0|^6.0|^7.0",
"symfony/framework-bundle": "^5.0|^6.0|^7.0",
"symfony/http-kernel": "^5.0|^6.0|^7.0",
"symfony/phpunit-bridge": "^7.0",
"symfony/twig-bundle": "^5.0|^6.0|^7.0",
"symfony/yaml": "^5.0|^6.0|^7.0"
},
"autoload": {
"psr-4": {
"Ttskch\\PaginatorBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ttskch\\PaginatorBundle\\Tests\\": [
"tests/",
"tests/Fake/"
]
}
},
"scripts": {
"setup": "php bin/setup.php",
"test": "./vendor/bin/phpunit",
"coverage": "php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage",
"phpdbg": "phpdbg -qrr ./vendor/bin/phpunit --coverage-text --coverage-html ./build/coverage --coverage-clover=coverage.xml",
"pcov": "php -dextension=pcov.so -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=build/coverage.xml",
"cs": [
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"./vendor/bin/php-cs-fixer fix --config .php-cs-fixer.dist.php --dry-run --diff -v"
],
"cs:fix": [
"@putenv PHP_CS_FIXER_IGNORE_ENV=1",
"./vendor/bin/php-cs-fixer fix --config .php-cs-fixer.dist.php"
],
"metrics": "./vendor/bin/phpmetrics --report-html=build/metrics --exclude=Exception src",
"clean": [
"./vendor/bin/phpstan clear-result-cache",
"# ./vendor/bin/psalm --clear-cache"
],
"sa": [
"./vendor/bin/phpstan analyse -c phpstan.neon",
"# ./vendor/bin/psalm --show-info=true"
],
"tests": [
"@cs",
"@test",
"@sa"
],
"tests:bc": [
"@test"
],
"build": [
"@clean",
"@cs",
"@sa",
"@pcov",
"@metrics"
],
"post-install-cmd": "@composer bin all install --ansi",
"post-update-cmd": "@composer bin all update --ansi"
},
"scripts-descriptions": {
"test": "Run unit tests",
"coverage": "Generate test coverage report",
"phpdbg": "Generate test coverage report (phpdbg)",
"pcov": "Generate test coverage report (pcov)",
"cs": "Check the coding style",
"cs-fix": "Fix the coding style",
"clean": "Delete tmp files",
"sa": "Run static analysis",
"metrics": "Build metrics report",
"tests": "Run tests and quality checks",
"tests:bc": "Run tests",
"build": "Build project"
},
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true
},
"sort-packages": true
}
}