Skip to content

Adds better detection of DI classes to global sniff.#239

Open
b-sharpe wants to merge 1 commit into
pfrenssen:8.3.xfrom
b-sharpe:fix-drupal-calls
Open

Adds better detection of DI classes to global sniff.#239
b-sharpe wants to merge 1 commit into
pfrenssen:8.3.xfrom
b-sharpe:fix-drupal-calls

Conversation

@b-sharpe

Copy link
Copy Markdown

Fixes #238

@klausi klausi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, makes sense!

Please add 2 test cases for the 2 new class names so that we have coverage for them.

@batkor

batkor commented Aug 27, 2025

Copy link
Copy Markdown

Hi.
nice MR.
I get similar error
image

rules not detect bad code on my custom webform plugin.

Thanks!

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.

Detection of DI on GlobalDrupalSniff is too loose.

3 participants