Skip to content

[TASK] Refactor FrontendAwareEnvironment and adjust tests#4589

Open
froemken wants to merge 2 commits intoTYPO3-Solr:mainfrom
froemken:refactorFrontendAwareEnvironment
Open

[TASK] Refactor FrontendAwareEnvironment and adjust tests#4589
froemken wants to merge 2 commits intoTYPO3-Solr:mainfrom
froemken:refactorFrontendAwareEnvironment

Conversation

@froemken
Copy link
Copy Markdown
Contributor

  • Refactor FrontendAwareEnvironment to use constructor property promotion.
  • Remove unused SingletonInterface implementation and related usages.
  • Replace GeneralUtility::makeInstance calls with dependency injection.
  • Add frontend_simulation service configuration in Services.yaml.
  • Simplify TsfeTest by using an explicitly instantiated FrontendAwareEnvironment.

- Refactor `FrontendAwareEnvironment` to use constructor property promotion.
- Remove unused `SingletonInterface` implementation and related usages.
- Replace `GeneralUtility::makeInstance` calls with dependency injection.
- Add `frontend_simulation` service configuration in `Services.yaml`.
- Simplify `TsfeTest` by using an explicitly instantiated `FrontendAwareEnvironment`.
- Update Services.yaml to set `public: true` for `FrontendSimulation`.
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.

1 participant