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
|
]
|
16
|
},
|
17
|
"tasks": {
|
18
|
"version": "2.0.0",
|
19
|
"tasks": [{
|
20
|
"label": "PHP Linter",
|
21
|
"command": "docker-compose",
|
22
|
"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"],
|
23
|
"windows":{
|
24
|
"command": "docker-compose",
|
25
|
"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"],
|
26
|
}
|
27
|
},
|
28
|
{
|
29
|
"label": "Format",
|
30
|
"command": "docker-compose",
|
31
|
"args": ["exec", "php-fpm", "/var/www/symfony/vendor/bin/php-cs-fixer","fix", "--config", "/var/www/symfony/.php_cs", "--stop-on-violation"],
|
32
|
"windows":{
|
33
|
"command": "docker-compose",
|
34
|
"args": ["exec", "php-fpm", "/var/www/symfony/vendor/bin/php-cs-fixer", "fix", "--config", "/var/www/symfony/.php_cs", "--stop-on-violation"],
|
35
|
}
|
36
|
}]
|
37
|
},
|
38
|
"launch": {
|
39
|
"configurations": [{
|
40
|
"name": "Listen for XDebug",
|
41
|
"type": "php",
|
42
|
"request": "launch",
|
43
|
"port": 9000
|
44
|
}]
|
45
|
}
|
46
|
}
|