summaryrefslogtreecommitdiff
path: root/ext/tidy
diff options
context:
space:
mode:
authorMarc Easen <marc@easen.co.uk>2012-06-11 21:47:40 +0100
committerStanislav Malyshev <stas@php.net>2012-06-30 16:54:03 -0700
commit896ac689c91967dec0601fa9fe048c518da52a3c (patch)
tree0713aa9ce09ce390ef5325d0040be4052f8862d5 /ext/tidy
parentb8d453d8d4b6a67531aa1c2d0d7bab1e25ed1d4f (diff)
downloadphp-git-896ac689c91967dec0601fa9fe048c518da52a3c.tar.gz
Fixed the common misspelling of the word occurred (occured -> occurred)
Diffstat (limited to 'ext/tidy')
-rw-r--r--ext/tidy/examples/cleanhtml.php2
-rw-r--r--ext/tidy/examples/cleanhtml5.php2
-rw-r--r--ext/tidy/tidy.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/tidy/examples/cleanhtml.php b/ext/tidy/examples/cleanhtml.php
index 9a6713dc55..2644210cbf 100644
--- a/ext/tidy/examples/cleanhtml.php
+++ b/ext/tidy/examples/cleanhtml.php
@@ -26,7 +26,7 @@
if(tidy_warning_count() ||
tidy_error_count()) {
- echo "\n\nThe following errors or warnings occured:\n";
+ echo "\n\nThe following errors or warnings occurred:\n";
echo tidy_get_error_buffer();
echo "\n";
}
diff --git a/ext/tidy/examples/cleanhtml5.php b/ext/tidy/examples/cleanhtml5.php
index 4dfd7643e1..2ce683acad 100644
--- a/ext/tidy/examples/cleanhtml5.php
+++ b/ext/tidy/examples/cleanhtml5.php
@@ -25,7 +25,7 @@
if(!empty($tidy->errorBuffer)) {
- echo "\n\nThe following errors or warnings occured:\n";
+ echo "\n\nThe following errors or warnings occurred:\n";
echo "{$tidy->errorBuffer}\n";
}
diff --git a/ext/tidy/tidy.c b/ext/tidy/tidy.c
index 5ac1a69196..72d8f5db66 100644
--- a/ext/tidy/tidy.c
+++ b/ext/tidy/tidy.c
@@ -1238,7 +1238,7 @@ static PHP_FUNCTION(tidy_parse_string)
/* }}} */
/* {{{ proto string tidy_get_error_buffer()
- Return warnings and errors which occured parsing the specified document*/
+ Return warnings and errors which occurred parsing the specified document*/
static PHP_FUNCTION(tidy_get_error_buffer)
{
TIDY_FETCH_OBJECT;