Skip to content

WIP: [IMPROVEMENT] Replace PHPUnit MockBuilder#11329

Open
chfsx wants to merge 1 commit intoILIAS-eLearning:trunkfrom
srsolutionsag:proposel/12/bootstrap-mocking
Open

WIP: [IMPROVEMENT] Replace PHPUnit MockBuilder#11329
chfsx wants to merge 1 commit intoILIAS-eLearning:trunkfrom
srsolutionsag:proposel/12/bootstrap-mocking

Conversation

@chfsx
Copy link
Member

@chfsx chfsx commented Mar 24, 2026

@thibsy as discussed, I propose to replace the Object-Mocking in bootstraping with an own implementation. therefore we no longer need PHPUnits-mocking and PHPUnits as prod-dependency. beside this, bootstrapping is twice as fast as before...

I'd like to change the following things before merging:

  • get rid of the static calls
  • inject the mock-builder
  • add some unit tests

but you can have a first look at the implementation.

@chfsx chfsx requested a review from thibsy March 24, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants