Releases: josantonius/php-error-handler
v2.0.2
What's Changed
-
pre-release/v2.0.2 by @josantonius in #5
-
Release/v2.0.2 by @josantonius in #6
-
The notation type in the test function names has been changed from camel to snake case for readability.
-
Functions were added to document the methods and avoid confusion.
-
Disabled the ´CamelCaseMethodName´ rule in ´phpmd.xml´ to avoid warnings about function names in tests.
-
The alignment of the asterisks in the comments has been fixed.
-
Tests for Windows have been added.
Full Changelog: v2.0.1...v2.0.2
v2.0.1
v2.0.0
What's Changed
- pre release/v2.0.0 in #4
Version 1.x is considered as deprecated and unsupported. In this version (2.x) the library was completely restructured. It is recommended to review the documentation for this version and make the necessary changes before starting to use it, as it not be compatible with version 1.x.
-
The library was completely refactored.
-
Support for PHP version 8.1.
-
Support for earlier versions of PHP 8.1 is discontinued.
-
In this version exceptions are no longer handled. You can use josantonius/exception-handler to handle them.
-
HTML error rendering has also been discontinued.
-
The package name was changed from
josantonius/errorhandlertojosantonius/error-handler. -
Improved documentation;
README.md,CODE_OF_CONDUCT.md,CONTRIBUTING.mdandCHANGELOG.md. -
Removed
Codacy. -
Removed
PHP Coding Standards Fixer. -
The
masterbranch was renamed tomain. -
The
developbranch was added to use a workflow based onGit Flow. -
Travisis discontinued for continuous integration.GitHub Actionswill be used from now on. -
Added
.github/CODE_OF_CONDUCT.mdfile. -
Added
.github/CONTRIBUTING.mdfile. -
Added
.github/FUNDING.ymlfile. -
Added
.github/workflows/ci.ymlfile. -
Added
.github/lang/es-ES/CODE_OF_CONDUCT.mdfile. -
Added
.github/lang/es-ES/CONTRIBUTING.mdfile. -
Added
.github/lang/es-ES/LICENSEfile. -
Added
.github/lang/es-ES/READMEfile. -
Deleted
.travis.ymlfile. -
Deleted
.editorconfigfile. -
Deleted
CONDUCT.MDfile. -
Deleted
README-ES.MDfile. -
Deleted
.php_cs.distfile.
Full Changelog: 1.1.8...v2.0.0
1.1.8
1.1.7
What's Changed
-
Implemented
PHP Mess Detectorto detect inconsistencies in code styles. -
Implemented
PHP Code Beautifier and Fixerto fixing errors automatically. -
Implemented
PHP Coding Standards Fixerto organize PHP code automatically according to PSR standards.
Full Changelog: 1.1.6...1.1.7
1.1.6
What's Changed
-
Implemented
PSR-4 autoloader standardfrom all library files. -
Implemented
PSR-2 coding standardfrom all library PHP files. -
Implemented
PHPCSto ensure that PHP code complies withPSR2code standards. -
Implemented
Codacyto automates code reviews and monitors code quality over time. -
Implemented
Codecovto coverage reports. -
Added
ErrorHandler/phpcs.ruleset.xmlfile. -
Deleted
ErrorHandler/src/bootstrap.phpfile. -
Deleted
ErrorHandler/tests/bootstrap.phpfile. -
Deleted
ErrorHandler/vendorfolder.
Full Changelog: 1.1.5...1.1.6
1.1.5
What's Changed
-
Unit tests supported by
PHPUnitwere added. -
The repository was synchronized with Travis CI to implement continuous integration.
-
Added
ErrorHandler/src/bootstrap.phpfile -
Added
ErrorHandler/tests/bootstrap.phpfile. -
Added
ErrorHandler/phpunit.xml.distfile. -
Added
ErrorHandler/_config.ymlfile. -
Added
ErrorHandler/.travis.ymlfile. -
Added
ErrorHandler/public/template/view.phpfile. -
Added
ErrorHandler/public/css/styles.phpfile. -
Deleted
Josantonius\ErrorHandler\Tests\ErrorHandlerTestclass. -
Deleted
Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeException()method. -
Deleted
Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeWarning()method. -
Deleted
Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeNotice()method. -
Deleted
Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeUserError()method. -
Deleted
Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeUserNotice()method. -
Deleted
Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSProvokeUserWarning()method. -
Deleted
Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSetCustomMethod()method. -
Deleted
Josantonius\ErrorHandler\Tests\ErrorHandlerTest->_customMethodResponse()method.
Full Changelog: 1.1.4...1.1.5
1.1.4
What's Changed
- Deleted
Josantonius\ErrorHandler\Exception\ErrorHandlerExceptionclass. - Deleted
Josantonius\ErrorHandler\Exception\Exceptionsabstract class. - Deleted
Josantonius\ErrorHandler\Exception\ErrorHandlerException->__construct()method.
Full Changelog: 1.1.3...1.1.4
1.1.3
What's Changed
-
You can now add custom methods to run instead of displaying the default view.
-
Added
Josantonius\ErrorHandler\ErrorHandler->setParams()method. -
Added
Josantonius\ErrorHandler\ErrorHandler::setCustomMethod()method. -
Added
Josantonius\ErrorHandler\ErrorHandler->getCustomMethods()method. -
Added
Josantonius\ErrorHandler\Tests\ErrorHandlerTest->testSetCustomMethod()method. -
Added
Josantonius\ErrorHandler\Tests\ErrorHandlerTest->_customMethodResponse()method.
Full Changelog: 1.1.2...1.1.3
1.1.2
What's Changed
- Some files were excluded from download and comments and readme files were updated.
Full Changelog: 1.1.1...1.1.2