PHP and PHPUnit: Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
If you’re getting the following error while running PHPUnit tests, check if the following is true: The unit test returning the segfault uses a test double function: createMock(), createStub(), etc. The mocked object has a __destruct() function. In the __destruct() […]