Uh oh!
There was an error while loading. Please reload this page.
[ReturnTypeExtension] add test case for narrow typed json_decode - #993
Conversation
Uh oh!
There was an error while loading. Please reload this page.
96ca0b7 to
f682afaCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
5547fb8 to
55cc2d4CompareTomasVotruba
commented
Feb 6, 2022
I'm working on the static errors... |
ddd20b4 to
95d480bCompareondrejmirtes
commented
Mar 24, 2022
Feel free to open a new PR if you ever decide to work on this again 👍 Thanks. |
TomasVotruba
commented
Mar 24, 2022
ondrejmirtes
commented
Mar 24, 2022
It is not - there were conflicts and build failures. |
ondrejmirtes
left a comment
There was a problem hiding this comment.
and please fix the conflict by cleanly rebasing the branch on top of 1.5.x. I'll review it once the build is green. Thanks.
Uh oh!
There was an error while loading. Please reload this page.
TomasVotruba
commented
Mar 24, 2022
I'm on it 👍 |
2e46788 to
aafd2a3CompareTomasVotruba
commented
Mar 24, 2022
I've rebased. Tests, PHPStan and coding standards are passing localy. Seems GitHub Actions are crashing now because cache is stuck: https://github.com/phpstan/phpstan-src/runs/5677735280?check_suite_focus=true I'll check it today/tomorrow |
1cac3b6 to
834eff1Compare834eff1 to
2aa201aCompareTomasVotruba
commented
Mar 26, 2022
CI is passing 👍 |
b8357ff to
961f9c2Compare…e from contssant string value
Co-authored-by: Martin Herndl <martin@herndl.org>
Co-authored-by: Martin Herndl <martin@herndl.org>
961f9c2 to
7d306fbCompareondrejmirtes
commented
May 4, 2022
Thank you! |
TomasVotruba
commented
May 4, 2022
👍 @herndlm Thank you for finishing 👏 |
herndlm
commented
May 4, 2022
Nice, thank you too. I was waiting for this getting merged, have a tiny follow-up idea :) |

Port of https://github.com/phpstan/phpstan-nette/pull/89/files for
json_decode()Any feedback appreciated 👍
How to test?
vendor/bin/phpunit tests/PHPStan/Analyser/NodeScopeResolverTest.php --filter "json"