Skip to content

[Php71] Add failing test case for CountOnNullRector#2538

Merged
TomasVotruba merged 1 commit intorectorphp:masterfrom
gnutix:CountOnNullRector/should-skip-remote-property-if-countable
Jan 3, 2020
Merged

[Php71] Add failing test case for CountOnNullRector#2538
TomasVotruba merged 1 commit intorectorphp:masterfrom
gnutix:CountOnNullRector/should-skip-remote-property-if-countable

Conversation

@gnutix
Copy link
Copy Markdown
Contributor

@gnutix gnutix commented Dec 30, 2019

Managed to create a failing test for #2474

@gnutix gnutix force-pushed the CountOnNullRector/should-skip-remote-property-if-countable branch from cbc04b4 to 856afe1 Compare December 30, 2019 23:15
@TomasVotruba
Copy link
Copy Markdown
Member

Could you look at fix while at it?

@TomasVotruba
Copy link
Copy Markdown
Member

This one is more tricky then it meets the eye

@TomasVotruba TomasVotruba merged commit f9cb78b into rectorphp:master Jan 3, 2020
@TomasVotruba TomasVotruba deleted the CountOnNullRector/should-skip-remote-property-if-countable branch January 3, 2020 22:54
@gnutix
Copy link
Copy Markdown
Contributor Author

gnutix commented Jan 4, 2020

Seemed tricky indeed, as the local variable test passes but not the "remote" (reference?) one.

@TomasVotruba
Copy link
Copy Markdown
Member

Not sure what you mean. Could you send test case?

@gnutix
Copy link
Copy Markdown
Contributor Author

gnutix commented Jan 4, 2020

Forget it, I hadn't seen yet that you had already made a PR to fix it :) I'll try it out next week. Thanks!

@TomasVotruba
Copy link
Copy Markdown
Member

Ah :)

TomasVotruba added a commit that referenced this pull request Jun 20, 2022
rectorphp/rector-src@945889c Forbid PHPStan ClassMethod to avoid false type miss-matches (#2538)
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