squizlabs/PHP_CodeSniffer — pull request #279 by aik099 (2014-10-12 09:55:57+00:00)
Title: Don't report "@var" and "@type" in inline DocBlock comments as error

Inline DocBlock comments are bad and this sniff checks for them, however these is special edge case, which isn't covered:

```php
/** @var TheClass $bar */
$bar = 5;

/** @type TheClass $bar2 */
$bar2 = 5;
```

With proposed change just skips such comments and doesn't report them as error. If nobody, who uses Squiz standard is using these type of comments, then nothing is changed for them. However anybody using this sniff and using these `@var` comments now will be a bit happier.