Skip to content

Fix PHPUnit MockObject Generator missing class error#288

Merged
berfinyuksel merged 1 commit into1.3from
fix/phpunit-mockobject-dependencies
Feb 4, 2026
Merged

Fix PHPUnit MockObject Generator missing class error#288
berfinyuksel merged 1 commit into1.3from
fix/phpunit-mockobject-dependencies

Conversation

@berfinyuksel
Copy link
Contributor

@berfinyuksel berfinyuksel commented Feb 4, 2026

.

- Update codeception/module-asserts from ^2.0.1 to ^3.0 for Codeception 5.x compatibility
- Add codeception/stub ^4.0 to provide PHPUnit mock/stub wrapper
- Ensures compatibility with PHPUnit 10.5 and PHP 8.1-8.3

Fixes the "Class PHPUnit\Framework\MockObject\Generator not found" error in Codeception tests.
@github-actions
Copy link

github-actions bot commented Feb 4, 2026

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


berfinyuksel seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2026

@berfinyuksel
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@berfinyuksel berfinyuksel merged commit d5c7739 into 1.3 Feb 4, 2026
1 of 2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Feb 4, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments