Skip to content

Remove sulu class kernel parameters #7991

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

Merged

Conversation

alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented Jun 5, 2025

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

What's in this PR?

Remove sulu class class kernel parameters.

Why?

Class parameters are since long time not best practices for bundles because they make the build container bigger. Instead we replace all parameters and inline value.

https://symfony.com/doc/current/bundles/best_practices.html

This refactoring also helps us with moving forward removing old services and classes.

@alexander-schranz alexander-schranz changed the title Remove sulu class class kernel parameters Remove sulu class kernel parameters Jun 5, 2025
@alexander-schranz alexander-schranz force-pushed the enhancement/remove-class-parameters branch from c8cf697 to f37a65e Compare June 5, 2025 14:44
@alexander-schranz alexander-schranz added the Technical Debt Impacts code quality, no or just small impact on end developers and users label Jun 5, 2025
@alexander-schranz alexander-schranz marked this pull request as ready for review June 5, 2025 14:45
@Prokyonn Prokyonn enabled auto-merge (squash) June 5, 2025 14:56
@Prokyonn Prokyonn merged commit 08ad7e0 into sulu:3.0 Jun 5, 2025
9 checks passed
@alexander-schranz alexander-schranz deleted the enhancement/remove-class-parameters branch June 5, 2025 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Technical Debt Impacts code quality, no or just small impact on end developers and users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants