-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUGFIX] partially satisfy psalm for tests/Unit/CssInlinerTest.php #801
[BUGFIX] partially satisfy psalm for tests/Unit/CssInlinerTest.php #801
Conversation
…ertion, re: MyIntervals#537 This commit resolves the PossiblyNull issue identified in tests/Unit/CssInlinerTest.php by adding an additional assertion that would force the test to fail if the `DOMNodeList::item()` resolved to a non-element result (i.e. null or other DOMNode type) regarding: MyIntervals#537
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, we need separate @param
and @psalm-param
entries in the DocBlock...
This commit resolves a set of InvalidOperand issues by using the psalm-specific docblock tags `@psalm-return`, `@psalm-var`, and `@psalm-param` regarding: MyIntervals#801 (review)
45faa5f
to
062f73b
Compare
resolved in 062f73b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now.
BTW, we probably don't need the full path of the file in the commit title, as there's almost always only going to be one file with that name. A succincter title helps a reader browsing through a list of commits.
For example: [CLEANUP] Fix psalm warnings in CssInlinerTest |
I amended the title a bit, though not quite like that. Hope what I did was OK... |
Is there any way to edit commit messages/titles once the've been merged to |
No (at least not with a protected master branch). |
That's what I feared. And why on a couple of these PRs I suggested you do the final squash, merge and commit. Because I've already screwed up the commit title/message on a couple of merges. But given the need to move forward, and the lightning speed at which @SignpostMarv seems to be working, I felt I had to commit changes I was perfectly happy with and with which I could not think of any reason you (@oliverklee) would not be. GitHub/ |
No description provided.