Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

indent after <?php #57

Open
InflamedSebi opened this issue Mar 13, 2019 · 0 comments
Open

indent after <?php #57

InflamedSebi opened this issue Mar 13, 2019 · 0 comments

Comments

@InflamedSebi
Copy link

<?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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant