1
`exit()` may silently break your parallel tests
Calling `exit()` inside a test kills the whole PHPUnit worker process, so parallel test runs lose the test result and show no error. Throw an exception instead to let PHPUnit capture the failure and print a stack trace.
Freek Van der Hertenfreek.dev1 min
