Skip to content

10.4.4

Latest
Compare
Choose a tag to compare
@f1mishutka f1mishutka released this 02 Jan 04:17

Original jpgraph library sets own exception handler globally. This behavior is unwanted under test environments (like phpunit). This version added MtJpGraph::setSkipExceptionHandler() method to be able to disable that exception handler juggling. It is being set to true if phpunit environment was detected and stays false in production.

Thanks to @oleibman for ideas and tests.

P.S.: Happy New year to all graph makers! 👍