Skip to content

add automated fixing to preceding lines spacing rules #14

@rinusser

Description

@rinusser

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions