Skip to content

Rule "Rector\ClassConst\VarConstantCommentRector" keeps throwing "could not process" errors.#3359

Merged
kodiakhq[bot] merged 1 commit intorectorphp:masterfrom
MetalArend:patch-1
May 12, 2020
Merged

Rule "Rector\ClassConst\VarConstantCommentRector" keeps throwing "could not process" errors.#3359
kodiakhq[bot] merged 1 commit intorectorphp:masterfrom
MetalArend:patch-1

Conversation

@MetalArend
Copy link
Copy Markdown
Contributor

If we don't redeclare the $phpDocInfo variable, it will fail at the next line, as calling a method on null will fail.

If we don't redeclare the $phpDocInfo variable, it will fail at the next line, as calling a method on null will fail.
@TomasVotruba
Copy link
Copy Markdown
Member

Thanks

@kodiakhq kodiakhq bot merged commit 22255fd into rectorphp:master May 12, 2020
TomasVotruba added a commit that referenced this pull request Feb 8, 2023
rectorphp/rector-src@a3bc2dc [TypeDeclaration] Handle crash Multiple variants - use selectFromArgs() on ReturnAnnotationIncorrectNullableRector (#3359)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants