Skip to content

Commit

Permalink
Merge pull request #152 from Nyholm/upgrate-docs-error
Browse files Browse the repository at this point in the history
Added note about the updated Error Handling
  • Loading branch information
greg0ire authored May 16, 2021
2 parents c4ac6f1 + abc2ceb commit bc175a1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc175a1

Please sign in to comment.