squizlabs/PHP_CodeSniffer — pull request #55 by andygrunwald (2012-09-05 16:34:46+00:00)
Title: Add a new sniff "Generic.WhiteSpace.DisallowSpaceIndent"

Hey everybody,

### Introduction

This sniffs was created during the development for [TYPO3](http://typo3.org/) / [FLOW3](http://flow3.typo3.org/) [CodingStandard](http://forge.typo3.org/projects/team-php_codesniffer).
Due to our previous contact via email, we have renamed them to implement this into the Generic Standard. This sniff is backed by a unit test and are well tested by our [Jenkins installation](https://ci.typo3.org/) and own every day usage.

#### New sniff

* Generic.WhiteSpace.DisallowSpaceIndent

### Explaination of sniff

#### Generic.WhiteSpace.DisallowSpaceIndent
**Description**: Indention only per Tabs. Whitespaces are not allowed. This is the opposite of Generic.WhiteSpace.DisallowTabIndent
**UnitTest**: Yep, included. Attention! Be aware of your IDE settings if you edit this unit tests (automatic space to tab conversion or something like this. Some IDEs are doing such stuff!)
**Example**:

Wrong:
```php

```
Correct:
```php

```