Projekt

Obecné

Profil

Stáhnout (2.64 KB) Statistiky
| Větev: | Revize:
1
{
2
	"folders": [
3
		{
4
			"path": "."
5
		}
6
	],
7
	"settings": {
8
		"php.suggest.basic":false,
9
		"files.autoSave": "afterDelay",
10
		"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
		"eslint.enable": true,
14
		"eslint.format.enable": true,
15
		"eslint.codeActionsOnSave.mode": "all",
16
		"editor.codeActionsOnSave": {
17
			"source.fixAll": true
18
		}
19
	},
20
	"extensions": {
21
		"recommendations": [
22
			"vscode-icons-team.vscode-icons",
23
			"felixfbecker.php-intellisense",
24
			"whatwedo.twig",
25
			"felixfbecker.php-debug",
26
			"junstyle.php-cs-fixer",
27
			"refgd.easy-compile"
28
		]
29
	},
30
	"tasks": {
31
		"version": "2.0.0",
32
		"tasks": [{
33
			"label": "PHP Linter (DOCKER SERVICE)",
34
			"command": "docker-compose",
35
			"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
			"windows":{
37
				"command": "docker-compose",
38
				"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
			}
40
		},
41
		{
42
			"label": "Format (DOCKER SERVICE)",
43
			"command": "docker-compose",
44
			"args": ["exec", "php-fpm", "/var/www/symfony/vendor/bin/php-cs-fixer", "fix", "/var/www/symfony/src", "--config", "/var/www/symfony/.php_cs"],
45
			"windows":{
46
				"command": "docker-compose",
47
				"args": ["exec", "php-fpm", "/var/www/symfony/vendor/bin/php-cs-fixer", "fix", "/var/www/symfony/src", "--config", "/var/www/symfony/.php_cs"],
48
			}
49
		},{
50
			"label": "PHP Linter",
51
			"command": "docker-compose",
52
			"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
			"windows":{
54
				"command": "docker-compose",
55
				"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
			"args": ["fix", "/var/www/symfony/src", "--config", "/var/www/symfony/.php_cs"],
62
			"windows":{
63
				"command": "./vendor/bin/php-cs-fixer",
64
				"args": ["fix", "/var/www/symfony/src", "--config", "/var/www/symfony/.php_cs"],
65
			}
66
		}]
67
	},
68
	"launch": {
69
		"configurations": [
70
			{
71
            "name": "Listen for XDebug",
72
            "type": "php",
73
			"request": "launch",
74
			"log": true,
75
			"pathMappings": {
76
				"/var/www/symfony": "${workspaceFolder}/"
77
			},
78
			"port": 9001
79
			}]
80
	}
81
}
(12-12/12)