Closed
Description
File to fix:
<?php
class Test
{
public function __construct()
{
if (false) {
echo 0;
}
}
}
Fixing using only PEAR.WhiteSpace.ScopeIndent
:
$ bin/phpcbf --sniffs=PEAR.WhiteSpace.ScopeIndent MyFile.php
Current result:
class Test
{
public function __construct()
{
if (false) {
echo 0;
}
}
}
Expecting result:
class Test
{
public function __construct()
{
if (false) {
echo 0;
}
}
}
Line inside if statement is indented too much.