Skip to content

EWPP-4991: Surpress deprecated interfaces. #3

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

Open
wants to merge 1 commit into
base: 1.x
Choose a base branch
from
Open

Conversation

drishu
Copy link
Contributor

@drishu drishu commented Jan 20, 2025

No description provided.

@@ -8,3 +8,6 @@ parameters:
- "#^Plugin definitions cannot be altered.#"
- "#^Class .* extends @internal class#"
- identifier: missingType.iterableValue

# Too many issues with supporting multiple Drupal versions.
- identifier: class.implementsDeprecatedInterface
Copy link
Contributor

@AaronGilMartinez AaronGilMartinez Jan 23, 2025

Choose a reason for hiding this comment

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

This change will surpress an error for the components/projects using the library (unless they have their own neon file).
To avoid the problem on components that supports multiple versions I see two solutions:

  1. Add this specific configuration in the projects where is needed.
  2. Set the configuration of the code-review-drupal library, but I would try to warn people about it, this may go unnoticed. Maybe readme.

I prefer first option but I lack a bit of context here, like how many components/proyects are having this issue.

Copy link
Contributor Author

@drishu drishu Jan 27, 2025

Choose a reason for hiding this comment

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

we did point 1 and realised its to many of them, and proposed this PR @AaronGilMartinez

Copy link
Contributor

Choose a reason for hiding this comment

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

In that case, maybe adding a warning in the readme is not bad idea.

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.

3 participants