Skip to content

Conversation

W0rma
Copy link
Contributor

@W0rma W0rma commented Feb 2, 2024

No description provided.

src/Stub.php Outdated
Comment on lines 419 to 420
if (version_compare(PHPUnitVersion::series(), '11', '>=') && !is_bool($args[1])) {
array_splice($args, 1, 0, [true, true]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have a reference to the updated mock call in PHPUnit that requires this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generator::testDouble() does now have an additional parameter
@Naktibalda Naktibalda merged commit 4fcad2c into Codeception:master Feb 2, 2024
@W0rma W0rma deleted the phpunit11 branch February 3, 2024 09:46
@Codeception Codeception deleted a comment from github-actions bot Aug 1, 2025
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.

3 participants