|
1 | 1 | # CHANGELOG |
2 | 2 |
|
| 3 | +## 1.1.5 - 2017-09-13 |
| 4 | + |
| 5 | +* Unit tests supported by `PHPUnit` were added. |
| 6 | + |
| 7 | +* The repository was synchronized with Travis CI to implement continuous integration. |
| 8 | + |
| 9 | +* Added `ErrorHandler/src/bootstrap.php` file |
| 10 | + |
| 11 | +* Added `ErrorHandler/tests/bootstrap.php` file. |
| 12 | + |
| 13 | +* Added `ErrorHandler/phpunit.xml.dist` file. |
| 14 | +* Added `ErrorHandler/_config.yml` file. |
| 15 | +* Added `ErrorHandler/.travis.yml` file. |
| 16 | + |
| 17 | +* Added `ErrorHandler/public/template/view.php` file. |
| 18 | + |
| 19 | +* Added `ErrorHandler/public/css/styles.php` file. |
| 20 | + |
| 21 | +* Deleted `Josantonius\ErrorHandler\Tests\ErrorHandlerTest` class. |
| 22 | +* Deleted `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeException()` method. |
| 23 | +* Deleted `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeWarning()` method. |
| 24 | +* Deleted `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeNotice()` method. |
| 25 | +* Deleted `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeUserError()` method. |
| 26 | +* Deleted `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeUserNotice()` method. |
| 27 | +* Deleted `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeUserWarning()` method. |
| 28 | +* Deleted `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSetCustomMethod()` method. |
| 29 | +* Deleted `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->_customMethodResponse()` method. |
| 30 | + |
| 31 | +* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest` class. |
| 32 | +* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest->testIfCustomExceptionHandlerIsActivated()` method. |
| 33 | +* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest->testIfCustomErrorHandlerIsActivated()` method. |
| 34 | +* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest->testException()` method. |
| 35 | +* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest->testExceptionWithCustomMethodsWithoutShowDefaultView()` method. |
| 36 | +* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest->testExceptionWithCustomMethodsAndShowDefaultView()` method. |
| 37 | +* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest->testError()` method. |
| 38 | +* Added `Josantonius\ErrorHandler\Test\ErrorHandlerTest->testErrorWithCustomMethodsWithoutShowDefaultView()` method. |
| 39 | +* Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testErrorWithCustomMethodsAndShowDefaultView()` method. |
| 40 | +* Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testGetErrorType()` method. |
| 41 | + |
3 | 42 | ## 1.1.4 - 2017-07-16 |
| 43 | + |
4 | 44 | * Deleted `Josantonius\ErrorHandler\Exception\ErrorHandlerException` class. |
5 | 45 | * Deleted `Josantonius\ErrorHandler\Exception\Exceptions` abstract class. |
6 | 46 | * Deleted `Josantonius\ErrorHandler\Exception\ErrorHandlerException->__construct()` method. |
7 | 47 |
|
8 | 48 | ## 1.1.3 - 2017-05-15 |
| 49 | + |
9 | 50 | * You can now add custom methods to run instead of displaying the default view. |
10 | 51 |
|
11 | 52 | * Added `Josantonius\ErrorHandler\ErrorHandler->setParams()` method. |
|
16 | 57 | * Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->_customMethodResponse()` method. |
17 | 58 |
|
18 | 59 | ## 1.1.2 - 2017-03-18 |
| 60 | + |
19 | 61 | * Some files were excluded from download and comments and readme files were updated. |
20 | 62 |
|
21 | 63 | ## 1.1.1 - 2017-02-21 |
| 64 | + |
22 | 65 | * Added `Josantonius\ErrorHandler\ErrorHandler->getPreviewCode()` method. |
23 | 66 | * Deleted `Josantonius\ErrorHandler\ErrorHandler->catchThrowable()` method. |
24 | 67 | * Deleted `Josantonius\ErrorHandler\ErrorHandler->catchException()` method. |
|
27 | 70 | * Changed `Josantonius\ErrorHandler\ErrorHandler->show()` method to `Josantonius\ErrorHandler\ErrorHandler->render()`. |
28 | 71 |
|
29 | 72 | ## 1.1.0 - 2017-01-30 |
| 73 | + |
30 | 74 | * Compatible with PHP 5.6 or higher. |
31 | 75 |
|
32 | 76 | ## 1.0.0 - 2017-01-30 |
| 77 | + |
33 | 78 | * 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. |
34 | 79 |
|
35 | 80 | ## 1.0.0 - 2016-12-14 |
| 81 | + |
36 | 82 | * Added `Josantonius\ErrorHandler\ErrorHandler` class. |
37 | 83 | * Added `Josantonius\ErrorHandler\ErrorHandler->__construct()` method. |
38 | 84 | * Added `Josantonius\ErrorHandler\ErrorHandler->catchThrowable()` method. |
|
44 | 90 | * Added `Josantonius\ErrorHandler\ErrorHandler->show()` method. |
45 | 91 |
|
46 | 92 | ## 1.0.0 - 2016-12-14 |
| 93 | + |
47 | 94 | * Added `Josantonius\ErrorHandler\Exception\ErrorHandlerException` class. |
48 | 95 | * Added `Josantonius\ErrorHandler\Exception\Exceptions` abstract class. |
49 | 96 | * Added `Josantonius\ErrorHandler\Exception\ErrorHandlerException->__construct()` method. |
50 | 97 |
|
51 | 98 | ## 1.0.0 - 2016-12-14 |
| 99 | + |
52 | 100 | * Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest` class. |
53 | 101 | * Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeException()` method. |
54 | 102 | * Added `Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeWarning()` method. |
|
0 commit comments