Skip to content

Update null coalesce operator documentation - #5255

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:fix/null-coalesce-suppression-clarify
Open

lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:fix/null-coalesce-suppression-clarify

Conversation

@lacatoire

@lacatoire lacatoire commented Feb 5, 2026 •

Copy link
Copy Markdown
Member

Fixes #4838

Add a note about which expressions benefit from warning suppression with the ?? operator.

@lacatoire lacatoire changed the title Clarify that null coalesce warning suppression only applies to variab… Update null coalesce operator documentation Mar 2, 2026
@lacatoire lacatoire closed this Mar 2, 2026
@lacatoire lacatoire reopened this Oct 22, 2026
@lacatoire
lacatoire force-pushed the fix/null-coalesce-suppression-clarify branch from 3879897 to 852982f Compare October 24, 2026 06:40
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.

Clarify what warnings/expressions are suppressed by isset/?? suppress

1 participant