From 14454326e9d23dcfd1bfa20430c5aea0ddaa071d Mon Sep 17 00:00:00 2001 From: Gabriel Caruso Date: Tue, 6 Feb 2018 07:30:31 -0200 Subject: [PATCH] Fix misspellings --- UPGRADE-3.0.md | 2 +- lib/PhpParser/Error.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UPGRADE-3.0.md b/UPGRADE-3.0.md index 6099e85..9a2895f 100644 --- a/UPGRADE-3.0.md +++ b/UPGRADE-3.0.md @@ -4,7 +4,7 @@ Upgrading from PHP-Parser 2.x to 3.0 The backwards-incompatible changes in this release may be summarized as follows: * The specific details of the node representation have changed in some cases, primarily to - accomodate new PHP 7.1 features. + accommodate new PHP 7.1 features. * There have been significant changes to the error recovery implementation. This may affect you, if you used the error recovery mode or have a custom lexer implementation. * A number of deprecated methods were removed. diff --git a/lib/PhpParser/Error.php b/lib/PhpParser/Error.php index 24478e3..cedb412 100644 --- a/lib/PhpParser/Error.php +++ b/lib/PhpParser/Error.php @@ -61,7 +61,7 @@ class Error extends \RuntimeException } /** - * Sets the attributes of the node/token the error occured at. + * Sets the attributes of the node/token the error occurred at. * * @param array $attributes */