-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
52 lines (52 loc) · 1.79 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
{
"name": "lordsimal/custom-html-elements",
"description": "Allows you to create custom HTML elements to render more complex template parts",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Kevin Pfeifer",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.1",
"spatie/php-structure-discoverer": "^1.2 || ^2.0",
"ext-dom": "*"
},
"require-dev": {
"cakephp/cakephp-codesniffer": "^5.0",
"phpunit/phpunit": "^10.5.5 || ^11.1.3"
},
"autoload": {
"psr-4": {
"LordSimal\\CustomHtmlElements\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"LordSimal\\CustomHtmlElements\\Test\\": "tests/",
"LordSimal\\CustomHtmlElements\\MyPlugin\\": "tests/plugins/MyPlugin/"
}
},
"scripts": {
"cs-check": "vendor/bin/phpcs --colors -p",
"cs-fix": "vendor/bin/phpcbf --colors -p",
"test": "vendor/bin/phpunit --colors=always --display-warnings",
"coverage": "php -d xdebug.mode=coverage vendor/bin/phpunit --coverage-html coverage",
"stan-setup": "cp composer.json composer.backup && composer require --dev symfony/polyfill-php81 phpstan/phpstan:^1.10 psalm/phar:^5.15 && mv composer.backup composer.json",
"phpstan": "vendor/bin/phpstan analyze",
"psalm": "vendor/bin/psalm.phar --show-info=false",
"stan": [
"@phpstan",
"@psalm"
],
"stan-baseline": "vendor/bin/phpstan --generate-baseline",
"psalm-baseline": "vendor/bin/psalm.phar --set-baseline=psalm-baseline.xml"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}