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 |
|
|
"php-cs-fixer.onsave": true
|
13 |
6f6156eb
|
ballakt
|
},
|
14 |
|
|
"extensions": {
|
15 |
|
|
"recommendations": [
|
16 |
|
|
"vscode-icons-team.vscode-icons",
|
17 |
500e20aa
|
msebela
|
"felixfbecker.php-intellisense",
|
18 |
b332d98a
|
ballakt
|
"whatwedo.twig",
|
19 |
|
|
"felixfbecker.php-debug",
|
20 |
|
|
"junstyle.php-cs-fixer"
|
21 |
6f6156eb
|
ballakt
|
]
|
22 |
|
|
},
|
23 |
|
|
"tasks": {
|
24 |
|
|
"version": "2.0.0",
|
25 |
|
|
"tasks": [{
|
26 |
b332d98a
|
ballakt
|
"label": "PHP Linter (DOCKER SERVICE)",
|
27 |
1f77dd64
|
ballakt
|
"command": "docker-compose",
|
28 |
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"],
|
29 |
6f6156eb
|
ballakt
|
"windows":{
|
30 |
1f77dd64
|
ballakt
|
"command": "docker-compose",
|
31 |
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"],
|
32 |
1f77dd64
|
ballakt
|
}
|
33 |
|
|
},
|
34 |
|
|
{
|
35 |
b332d98a
|
ballakt
|
"label": "Format (DOCKER SERVICE)",
|
36 |
|
|
"command": "docker-compose",
|
37 |
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"],
|
38 |
b332d98a
|
ballakt
|
"windows":{
|
39 |
|
|
"command": "docker-compose",
|
40 |
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"],
|
41 |
b332d98a
|
ballakt
|
}
|
42 |
|
|
},{
|
43 |
|
|
"label": "PHP Linter",
|
44 |
1f77dd64
|
ballakt
|
"command": "docker-compose",
|
45 |
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"],
|
46 |
1f77dd64
|
ballakt
|
"windows":{
|
47 |
|
|
"command": "docker-compose",
|
48 |
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"],
|
49 |
|
|
}
|
50 |
|
|
},
|
51 |
|
|
{
|
52 |
|
|
"label": "Format",
|
53 |
|
|
"command": "./vendor/bin/php-cs-fixer",
|
54 |
ab32aaaf
|
Tomáš Ballák
|
"args": ["fix", "/var/www/symfony/src", "--config", "/var/www/symfony/.php_cs"],
|
55 |
b332d98a
|
ballakt
|
"windows":{
|
56 |
|
|
"command": "./vendor/bin/php-cs-fixer",
|
57 |
ab32aaaf
|
Tomáš Ballák
|
"args": ["fix", "/var/www/symfony/src", "--config", "/var/www/symfony/.php_cs"],
|
58 |
6f6156eb
|
ballakt
|
}
|
59 |
|
|
}]
|
60 |
|
|
},
|
61 |
|
|
"launch": {
|
62 |
b332d98a
|
ballakt
|
"configurations": [
|
63 |
|
|
{
|
64 |
6f6156eb
|
ballakt
|
"name": "Listen for XDebug",
|
65 |
|
|
"type": "php",
|
66 |
b332d98a
|
ballakt
|
"request": "launch",
|
67 |
|
|
"log": true,
|
68 |
|
|
"pathMappings": {
|
69 |
|
|
"/var/www/symfony": "${workspaceFolder}/"
|
70 |
|
|
},
|
71 |
|
|
"port": 9001
|
72 |
1f77dd64
|
ballakt
|
}]
|
73 |
6f6156eb
|
ballakt
|
}
|
74 |
|
|
}
|