Skip to content
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

Add sniff for unsilenced deprecation warnings #218

Merged
merged 7 commits into from
Feb 16, 2024
Merged

Conversation

Boegie
Copy link
Contributor

@Boegie Boegie commented Jan 3, 2024

Resolves https://www.drupal.org/project/coder/issues/3412078

Although this could quite easily be integrated in \Drupal\Sniffs\Semantics\FunctionTriggerErrorSniff, I've opted for a separate rule.
Main reason being that there are two known unsilenced deprecations already.
Adding to an existing an enabled rule would break Drupal CI.

Copy link
Collaborator

@klausi klausi left a comment

Choose a reason for hiding this comment

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

Approach makes sense!

Ideally we would also add a fixer for this to insert the @.

@klausi klausi merged commit 40d9024 into pfrenssen:8.3.x Feb 16, 2024
7 checks passed
@Boegie Boegie deleted the 3406971 branch February 16, 2024 14:11
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.

2 participants