-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
70 lines (70 loc) · 2.3 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
68
69
70
{
"name": "intaro/twig-sandbox-bundle",
"description": "Annotation configuration of the allowed methods and properties for Twig_Sandbox extension",
"keywords": [
"symfony2",
"twig",
"sandbox",
"php"
],
"type": "symfony-bundle",
"license": "MIT",
"authors": [
{
"name": "Ilyas Salikhov"
}
],
"require": {
"doctrine/annotations": "^1.13|^2.0",
"php": "^8.1",
"psr/cache": "~1.0|~2.0",
"symfony/framework-bundle": "^6.0",
"symfony/validator": "^6.0",
"twig/twig": "^2.14 | ^3.0"
},
"autoload": {
"psr-4": {
"Intaro\\TwigSandboxBundle\\": ""
}
},
"require-dev": {
"nyholm/symfony-bundle-test": "^3.0",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-symfony": "^1.0",
"phpunit/phpunit": "^8.5|^9.5",
"symfony/phpunit-bridge": "^6.0",
"symfony/config": "^6.0",
"symfony/dependency-injection": "^6.0",
"symfony/event-dispatcher": "^6.0",
"symfony/error-handler": "^6.0",
"symfony/http-kernel": "^6.0",
"symfony/http-foundation": "^6.0",
"symfony/yaml": "^6.0",
"symfony/deprecation-contracts": "^1.1|^2.0",
"symfony/event-dispatcher-contracts": "^1.1|^2.0",
"symfony/routing": "^6.0",
"symfony/finder": "^6.0",
"symfony/filesystem": "^6.0",
"symfony/translation-contracts": "^1.1|^2.0",
"symfony/var-exporter": "^6.0",
"symfony/var-dumper": "^6.0",
"psr/log": "~1.0",
"friendsofphp/php-cs-fixer": "^3"
},
"autoload-dev": {
"psr-4": {
"Intaro\\TwigSandboxBundle\\Tests\\": "tests/"
}
},
"scripts": {
"test": "vendor/bin/phpunit --color=always",
"static-analysis": [
"phpstan analyse --ansi --memory-limit=1G"
],
"phpcs": [
"vendor/bin/php-cs-fixer fix --dry-run --config=.php-cs-fixer.dist.php --using-cache=no --show-progress=none -v"
],
"docker-clean": "docker image rm $(docker image ls -qf reference=twig-sandbox-bundle-test)",
"docker": "docker build . -t twig-sandbox-bundle-test && docker image prune -f >/dev/null && docker run --rm twig-sandbox-bundle-test"
}
}