Skip to content

Releases: josantonius/php-error-handler

1.1.1

04 Mar 18:07
Compare
Choose a tag to compare

What's Changed

  • Added Josantonius\ErrorHandler\ErrorHandler->getPreviewCode() method.
  • Deleted Josantonius\ErrorHandler\ErrorHandler->catchThrowable() method.
  • Deleted Josantonius\ErrorHandler\ErrorHandler->catchException() method.

Full Changelog: 1.0.0...1.1.1

1.1.0

14 Feb 05:37
Compare
Choose a tag to compare

What's Changed

  • Compatible with PHP 5.6 or higher.

Full Changelog: 1.0.0...1.1.0

1.0.0

31 Jan 02:30
Compare
Choose a tag to compare

What's Changed

  • Compatible only with PHP 7.0 or higher. In the next versions, the library will be modified to make it compatible with PHP 5.6 or higher.

  • Added Josantonius\ErrorHandler\ErrorHandler class.

  • Added Josantonius\ErrorHandler\ErrorHandler->__construct() method.

  • Added Josantonius\ErrorHandler\ErrorHandler->catchThrowable() method.

  • Added Josantonius\ErrorHandler\ErrorHandler->catchException() method.

  • Added Josantonius\ErrorHandler\ErrorHandler->catchError() method.

  • Added Josantonius\ErrorHandler\ErrorHandler->exception() method.

  • Added Josantonius\ErrorHandler\ErrorHandler->prepareException() method.

  • Added Josantonius\ErrorHandler\ErrorHandler->getErrorType() method.

  • Added Josantonius\ErrorHandler\ErrorHandler->show() method.

  • Added Josantonius\ErrorHandler\Exception\ErrorHandlerException class.

  • Added Josantonius\ErrorHandler\Exception\Exceptions abstract class.

  • Added Josantonius\ErrorHandler\Exception\ErrorHandlerException->__construct() method.

  • Added Josantonius\ErrorHandler\Tests\ErrorHandlerTest class.

  • Added Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeException() method.

  • Added Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeWarning() method.

  • Added Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeNotice() method.

  • Added Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeUserError() method.

  • Added Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeUserNotice() method.

  • Added Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeUserWarning() method.

Full Changelog: https://github.com/josantonius/php-error-handler/commits/1.0.0