Skip to content

Add test about naming methods of ContentController which extends AbstractController #7841

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

Conversation

alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented Mar 7, 2025

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #
Related issues/PRs #7148
License MIT
Documentation PR sulu/sulu-docs#

What's in this PR?

Add test about naming methods of ContentController which extends AbstractController.

Why?

Methods extending a Class which is not in our control should contain "Sulu" to avoid future conflicts like we had with renderBlock in the past.

We named our methods resolveSuluParameters and renderSuluView to avoid this. If we add new methods here we should keep that Pattern.

See #7148

@alexander-schranz alexander-schranz added the DX Affecting the end developer label Mar 7, 2025
@Prokyonn Prokyonn merged commit 4b97994 into sulu:3.0 Mar 10, 2025
8 of 9 checks passed
@alexander-schranz alexander-schranz deleted the enhancement/extend-content-controller-method-name-test branch March 10, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Affecting the end developer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants