-
Notifications
You must be signed in to change notification settings - Fork 7
/
composer.json
62 lines (62 loc) · 1.85 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
{
"name": "icings/menu",
"type": "cakephp-plugin",
"description": "A KnpMenu seasoned menu plugin for CakePHP.",
"keywords": ["cakephp", "menu", "knp-menu"],
"license": "MIT",
"authors": [
{
"name": "Oliver Nowak",
"role": "Author",
"homepage": "https://nowak-media.de"
}
],
"minimum-stability": "stable",
"require": {
"php": ">=8.1",
"cakephp/cakephp": "^5.0",
"knplabs/knp-menu": "^3.3"
},
"require-dev": {
"cakephp/cakephp-codesniffer": "^5.0",
"phpunit/phpunit": "^10.1"
},
"autoload": {
"psr-4": {
"Icings\\Menu\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Icings\\Menu\\Test\\": "tests"
}
},
"scripts": {
"check": [
"@cs-check -- -p",
"@test"
],
"cs-check": "phpcs --parallel=16 ./src ./tests",
"cs-fix": "phpcbf --parallel=16 -p ./src ./tests",
"test": "phpunit",
"test-coverage": "phpunit --coverage-clover=coverage.xml",
"stan-setup": "cp composer.json composer.backup && composer require --dev \"phpstan/phpstan:^1.0\" \"psalm/phar:^5.0\" && mv composer.backup composer.json",
"stan": [
"@phpstan-src",
"@phpstan-tests",
"@psalm"
],
"phpstan": [
"@phpstan-src",
"@phpstan-tests"
],
"phpstan-src": "php ./vendor/phpstan/phpstan/phpstan.phar analyse -l 8 -c ./phpstan.src.neon ./src",
"phpstan-tests": "php ./vendor/phpstan/phpstan/phpstan.phar analyse -l 7 -c ./phpstan.tests.neon ./tests",
"psalm": "php ./vendor/psalm/phar/psalm.phar"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}