-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
67 lines (67 loc) · 2.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
63
64
65
66
67
{
"name": "squirrelphp/twig-php-syntax",
"type": "library",
"description": "Adds common PHP syntax to twig templates, like ===, foreach and continue/break.",
"keywords": [
"php",
"twig",
"syntax",
"foreach"
],
"homepage": "https://github.com/squirrelphp/twig-php-syntax",
"license": "MIT",
"authors": [
{
"name": "Andreas Leathley",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.0.2",
"twig/twig": "^3.15"
},
"require-dev": {
"captainhook/captainhook-phar": "^5.0",
"captainhook/hook-installer": "^1.0",
"phpunit/phpunit": "^9.0",
"symfony/finder": "^6.0|^7.0",
"symfony/process": "^6.0|^7.0"
},
"config": {
"sort-packages": false,
"allow-plugins": {
"captainhook/captainhook-phar": true,
"captainhook/hook-installer": true
}
},
"extra": {
"captainhook": {
"config": "tools/captainhook.json"
}
},
"autoload": {
"psr-4": {
"Squirrel\\TwigPhpSyntax\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Squirrel\\TwigPhpSyntax\\Tests\\": "tests/"
}
},
"scripts": {
"phpstan": "vendor-bin/phpstan/vendor/bin/phpstan analyse --configuration=tools/phpstan.neon",
"phpstan_full": "rm -Rf tools/cache/phpstan && vendor-bin/phpstan/vendor/bin/phpstan analyse --configuration=tools/phpstan.neon",
"phpstan_base": "vendor-bin/phpstan/vendor/bin/phpstan analyse --configuration=tools/phpstan.neon --generate-baseline=tools/phpstan-baseline.php",
"psalm": "vendor-bin/psalm/vendor/bin/psalm --config=tools/psalm.xml --show-info=false",
"psalm_full": "vendor-bin/psalm/vendor/bin/psalm --config=tools/psalm.xml --clear-cache && vendor-bin/psalm/vendor/bin/psalm --config=tools/psalm.xml --show-info=false",
"psalm_base": "vendor-bin/psalm/vendor/bin/psalm --config=tools/psalm.xml --set-baseline=tools/psalm-baseline.xml",
"phpunit": "vendor/bin/phpunit --configuration=tools/phpunit.xml.dist --colors=always",
"coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --configuration=tools/phpunit.xml.dist --coverage-html=tests/_reports",
"phpcs": "vendor-bin/phpcs/vendor/bin/phpcs --standard=tools/ruleset.xml --extensions=php --cache=tools/cache/.phpcs-cache --colors src tests",
"phpcs_diff": "vendor-bin/phpcs/vendor/bin/phpcs -s --standard=tools/ruleset.xml --extensions=php --cache=tools/cache/.phpcs-cache --colors src tests",
"phpcs_fix": "vendor-bin/phpcs/vendor/bin/phpcbf --standard=tools/ruleset.xml --extensions=php --cache=tools/cache/.phpcs-cache --colors src tests",
"binupdate": "bin/vendorbin update",
"binoutdated": "bin/vendorbin outdated"
}
}