diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 18:03:31 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 19:46:15 +0200 |
commit | d7a3edd45db8d91ddf09cba7c594c63e63f62709 (patch) | |
tree | ef4fe3e4794260b362dad72d3542fdbef0169b8e /ext/pcre/tests | |
parent | b0708fa2e7b31f1fbd9539486a35d33643e62461 (diff) | |
download | php-git-d7a3edd45db8d91ddf09cba7c594c63e63f62709.tar.gz |
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/pcre/tests')
-rw-r--r-- | ext/pcre/tests/locales.phpt | 2 | ||||
-rw-r--r-- | ext/pcre/tests/pcre.constants.phpt | 2 | ||||
-rw-r--r-- | ext/pcre/tests/preg_grep_basic.phpt | 2 | ||||
-rw-r--r-- | ext/pcre/tests/preg_match_all_basic.phpt | 2 | ||||
-rw-r--r-- | ext/pcre/tests/preg_match_all_edit_basic.phpt | 6 | ||||
-rw-r--r-- | ext/pcre/tests/preg_match_all_error3.phpt | 2 | ||||
-rw-r--r-- | ext/pcre/tests/preg_match_basic.phpt | 2 | ||||
-rw-r--r-- | ext/pcre/tests/preg_match_basic_edit.phpt | 4 | ||||
-rw-r--r-- | ext/pcre/tests/preg_quote_basic.phpt | 2 | ||||
-rw-r--r-- | ext/pcre/tests/preg_quote_error.phpt | 2 | ||||
-rw-r--r-- | ext/pcre/tests/preg_replace_basic.phpt | 2 | ||||
-rw-r--r-- | ext/pcre/tests/preg_replace_callback_basic.phpt | 2 | ||||
-rw-r--r-- | ext/pcre/tests/preg_replace_callback_error.phpt | 2 | ||||
-rw-r--r-- | ext/pcre/tests/preg_replace_callback_error1.phpt | 2 | ||||
-rw-r--r-- | ext/pcre/tests/preg_replace_edit_basic.phpt | 4 | ||||
-rw-r--r-- | ext/pcre/tests/preg_split_basic.phpt | 2 |
16 files changed, 20 insertions, 20 deletions
diff --git a/ext/pcre/tests/locales.phpt b/ext/pcre/tests/locales.phpt index 6dcb2bf694..dcca892788 100644 --- a/ext/pcre/tests/locales.phpt +++ b/ext/pcre/tests/locales.phpt @@ -1,7 +1,7 @@ --TEST-- Localized match --SKIPIF-- -<?php +<?php if (!@setlocale(LC_ALL, 'pt_PT', 'pt', 'pt_PT.ISO8859-1', 'portuguese')) die('skip pt locale not available'); diff --git a/ext/pcre/tests/pcre.constants.phpt b/ext/pcre/tests/pcre.constants.phpt index 108f432253..ad012e7e69 100644 --- a/ext/pcre/tests/pcre.constants.phpt +++ b/ext/pcre/tests/pcre.constants.phpt @@ -1,5 +1,5 @@ --TEST-- -Test for pre-defined pcre constants +Test for pre-defined pcre constants --FILE-- <?php diff --git a/ext/pcre/tests/preg_grep_basic.phpt b/ext/pcre/tests/preg_grep_basic.phpt index fe9d7ceaa7..4874aa8ab6 100644 --- a/ext/pcre/tests/preg_grep_basic.phpt +++ b/ext/pcre/tests/preg_grep_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -Test preg_grep() function : basic functionality +Test preg_grep() function : basic functionality --FILE-- <?php /* diff --git a/ext/pcre/tests/preg_match_all_basic.phpt b/ext/pcre/tests/preg_match_all_basic.phpt index 773bad3053..63e9b6a6dd 100644 --- a/ext/pcre/tests/preg_match_all_basic.phpt +++ b/ext/pcre/tests/preg_match_all_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -Test preg_match_all() function : basic functionality +Test preg_match_all() function : basic functionality --FILE-- <?php /* diff --git a/ext/pcre/tests/preg_match_all_edit_basic.phpt b/ext/pcre/tests/preg_match_all_edit_basic.phpt index 1f59bf6aff..27034f90f1 100644 --- a/ext/pcre/tests/preg_match_all_edit_basic.phpt +++ b/ext/pcre/tests/preg_match_all_edit_basic.phpt @@ -1,9 +1,9 @@ --TEST-- -Test preg_match_all() function : basic functionality +Test preg_match_all() function : basic functionality --FILE-- <?php /* Prototype : proto int preg_match_all(string pattern, string subject, array subpatterns [, int flags [, int offset]]) - * Description: Perform a Perl-style global regular expression match + * Description: Perform a Perl-style global regular expression match * Source code: ext/pcre/php_pcre.c * Alias to functions: */ @@ -22,7 +22,7 @@ var_dump($match3); var_dump(preg_match_all('/\d{2}$/', $string, $match4)); //tries to find 2 digits at the end of a string (0 matches) var_dump($match4); -var_dump(preg_match_all('/(This is a ){2}(.*)\stest/', $string, $match5)); //tries to find "This is aThis is a [...] test" (0 matches) +var_dump(preg_match_all('/(This is a ){2}(.*)\stest/', $string, $match5)); //tries to find "This is aThis is a [...] test" (0 matches) var_dump($match5); ?> --EXPECT-- diff --git a/ext/pcre/tests/preg_match_all_error3.phpt b/ext/pcre/tests/preg_match_all_error3.phpt index 547ff03e44..6c1422b61a 100644 --- a/ext/pcre/tests/preg_match_all_error3.phpt +++ b/ext/pcre/tests/preg_match_all_error3.phpt @@ -1,5 +1,5 @@ --TEST-- -Test preg_match_all() function : error conditions +Test preg_match_all() function : error conditions --FILE-- <?php /* diff --git a/ext/pcre/tests/preg_match_basic.phpt b/ext/pcre/tests/preg_match_basic.phpt index c84c763851..939773f62e 100644 --- a/ext/pcre/tests/preg_match_basic.phpt +++ b/ext/pcre/tests/preg_match_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -Test preg_match() function : basic functionality +Test preg_match() function : basic functionality --FILE-- <?php /* diff --git a/ext/pcre/tests/preg_match_basic_edit.phpt b/ext/pcre/tests/preg_match_basic_edit.phpt index d08c474d61..d4339a8955 100644 --- a/ext/pcre/tests/preg_match_basic_edit.phpt +++ b/ext/pcre/tests/preg_match_basic_edit.phpt @@ -1,9 +1,9 @@ --TEST-- -Test preg_match() function : basic functionality +Test preg_match() function : basic functionality --FILE-- <?php /* Prototype : proto int preg_match(string pattern, string subject [, array subpatterns [, int flags [, int offset]]]) - * Description: Perform a Perl-style regular expression match + * Description: Perform a Perl-style regular expression match * Source code: ext/pcre/php_pcre.c * Alias to functions: */ diff --git a/ext/pcre/tests/preg_quote_basic.phpt b/ext/pcre/tests/preg_quote_basic.phpt index c78f5665c0..2697a80155 100644 --- a/ext/pcre/tests/preg_quote_basic.phpt +++ b/ext/pcre/tests/preg_quote_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -Test preg_quote() function : basic functionality +Test preg_quote() function : basic functionality --FILE-- <?php /* diff --git a/ext/pcre/tests/preg_quote_error.phpt b/ext/pcre/tests/preg_quote_error.phpt index 30b832dbf9..b5dd733b2f 100644 --- a/ext/pcre/tests/preg_quote_error.phpt +++ b/ext/pcre/tests/preg_quote_error.phpt @@ -1,5 +1,5 @@ --TEST-- -Test preg_quote() function : error conditions - wrong numbers of parameters +Test preg_quote() function : error conditions - wrong numbers of parameters --FILE-- <?php /* diff --git a/ext/pcre/tests/preg_replace_basic.phpt b/ext/pcre/tests/preg_replace_basic.phpt index 6962bce255..9c2eba47d8 100644 --- a/ext/pcre/tests/preg_replace_basic.phpt +++ b/ext/pcre/tests/preg_replace_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -Test preg_replace() function : basic functionality +Test preg_replace() function : basic functionality --FILE-- <?php /* diff --git a/ext/pcre/tests/preg_replace_callback_basic.phpt b/ext/pcre/tests/preg_replace_callback_basic.phpt index 21560572d5..c89fa8c12c 100644 --- a/ext/pcre/tests/preg_replace_callback_basic.phpt +++ b/ext/pcre/tests/preg_replace_callback_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -Test preg_replace_callback() function : basic functionality +Test preg_replace_callback() function : basic functionality --FILE-- <?php /* diff --git a/ext/pcre/tests/preg_replace_callback_error.phpt b/ext/pcre/tests/preg_replace_callback_error.phpt index 9371fcf1bf..2834eea4db 100644 --- a/ext/pcre/tests/preg_replace_callback_error.phpt +++ b/ext/pcre/tests/preg_replace_callback_error.phpt @@ -1,5 +1,5 @@ --TEST-- -Test preg_replace_callback() function : error +Test preg_replace_callback() function : error --FILE-- <?php /* diff --git a/ext/pcre/tests/preg_replace_callback_error1.phpt b/ext/pcre/tests/preg_replace_callback_error1.phpt index a00b97c1bb..add24fbc82 100644 --- a/ext/pcre/tests/preg_replace_callback_error1.phpt +++ b/ext/pcre/tests/preg_replace_callback_error1.phpt @@ -1,5 +1,5 @@ --TEST-- -Test preg_replace_callback() function : error +Test preg_replace_callback() function : error --FILE-- <?php /* diff --git a/ext/pcre/tests/preg_replace_edit_basic.phpt b/ext/pcre/tests/preg_replace_edit_basic.phpt index 0c0adee7ca..b272f379be 100644 --- a/ext/pcre/tests/preg_replace_edit_basic.phpt +++ b/ext/pcre/tests/preg_replace_edit_basic.phpt @@ -1,9 +1,9 @@ --TEST-- -Test preg_replace() function : basic +Test preg_replace() function : basic --FILE-- <?php /* Prototype : proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]]) - * Description: Perform Perl-style regular expression replacement. + * Description: Perform Perl-style regular expression replacement. * Source code: ext/pcre/php_pcre.c * Alias to functions: */ diff --git a/ext/pcre/tests/preg_split_basic.phpt b/ext/pcre/tests/preg_split_basic.phpt index 5d23ce6df1..c33640920b 100644 --- a/ext/pcre/tests/preg_split_basic.phpt +++ b/ext/pcre/tests/preg_split_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -Test preg_split() function : basic functionality +Test preg_split() function : basic functionality --FILE-- <?php /* |