Fix empty docblocks (#6128)

* working prototype for nested arrays

* add data provider
This commit is contained in:
Tomas Votruba 2021-04-13 20:58:34 +02:00 committed by GitHub
parent 5bde10c181
commit b03fa60c52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,3 @@
/**
* @dataProvider someMethod()
*/

View File

@ -0,0 +1,6 @@
/**
* Inspiration @see https://github.com/rectorphp/rector/pull/1865/files#diff-0d18e660cdb626958662641b491623f8
* @wip
*
* @see \Rector\Tests\Autodiscovery\Rector\Class_\MoveValueObjectsToValueObjectDirectoryRector\MoveValueObjectsToValueObjectDirectoryRectorTest
*/

View File

@ -215,6 +215,9 @@ final class DoctrineAnnotationDecorator
$openBracketCount = 0;
$closeBracketCount = 0;
if ($composedContent === '') {
return true;
}
do {
if ($composedTokenIterator->isCurrentTokenTypes([