Skip to content

greg0ire/phpunit-reproducer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproducer

This repository contains a minimal example to reproduce an issue where PHPUnit does not print the message for the fatal error it encounters.

Here the issue is that Child extends Ancestor, but omits the void return type on its __invoke() method, which is a fatal error in PHP.

Instead of printing the fatal error message, PHPUnit just prints:

Fatal error: Premature end of PHP process when running ReproducerTest::testExample.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages