Uh oh!
There was an error while loading. Please reload this page.
refactor: Fix phpstan codeigniter.frameworkExceptionInstance - #9389
Conversation
neznaika0
commented
Jan 9, 2025
Can you tell me why my GA is crashing? It's a copy of this repository. |
samsonasik
commented
Jan 9, 2025
you probably need to mirror your fork repo with this repo tag as well, as it seems you don't have any tag at https://github.com/neznaika0/codeigniter-dev/tags , if the PR is green, i think it is fine just as is, as it may related with branch alias Lines 82 to 87 in 42a00ff /cc @paulbalandan |
neznaika0
commented
Jan 9, 2025
I added all tags and master branch. It didn't help |
paulbalandan
commented
Jan 9, 2025
My best guess is that I think this can be "fixed" by not running the GA in the forks. |
Uh oh!
There was an error while loading. Please reload this page.
07205a1 to
34a41d3Compareneznaika0
commented
Jan 9, 2025
There seems to be a mistake in applying the rules comment_to_phpdoc |
paulbalandan
commented
Jan 9, 2025
If you have time, pls send a PR to the coding-standard repo adding |
neznaika0
commented
Jan 9, 2025
But before that, he ignores |
paulbalandan
commented
Jan 9, 2025
I looked at the code of comment_to_phpdoc. If there's a variable assignment it treats it as a structural element so it changes the comment to a phpdoc. |
neznaika0
commented
Jan 9, 2025
Rewrite as phpDoc? |
paulbalandan
commented
Jan 9, 2025
Yes. This is what it looks like: This is correct because the -// @var int $foo+/** @var int $foo */
$foo = some_function();Continuing from that, if the comment is the last in the line, it will be considered for the next line. So, the fixer thinks the comment is for the assignment to |
34a41d3 to
df17203Compare👋 Hi, @neznaika0! |
Uh oh!
There was an error while loading. Please reload this page.
df17203 to
a716b21Comparea716b21 to
db90e5fCompare
Description
Invoking an
FrameworkExceptionusing the method onlyChecklist: