-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Description
Since last update (7.2.0) phpcs create .php-cs-fixer.dist file everywhere (at the same level of edited php file, whatever is the folder or subfolder) even if my configuration define a "config" property with several folders which should be used rather than creating a new one.
Is there any setup to disable those creations of .php-cs-fixer.dist ?
My config (ST):
{
"phpcs_php_path": "/opt/homebrew/bin/php",
"phpcs_executable_path": "/Users/franck/.composer/vendor/bin/phpcs",
"phpmd_executable_path": "/opt/homebrew/bin/phpmd",
"phpcbf_executable_path": "/Users/franck/.composer/vendor/bin/phpcbf",
"scheck_executable_path": "",
"php_cs_fixer_executable_path": "/opt/homebrew/bin/php-cs-fixer",
"phpmd_run": true,
"scheck_run": false,
"phpcs_linter_run": true,
"phpcs_sniffer_run": true,
"extensions_to_blacklist": [],
"extensions_to_execute": ["php"],
"phpcs_execute_on_save": true,
"phpcs_show_errors_on_save": true,
"phpcs_command_on_save": false,
"php_cs_fixer_on_save": true,
"phpcbf_on_save": false,
"phpcs_linter_command_on_save": false,
"phpmd_command_on_save": true,
"scheck_command_on_save": true,
// "php_cs_fixer_show_quick_panel": true,
"php_cs_fixer_additional_args": {
"--allow-risky=yes" : "",
},
"phpmd_additional_args": {
"codesize,unusedcode,naming,~/.phpmd/rules.xml": "" // add path to custom ruleset file here
},
"config": [
"${file_path}/.php-cs-fixer.php",
"${file_path}/.php-cs-fixer.dist.php",
"${file_path}/.php_cs",
"${file_path}/.php_cs.dist",
"${folder}/.php_cs",
"${folder}/.php_cs.dist",
"${folder}/.php-cs-fixer.php",
"${folder}/.php-cs-fixer.dist.php",
"/Users/franck/.php-cs-fixer.php",
"/Users/franck/.php-cs-fixer.dist.php",
"/Users/franck/.php_cs",
"/Users/franck/.php_cs.dist",
"/Users/franck/.phpcsfixer"
]
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels