vscode-better-align
vscode-better-align copied to clipboard
php formating error
hi when i try to format codes like this wrong formatting happens
public function index()
{
$x = 'test';
if (
$x === 'nott test'
|| $x === 0
|| $x !== 'test'
) {
return false;
} else {
return true;
}
}
becomes
public function index()
{
$x = 'test';
if (
$x == = 'nott test'
|| $x == = 0
|| $x !== 'test'
) {
return false;
} else {
return true;
}
}
Seems something break format for ===, I will take a look this.
Current implemention didn't support format like ===, but I will find a way to support this.