Added note about the updated Error Handling

This commit is contained in:
Nyholm
2021-05-16 15:09:21 +02:00
parent c4ac6f1fa4
commit abc2cebfd9

View File

@@ -9,6 +9,17 @@ That has now been changed to private.
Many classes have been made final because they were never actually extended.
## Error handling
The `Doctrine\RST\Environment::addError()` and `Doctrine\RST\Environment::addWarning()`
have been removed.
The `Doctrine\RST\ErrorManager::error()` and `Doctrine\RST\ErrorManager::warning()`
have an updated signature to support file name and line numbers.
Method `Doctrine\RST\ErrorManager::getErrors()` will return a list of `Doctrine\RST\Error`
instead of a list of strings.
# Upgrade to 0.4
## Refactored List Rendering