Closed slowpokefarm closed 3 months ago
Still having issues, v0.3.13 works fine.
your os is linux, i can't test on linux. if v0.3.13 works fine, latest version is ok too
Works fine after update for me, thanks
Parsing JSON works fine, but there are new problems.
runAsync: spawn
[
"c:\Users\user1\.vscode-insiders\extensions\junstyle.php-cs-fixer-0.3.16\php-cs-fixer.phar",
"fix",
"--using-cache=no",
"--format=json",
"--rules={\\"@PhpCsFixer\\":true,\\"@PSR12\\":true,\\"array_syntax\\":{\\"syntax\\":\\"short\\"},\\"blank_line_after_opening_tag\\":true,\\"blank_line_before_statement\\":{\\"statements\\":[\\"case\\",\\"continue\\",\\"default\\",\\"declare\\",\\"return\\",\\"throw\\",\\"try\\"]},\\"cast_spaces\\":{\\"space\\":\\"none\\"},\\"concat_space\\":{\\"spacing\\":\\"one\\"},\\"linebreak_after_opening_tag\\":true,\\"method_argument_space\\":{\\"on_multiline\\":\\"ensure_fully_multiline\\"},\\"no_break_comment\\":{\\"comment_text\\":\\"no break...\\"},\\"no_trailing_comma_in_list_call\\":true,\\"no_trailing_comma_in_singleline_array\\":true,\\"phpdoc_summary\\":false,\\"phpdoc_align\\":false,\\"phpdoc_no_alias_tag\\":false,\\"phpdoc_annotation_without_dot\\":true,\\"phpdoc_no_empty_return\\":true,\\"single_line_comment_style\\":{\\"comment_types\\":[\\"asterisk\\"]},\\"single_quote\\":{\\"strings_containing_single_quote_chars\\":true},\\"trailing_comma_in_multiline\\":{\\"elements\\":[]},\\"yoda_style\\":{\\"always_move_variable\\":true}}",
"--path-mode=override",
"C:\Users\user1\AppData\Local\Temp\pcf-tmp0.5814790718269975\Untitled-1"
]
{
"shell": true
}
runAsync: error
{
"exitCode": 16,
"stdout": null,
"stderr": "PHP CS Fixer 3.62.0 (1ce9e24) 7th Gear by Fabien Potencier, Dariusz Ruminski and contributors.\nPHP runtime: 8.3.8\r\n\r\nIn ConfigurationResolver.php line 395:\r\n \r\n The path \"break...\"},\"no_trailing_comma_in_list_call\":true,\"no_trailing_com \r\n ma_in_singleline_array\":true,\"phpdoc_summary\":false,\"phpdoc_align\":false,\"p \r\n hpdoc_no_alias_tag\":false,\"phpdoc_annotation_without_dot\":true,\"phpdoc_no_e \r\n mpty_return\":true,\"single_line_comment_style\":{\"comment_types\":[\"asterisk\"] \r\n },\"single_quote\":{\"strings_containing_single_quote_chars\":true},\"trailing_c \r\n omma_in_multiline\":{\"elements\":[]},\"yoda_style\":{\"always_move_variable\":tru \r\n e}}\" is not readable. \r\n \r\n\r\nfix [--path-mode PATH-MODE] [--allow-risky ALLOW-RISKY] [--config CONFIG] [--dry-run] [--rules RULES] [--using-cache USING-CACHE] [--cache-file CACHE-FILE] [--diff] [--format FORMAT] [--stop-on-violation] [--show-progress SHOW-PROGRESS] [--sequential] [--] [
In ConfigurationResolver.php line 395:
The path "break..."},"no_trailing_comma_in_list_call":true,"no_trailing_com
ma_in_singleline_array":true,"phpdoc_summary":false,"phpdoc_align":false,"p
hpdoc_no_alias_tag":false,"phpdoc_annotation_without_dot":true,"phpdoc_no_e
mpty_return":true,"single_line_comment_style":{"comment_types":["asterisk"]
},"single_quote":{"strings_containing_single_quote_chars":true},"trailing_c
omma_in_multiline":{"elements":[]},"yoda_style":{"always_move_variable":tru
e}}" is not readable.
fix [--path-mode PATH-MODE] [--allow-risky ALLOW-RISKY] [--config CONFIG] [--dry-run] [--rules RULES] [--using-cache USING-CACHE] [--cache-file CACHE-FILE] [--diff] [--format FORMAT] [--stop-on-violation] [--show-progress SHOW-PROGRESS] [--sequential] [--] [
new version published, test again
Works fine after update, thanks
Recently extension stopped working properly.
When I'm using complex rules settings like:
I receive an error:
When I'm using simple rules like
"php-cs-fixer.rules": "@PSR12",
everything works ok: