Closed ngdangtu-vn closed 3 years ago
it's clear from the error info.
single quote and double quote is differrence in php
define('INDENT_STYLE', "\t", true);
Thank god that wasn't a bug. And I'm sorry, it was my fault. But what happens to The rules contain unknown fixers "no_space_around_double_colon"
? Set it to true
is correct config right?
i think you should read the doc of php-cs-fixer, i do not know yet.
maybe no_space_around_double_colon not exists now
Ok, I will try to google it few more times.
I got this error while attempt to fix a php by right-clicked on the file in explorer panel and chose
php-cs-fixer: fix
From OUTPUT:
From Dev Console:
And if I chose
php-cs-fixer: diff
then nothing display in OUTPUT but I have a long list in Dev Console:At first it gave me a lot of error like:
, ">", "|", "^", "+", "-", "&", "&=", "&&", "||", ".=", "/=", "=>", "==", ">=", "===", "!=", "<>", "!==", "<=", "an
d", "or", "xor", "-=", "%=", "=", "|=", "+=", "<<", "<<=", ">>", ">>=", "^=", "", "=", "<=>", "??", "??=", got
"integer#0".
Here is my config (this is the config producing
"indent" param
, Uncomment fixes to see other error:Tools details: