1 |
6f6156eb
|
ballakt
|
{
|
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 |
1f77dd64
|
ballakt
|
"felixfbecker.php-intellisense"
|
15 |
6f6156eb
|
ballakt
|
]
|
16 |
|
|
},
|
17 |
|
|
"tasks": {
|
18 |
|
|
"version": "2.0.0",
|
19 |
|
|
"tasks": [{
|
20 |
|
|
"label": "PHP Linter",
|
21 |
1f77dd64
|
ballakt
|
"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 |
6f6156eb
|
ballakt
|
"windows":{
|
24 |
1f77dd64
|
ballakt
|
"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 |
6f6156eb
|
ballakt
|
}
|
36 |
|
|
}]
|
37 |
|
|
},
|
38 |
|
|
"launch": {
|
39 |
|
|
"configurations": [{
|
40 |
|
|
"name": "Listen for XDebug",
|
41 |
|
|
"type": "php",
|
42 |
|
|
"request": "launch",
|
43 |
1f77dd64
|
ballakt
|
"port": 9000
|
44 |
|
|
}]
|
45 |
6f6156eb
|
ballakt
|
}
|
46 |
|
|
}
|