Skip to content

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Jul 15, 2025

POC for #6234

public function testOne(?int $expectedExit, int $actualExitCode): void
{
if ($expectedExit !== null) {
$this->expectProcessExit($expectedExit);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we should add a PHPUnit error/warning when expectProcessExit is called in a test, which does not use process-isolation

@staabm staabm changed the base branch from main to 12.3 August 14, 2025 13:13
@staabm staabm changed the base branch from 12.3 to main August 14, 2025 13:14
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