Skip to content

10.4.4

Choose a tag to compare

@f1mishutka f1mishutka released this 02 Jan 04:17
· 17 commits to main since this release

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! 👍