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

Indentation fixing #8

Closed
maximal opened this issue Feb 25, 2014 · 3 comments
Closed

Indentation fixing #8

maximal opened this issue Feb 25, 2014 · 3 comments

Comments

@maximal
Copy link

maximal commented Feb 25, 2014

PHP_CodeSniffer config treats this code as valid

if (true) {
        // Note two tabs instead of one
        echo 'Hi there.', PHP_EOL;
}

Is there any way to fix this in CodeSniffer config?

@samdark
Copy link
Member

samdark commented May 25, 2015

It's not valid anymore since we've switched to spaces.

@samdark samdark closed this as completed May 25, 2015
@maximal
Copy link
Author

maximal commented May 26, 2015

How does CodeSniffer treat 8 spaces here now?

@samdark
Copy link
Member

samdark commented May 26, 2015

Have no idea. Try it.

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

2 participants