1 |
6f6156eb
|
ballakt
|
{
|
2 |
|
|
"folders": [
|
3 |
|
|
{
|
4 |
|
|
"path": "."
|
5 |
|
|
}
|
6 |
|
|
],
|
7 |
|
|
"settings": {
|
8 |
|
|
"php.suggest.basic":false,
|
9 |
|
|
"files.autoSave": "afterDelay",
|
10 |
b332d98a
|
ballakt
|
"php-cs-fixer.executablePath": "/var/www/symfony/vendor/bin/php-cs-fixer",
|
11 |
|
|
"php-cs-fixer.config": ".php_cs;.php_cs.dist",
|
12 |
8feb1753
|
ballakt
|
"php-cs-fixer.onsave": true,
|
13 |
|
|
"eslint.enable": true,
|
14 |
|
|
"eslint.format.enable": true,
|
15 |
|
|
"eslint.codeActionsOnSave.mode": "all",
|
16 |
|
|
"editor.codeActionsOnSave": {
|
17 |
|
|
"source.fixAll": true
|
18 |
2f227a6c
|
ballakt
|
},
|
19 |
6f6156eb
|
ballakt
|
},
|
20 |
|
|
"extensions": {
|
21 |
|
|
"recommendations": [
|
22 |
|
|
"vscode-icons-team.vscode-icons",
|
23 |
500e20aa
|
msebela
|
"felixfbecker.php-intellisense",
|
24 |
b332d98a
|
ballakt
|
"whatwedo.twig",
|
25 |
|
|
"felixfbecker.php-debug",
|
26 |
dd652e61
|
Martin Sebela
|
"junstyle.php-cs-fixer",
|
27 |
|
|
"refgd.easy-compile"
|
28 |
6f6156eb
|
ballakt
|
]
|
29 |
|
|
},
|
30 |
|
|
"tasks": {
|
31 |
|
|
"version": "2.0.0",
|
32 |
|
|
"tasks": [{
|
33 |
b332d98a
|
ballakt
|
"label": "PHP Linter (DOCKER SERVICE)",
|
34 |
1f77dd64
|
ballakt
|
"command": "docker-compose",
|
35 |
b332d98a
|
ballakt
|
"args": ["exec", "php-fpm", "./vendor/bin/php-cs-fixer", "fix", "/var/www/symfony/src", "--dry-run", "--config", "/var/www/symfony/.php_cs", "--stop-on-violation", "--using-cache=no"],
|
36 |
6f6156eb
|
ballakt
|
"windows":{
|
37 |
1f77dd64
|
ballakt
|
"command": "docker-compose",
|
38 |
b332d98a
|
ballakt
|
"args": ["exec", "php-fpm","./vendor/bin/php-cs-fixer", "fix", "/var/www/symfony/src", "--dry-run", "--config", "/var/www/symfony/.php_cs", "--stop-on-violation", "--using-cache=no"],
|
39 |
1f77dd64
|
ballakt
|
}
|
40 |
|
|
},
|
41 |
|
|
{
|
42 |
b332d98a
|
ballakt
|
"label": "Format (DOCKER SERVICE)",
|
43 |
|
|
"command": "docker-compose",
|
44 |
ab32aaaf
|
Tomáš Ballák
|
"args": ["exec", "php-fpm", "/var/www/symfony/vendor/bin/php-cs-fixer", "fix", "/var/www/symfony/src", "--config", "/var/www/symfony/.php_cs"],
|
45 |
b332d98a
|
ballakt
|
"windows":{
|
46 |
|
|
"command": "docker-compose",
|
47 |
ab32aaaf
|
Tomáš Ballák
|
"args": ["exec", "php-fpm", "/var/www/symfony/vendor/bin/php-cs-fixer", "fix", "/var/www/symfony/src", "--config", "/var/www/symfony/.php_cs"],
|
48 |
b332d98a
|
ballakt
|
}
|
49 |
|
|
},{
|
50 |
|
|
"label": "PHP Linter",
|
51 |
1f77dd64
|
ballakt
|
"command": "docker-compose",
|
52 |
b332d98a
|
ballakt
|
"args": ["exec", "php-fpm", "./vendor/bin/php-cs-fixer", "fix", "/var/www/symfony/src", "--dry-run", "--config", "/var/www/symfony/.php_cs", "--stop-on-violation", "--using-cache=no"],
|
53 |
1f77dd64
|
ballakt
|
"windows":{
|
54 |
|
|
"command": "docker-compose",
|
55 |
b332d98a
|
ballakt
|
"args": ["exec", "php-fpm","./vendor/bin/php-cs-fixer", "fix", "/var/www/symfony/src", "--dry-run", "--config", "/var/www/symfony/.php_cs", "--stop-on-violation", "--using-cache=no"],
|
56 |
|
|
}
|
57 |
|
|
},
|
58 |
|
|
{
|
59 |
|
|
"label": "Format",
|
60 |
|
|
"command": "./vendor/bin/php-cs-fixer",
|
61 |
ab32aaaf
|
Tomáš Ballák
|
"args": ["fix", "/var/www/symfony/src", "--config", "/var/www/symfony/.php_cs"],
|
62 |
b332d98a
|
ballakt
|
"windows":{
|
63 |
|
|
"command": "./vendor/bin/php-cs-fixer",
|
64 |
ab32aaaf
|
Tomáš Ballák
|
"args": ["fix", "/var/www/symfony/src", "--config", "/var/www/symfony/.php_cs"],
|
65 |
6f6156eb
|
ballakt
|
}
|
66 |
|
|
}]
|
67 |
|
|
},
|
68 |
|
|
"launch": {
|
69 |
b332d98a
|
ballakt
|
"configurations": [
|
70 |
|
|
{
|
71 |
6f6156eb
|
ballakt
|
"name": "Listen for XDebug",
|
72 |
|
|
"type": "php",
|
73 |
b332d98a
|
ballakt
|
"request": "launch",
|
74 |
|
|
"log": true,
|
75 |
|
|
"pathMappings": {
|
76 |
|
|
"/var/www/symfony": "${workspaceFolder}/"
|
77 |
|
|
},
|
78 |
|
|
"port": 9001
|
79 |
1f77dd64
|
ballakt
|
}]
|
80 |
6f6156eb
|
ballakt
|
}
|
81 |
|
|
}
|