-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
55 lines (55 loc) · 1.86 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
{
"name": "cakedc/search-filter",
"description": "SearchFilter plugin for CakePHP",
"type": "cakephp-plugin",
"license": "MIT",
"require": {
"php": ">=8.1",
"cakephp/cakephp": "^5.0",
"skie/cakephp-search": "^5.0"
},
"require-dev": {
"cakephp/cakephp-codesniffer": "^5.0",
"phpunit/phpunit": "^10.0"
},
"scripts": {
"fixcode": [
"bin/cake code_completion generate || echo 'FAILED'",
"bin/cake phpstorm generate || echo 'FAILED'",
"bin/cake annotate all || echo 'FAILED'",
"phpcbf --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/ tests/ || echo 'FAILED'"
],
"check": [
"@cs-check",
"@stan",
"@psalm",
"@test"
],
"test": "phpunit --stderr",
"coverage-test": "phpunit --stderr --coverage-clover=clover.xml",
"stan": "phpstan.phar analyse --memory-limit=-1 src/",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.9.0 psalm/phar:^5.1.0 && mv composer.backup composer.json",
"psalm": "psalm.phar --show-info=false",
"stan-rebuild-baseline": "phpstan.phar analyse ./src/ --generate-baseline",
"cs-check": "phpcs -n -p ./src ./tests",
"cs-fix": "phpcbf -n -p ./src ./tests "
},
"autoload": {
"psr-4": {
"CakeDC\\SearchFilter\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"CakeDC\\SearchFilter\\Test\\": "tests/",
"CakeDC\\SearchFilter\\Test\\App\\": "tests/test_app/App/",
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": false,
"cakephp/plugin-installer": true
}
}
}