aik099 / CodingStandard

The PHP_CodeSniffer coding standard I'm using on all of my projects
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Create own sniff for strict indentation symbol validation #74

Open aik099 opened 9 years ago

aik099 commented 9 years ago

The current Generic.WhiteSpace.DisallowSpaceIndent doesn't handle the case, when identation starts with TABs, but ends with SPACEs (see https://github.com/squizlabs/PHP_CodeSniffer/issues/547).

Need to create sniff, that will spot these cases and report/fix them.