1
|
{
|
2
|
"folders": [
|
3
|
{
|
4
|
"path": "."
|
5
|
}
|
6
|
],
|
7
|
"settings": {
|
8
|
"php.suggest.basic":false,
|
9
|
"files.autoSave": "afterDelay",
|
10
|
},
|
11
|
"extensions": {
|
12
|
"recommendations": [
|
13
|
"vscode-icons-team.vscode-icons",
|
14
|
"felixfbecker.php-intellisense",
|
15
|
"whatwedo.twig"
|
16
|
]
|
17
|
},
|
18
|
"tasks": {
|
19
|
"version": "2.0.0",
|
20
|
"tasks": [{
|
21
|
"label": "PHP Linter",
|
22
|
"command": "docker-compose",
|
23
|
"args": ["exec", "php-fpm", "/var/www/symfony/vendor/bin/php-cs-fixer","fix", "--dry-run", "--config", "/var/www/symfony/.php_cs", "--stop-on-violation", "--using-cache=no"],
|
24
|
"windows":{
|
25
|
"command": "docker-compose",
|
26
|
"args": ["exec", "php-fpm", "/var/www/symfony/vendor/bin/php-cs-fixer", "fix", "--dry-run", "--config", "/var/www/symfony/.php_cs", "--stop-on-violation", "--using-cache=no"],
|
27
|
}
|
28
|
},
|
29
|
{
|
30
|
"label": "Format",
|
31
|
"command": "docker-compose",
|
32
|
"args": ["exec", "php-fpm", "/var/www/symfony/vendor/bin/php-cs-fixer","fix", "--config", "/var/www/symfony/.php_cs", "--stop-on-violation"],
|
33
|
"windows":{
|
34
|
"command": "docker-compose",
|
35
|
"args": ["exec", "php-fpm", "/var/www/symfony/vendor/bin/php-cs-fixer", "fix", "--config", "/var/www/symfony/.php_cs", "--stop-on-violation"],
|
36
|
}
|
37
|
}]
|
38
|
},
|
39
|
"launch": {
|
40
|
"configurations": [{
|
41
|
"name": "Listen for XDebug",
|
42
|
"type": "php",
|
43
|
"request": "launch",
|
44
|
"port": 9000
|
45
|
}]
|
46
|
}
|
47
|
}
|