Skip to content

Make AnnotateThrowablesRector continue on unhandled node types.#2860

Merged
TomasVotruba merged 1 commit intorectorphp:masterfrom
Aerendir:make-annotate-throwables-continue-on-variable
Feb 16, 2020
Merged

Make AnnotateThrowablesRector continue on unhandled node types.#2860
TomasVotruba merged 1 commit intorectorphp:masterfrom
Aerendir:make-annotate-throwables-continue-on-variable

Conversation

@Aerendir
Copy link
Copy Markdown
Contributor

No description provided.

@Aerendir
Copy link
Copy Markdown
Contributor Author

The branch is based on commit fcec6e3 and anyway fails 😓

@TomasVotruba
Copy link
Copy Markdown
Member

There is problem with code coverage only, skip it

@Aerendir
Copy link
Copy Markdown
Contributor Author

Ok, then it is ready to merge.

I simply removed two throws and returned a value anyway.

This way the rector doesn’t stop (it was for dev purposes only) and continues its work.

Later I will start implementing the other node types...

There is the problem of accessing the called function/method doc block, but I will describe the problem extensively in another issue/PR.

@TomasVotruba TomasVotruba merged commit 20cf41f into rectorphp:master Feb 16, 2020
@TomasVotruba
Copy link
Copy Markdown
Member

Thanks

@Aerendir Aerendir deleted the make-annotate-throwables-continue-on-variable branch February 17, 2020 15:44
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