Skip to content

Fix/phpunit mockobject dependencies#289

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

Fix/phpunit mockobject dependencies#289
berfinyuksel merged 3 commits into1.3from
fix/phpunit-mockobject-dependencies

Conversation

@berfinyuksel
Copy link
Contributor

No description provided.

berfinyuksel added 2 commits February 4, 2026 11:43
- 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.
Set codeception/stub to ^4.1.3 (instead of ^4.0) to ensure PHPUnit 10 support.

Version 4.0.x only supports PHPUnit ^8.4 | ^9.0, which causes
"Class PHPUnit\Framework\MockObject\Generator not found" errors
when CI runs with --prefer-lowest dependencies.

Version 4.1.3+ supports PHPUnit ^8.4 | ^9.0 | ^10.0 | ^11, fixing
the issue for all dependency resolution strategies.
@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

@berfinyuksel
Copy link
Contributor Author

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

@berfinyuksel berfinyuksel merged commit 962f48d into 1.3 Feb 4, 2026
6 of 7 checks passed
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2026

@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