You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you used the debugging guide to try to resolve the issue?
Have you checked our FAQs to make sure your question isn't answered there?
Have you checked to make sure your issue does not already exist?
Have you checked you are on the latest release of Pulsar?
What happened?
I noticed recently that color coding gets messed up whenever I use a null-safe operator in PHP. Pulsar doesn't seem to actually understand that it is an operator, nor therefore that what follows is a property nor method.
Pulsar version
1.120.0
Which OS does this happen on?
🍎 macOS
OS details
15.0 (24A335)
Which CPU architecture are you running this on?
Apple M-series
What steps are needed to reproduce this?
Be editing a PHP file
Write a line of code showing the use of normal arrow operators, to see the color coding, such as:
$property->addresses()->first()->city;
Replace each of those (or any of those) with nullsafe operators, and see the color coding disappear:
$property?->addresses()?->first()?->city;
Additional Information:
Screenshot showing the top line with normal color coding, and each subsequent one with 'greyed out' sections of the line due to this:
The text was updated successfully, but these errors were encountered:
OK, it'll go out in mid-October. (You're unlucky in that respect; if it's a hardship, you might be able to get by with a CI build of Pulsar until then, depending on your platform.) Thanks again!
Not a hardship at all, in fact I've been dealing with it for ... well, a long time. Just finally had the "hey I should report this" moment. Thanks for fixing it!
Thanks in advance for your bug report!
What happened?
I noticed recently that color coding gets messed up whenever I use a null-safe operator in PHP. Pulsar doesn't seem to actually understand that it is an operator, nor therefore that what follows is a property nor method.
Pulsar version
1.120.0
Which OS does this happen on?
🍎 macOS
OS details
15.0 (24A335)
Which CPU architecture are you running this on?
Apple M-series
What steps are needed to reproduce this?
$property?->addresses()?->first()?->city;
Additional Information:
Screenshot showing the top line with normal color coding, and each subsequent one with 'greyed out' sections of the line due to this:
The text was updated successfully, but these errors were encountered: