Ignore inline docblocks

Fixes #819 
There are tests for it. Any file that starts with a docblock on first line
after open tag. normally there is a whitespace token for newlines, except
for T_OPEN_TAG.

It needs to skip when (inline) docblock is prepended with whitespace
without newline, except on first line after open tag

2014-12-13 17:41 GMT+01:00 Dariusz Rumiński <notifications@github.com>:
>
> In Symfony/CS/Fixer/Symfony/PhpdocIndentFixer.php
> <https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/822#discussion-diff-21789367>
> :
>
> > @@ -35,6 +35,12 @@ public function fix(\SplFileInfo $file, $content)
> >              $indent = $this->calculateIndent($tokens[$next - 1]->getContent());
> >
> >              $prevToken = $tokens[$index - 1];
> > +            if ($prevToken->isWhitespace(array('whitespaces' => " \t")) && !$tokens[$index - 2]->isGivenKind(T_OPEN_TAG)) {
>
> Why is that T_OPEN_TAG for? can't see a test for it
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/822/files#r21789367>.
>