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

add automated fixing to preceding lines spacing rules #14

Open
rinusser opened this issue Nov 24, 2017 · 0 comments
Open

add automated fixing to preceding lines spacing rules #14

rinusser opened this issue Nov 24, 2017 · 0 comments
Assignees

Comments

@rinusser
Copy link
Owner

rinusser commented Nov 24, 2017

Currently the code spacing rules don't support automatic fixing with phpcbf as the spacing sniffs currently cheat a little by handling multiple contexts equally. For example in the Spacing.Use sniff code it makes no difference whether a previous comment is actually related to the processed "use" statement or another "use" statement that's commented out.

Rethink what spacing rules can and should be fixable, rethink the preceding lines spacing sniff structures and then implement automatic fixing.

@rinusser rinusser self-assigned this Nov 24, 2017
@rinusser rinusser changed the title add automated fixing to spacing rules add automated fixing to preceding lines spacing rules Dec 20, 2017
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