phpfmt_stable icon indicating copy to clipboard operation
phpfmt_stable copied to clipboard

indent after <?php

Open InflamedSebi opened this issue 6 years ago • 0 comments

<?php
for ($i = 0; $i < 10; $i++) {
  if ($i%2 == 0) {
    echo "Flipflop";
  }
}

should be formatted to

<?php
  for ($i = 0; $i < 10; $i++) {
    if ($i%2 == 0) {
      echo "Flipflop";
    }
  }

Is there any option to keep a single indentation after the php tag?

InflamedSebi avatar Mar 13 '19 13:03 InflamedSebi