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