Skip to content

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Apr 6, 2025

Description

If a property was typed with a DNF type, the Squiz.Commenting.VariableComment would not be able to find the docblock (providing there is one).

Fixed now.

Includes tests.

Suggested changelog entry

Squiz.Commenting.VariableComment : false positive for missing docblock for properties using DNF types

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

…ties

If a property was typed with a DNF type, the `Squiz.Commenting.VariableComment` would not be able to find the docblock (providing there is one).

Fixed now.

Includes tests.
@jrfnl jrfnl added this to the 3.12.2 milestone Apr 6, 2025
@jrfnl jrfnl merged commit 50f03b3 into master Apr 9, 2025
234 of 253 checks passed
@jrfnl jrfnl deleted the feature/squiz-variablecomment-allow-for-dnf-types branch April 9, 2025 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant