summaryrefslogtreecommitdiff
path: root/ext/pcre/tests
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-09-18 14:28:32 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-09-18 14:28:32 +0200
commitc5401854fcea27ff9aabfd0682ff4d81bbb3c888 (patch)
treef6b8e94b80d682da470133f0771fa83182d2226e /ext/pcre/tests
parentbfceb710becab71d7d561d64667be4c9668b6a9c (diff)
downloadphp-git-c5401854fcea27ff9aabfd0682ff4d81bbb3c888.tar.gz
Run tidy
This should fix most of the remaining issues with tabs and spaces being mixed in tests.
Diffstat (limited to 'ext/pcre/tests')
-rw-r--r--ext/pcre/tests/007.phpt2
-rw-r--r--ext/pcre/tests/backtrack_limit.phpt2
-rw-r--r--ext/pcre/tests/bug27103.phpt2
-rw-r--r--ext/pcre/tests/bug72463.phpt2
-rw-r--r--ext/pcre/tests/bug72463_2.phpt2
-rw-r--r--ext/pcre/tests/bug76850.phpt8
-rw-r--r--ext/pcre/tests/bug76909.phpt2
-rw-r--r--ext/pcre/tests/bug77193.phpt6
-rw-r--r--ext/pcre/tests/check_jit_enabled.phpt2
-rw-r--r--ext/pcre/tests/errors04.phpt2
-rw-r--r--ext/pcre/tests/errors05.phpt2
-rw-r--r--ext/pcre/tests/invalid_utf8.phpt2
-rw-r--r--ext/pcre/tests/invalid_utf8_offset.phpt2
-rw-r--r--ext/pcre/tests/pcre_anchored.phpt2
-rw-r--r--ext/pcre/tests/preg_match_error3.phpt2
-rw-r--r--ext/pcre/tests/preg_replace2.phpt2
-rw-r--r--ext/pcre/tests/recursion_limit.phpt2
17 files changed, 22 insertions, 22 deletions
diff --git a/ext/pcre/tests/007.phpt b/ext/pcre/tests/007.phpt
index bc213ad0e0..d2bfb7ee6f 100644
--- a/ext/pcre/tests/007.phpt
+++ b/ext/pcre/tests/007.phpt
@@ -3,7 +3,7 @@ preg_replace_callback() with callback that modifies subject string
--SKIPIF--
<?php
if (@preg_match('/./u', '') === false) {
- die('skip no utf8 support in PCRE library');
+ die('skip no utf8 support in PCRE library');
}
?>
--FILE--
diff --git a/ext/pcre/tests/backtrack_limit.phpt b/ext/pcre/tests/backtrack_limit.phpt
index 3f0d8e6446..3b6f7786a2 100644
--- a/ext/pcre/tests/backtrack_limit.phpt
+++ b/ext/pcre/tests/backtrack_limit.phpt
@@ -3,7 +3,7 @@ Backtracking limit
--SKIPIF--
<?php
if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) {
- die("skip no support for \p support PCRE library");
+ die("skip no support for \p support PCRE library");
}
?>
--INI--
diff --git a/ext/pcre/tests/bug27103.phpt b/ext/pcre/tests/bug27103.phpt
index 0b706010a0..9ba70f7a64 100644
--- a/ext/pcre/tests/bug27103.phpt
+++ b/ext/pcre/tests/bug27103.phpt
@@ -3,7 +3,7 @@ Bug #27103 (preg_split('//u') incorrectly splits UTF-8 strings into octets)
--SKIPIF--
<?php
if (@preg_match('/./u', '') === false) {
- die('skip no utf8 support in PCRE library');
+ die('skip no utf8 support in PCRE library');
}
?>
--FILE--
diff --git a/ext/pcre/tests/bug72463.phpt b/ext/pcre/tests/bug72463.phpt
index b40a721998..156b692ab0 100644
--- a/ext/pcre/tests/bug72463.phpt
+++ b/ext/pcre/tests/bug72463.phpt
@@ -3,7 +3,7 @@ Bug #72463 mail fails with invalid argument
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) == "WIN") {
- die('skip not for windows');
+ die('skip not for windows');
}
?>
--INI--
diff --git a/ext/pcre/tests/bug72463_2.phpt b/ext/pcre/tests/bug72463_2.phpt
index 1baeb0f2a1..3cc87b47ac 100644
--- a/ext/pcre/tests/bug72463_2.phpt
+++ b/ext/pcre/tests/bug72463_2.phpt
@@ -3,7 +3,7 @@ Bug #72463 mail fails with invalid argument
--SKIPIF--
<?php
if(substr(PHP_OS, 0, 3) != "WIN") {
- die('skip windows only');
+ die('skip windows only');
}
?>
--INI--
diff --git a/ext/pcre/tests/bug76850.phpt b/ext/pcre/tests/bug76850.phpt
index 50c62ad1b3..acceb2da71 100644
--- a/ext/pcre/tests/bug76850.phpt
+++ b/ext/pcre/tests/bug76850.phpt
@@ -2,10 +2,10 @@
Bug #76850 Exit code mangled by set locale/preg_match
--SKIPIF--
<?php
- $l = setlocale(LC_CTYPE, 0);
- if ("C" == $l) {
- die("skip need the current locale to be other than C");
- }
+ $l = setlocale(LC_CTYPE, 0);
+ if ("C" == $l) {
+ die("skip need the current locale to be other than C");
+ }
?>
--FILE--
<?php
diff --git a/ext/pcre/tests/bug76909.phpt b/ext/pcre/tests/bug76909.phpt
index 5109bed3a7..b2f22381c5 100644
--- a/ext/pcre/tests/bug76909.phpt
+++ b/ext/pcre/tests/bug76909.phpt
@@ -3,7 +3,7 @@ Bug #76909 preg_match difference between 7.3 and < 7.3
--SKIPIF--
<?php
if(!ini_get("pcre.jit")) {
- echo "skip JIT is disabled";
+ echo "skip JIT is disabled";
}
?>
--FILE--
diff --git a/ext/pcre/tests/bug77193.phpt b/ext/pcre/tests/bug77193.phpt
index 4fdb603b85..ddceb6141f 100644
--- a/ext/pcre/tests/bug77193.phpt
+++ b/ext/pcre/tests/bug77193.phpt
@@ -2,9 +2,9 @@
Bug #77193 Infinite loop in preg_replace_callback
--SKIPIF--
<?php
- if (!extension_loaded("filter")) {
- die("skip need filter extension");
- }
+ if (!extension_loaded("filter")) {
+ die("skip need filter extension");
+ }
?>
--FILE--
<?php
diff --git a/ext/pcre/tests/check_jit_enabled.phpt b/ext/pcre/tests/check_jit_enabled.phpt
index de6e263e70..9cd249ea92 100644
--- a/ext/pcre/tests/check_jit_enabled.phpt
+++ b/ext/pcre/tests/check_jit_enabled.phpt
@@ -3,7 +3,7 @@ Check for JIT enablement status
--SKIPIF--
<?php
if (ini_get("pcre.jit") === FALSE) {
- die("skip no jit built");
+ die("skip no jit built");
}
--FILE--
<?php
diff --git a/ext/pcre/tests/errors04.phpt b/ext/pcre/tests/errors04.phpt
index 340b084098..9e784deee8 100644
--- a/ext/pcre/tests/errors04.phpt
+++ b/ext/pcre/tests/errors04.phpt
@@ -3,7 +3,7 @@ Test preg_match_all() function : error conditions - Backtracking limit
--SKIPIF--
<?php
if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) {
- die("skip no support for \p support PCRE library");
+ die("skip no support for \p support PCRE library");
}
?>
--INI--
diff --git a/ext/pcre/tests/errors05.phpt b/ext/pcre/tests/errors05.phpt
index 13fabc4f30..dc60c24938 100644
--- a/ext/pcre/tests/errors05.phpt
+++ b/ext/pcre/tests/errors05.phpt
@@ -3,7 +3,7 @@ Test preg_match() function : error conditions - jit stacklimit exhausted
--SKIPIF--
<?php
if (ini_get('pcre.jit') === false) {
- die("skip no jit built");
+ die("skip no jit built");
}
?>
--INI--
diff --git a/ext/pcre/tests/invalid_utf8.phpt b/ext/pcre/tests/invalid_utf8.phpt
index f24042a3bd..1a5124daaa 100644
--- a/ext/pcre/tests/invalid_utf8.phpt
+++ b/ext/pcre/tests/invalid_utf8.phpt
@@ -3,7 +3,7 @@ preg_replace() and invalid UTF8
--SKIPIF--
<?php
if (@preg_match('/./u', '') === false) {
- die('skip no utf8 support in PCRE library');
+ die('skip no utf8 support in PCRE library');
}
?>
--FILE--
diff --git a/ext/pcre/tests/invalid_utf8_offset.phpt b/ext/pcre/tests/invalid_utf8_offset.phpt
index 2b9e7fa239..311a6d73d6 100644
--- a/ext/pcre/tests/invalid_utf8_offset.phpt
+++ b/ext/pcre/tests/invalid_utf8_offset.phpt
@@ -3,7 +3,7 @@ preg_replace() and invalid UTF8 offset
--SKIPIF--
<?php
if (@preg_match('/./u', '') === false) {
- die('skip no utf8 support in PCRE library');
+ die('skip no utf8 support in PCRE library');
}
?>
--FILE--
diff --git a/ext/pcre/tests/pcre_anchored.phpt b/ext/pcre/tests/pcre_anchored.phpt
index c03d13501a..7852cd6d62 100644
--- a/ext/pcre/tests/pcre_anchored.phpt
+++ b/ext/pcre/tests/pcre_anchored.phpt
@@ -3,7 +3,7 @@ A (PCRE_ANCHORED) modifier
--SKIPIF--
<?php
if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) {
- die("skip no support for \p support PCRE library");
+ die("skip no support for \p support PCRE library");
}
?>
--FILE--
diff --git a/ext/pcre/tests/preg_match_error3.phpt b/ext/pcre/tests/preg_match_error3.phpt
index 8b9d59fc58..cf9c29a112 100644
--- a/ext/pcre/tests/preg_match_error3.phpt
+++ b/ext/pcre/tests/preg_match_error3.phpt
@@ -3,7 +3,7 @@ Test preg_match() function : error conditions - jit stacklimit exhausted
--SKIPIF--
<?php
if (ini_get("pcre.jit") === FALSE) {
- die("skip no jit built");
+ die("skip no jit built");
}
?>
--INI--
diff --git a/ext/pcre/tests/preg_replace2.phpt b/ext/pcre/tests/preg_replace2.phpt
index ac88e876e6..e38c4788cb 100644
--- a/ext/pcre/tests/preg_replace2.phpt
+++ b/ext/pcre/tests/preg_replace2.phpt
@@ -3,7 +3,7 @@ preg_replace()
--SKIPIF--
<?php
if (@preg_match('/./u', '') === false) {
- die('skip no utf8 support in PCRE library');
+ die('skip no utf8 support in PCRE library');
}
?>
--FILE--
diff --git a/ext/pcre/tests/recursion_limit.phpt b/ext/pcre/tests/recursion_limit.phpt
index 294931388d..5d08f1771b 100644
--- a/ext/pcre/tests/recursion_limit.phpt
+++ b/ext/pcre/tests/recursion_limit.phpt
@@ -3,7 +3,7 @@ PCRE Recursion limit
--SKIPIF--
<?php
if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) {
- die("skip no support for \p support PCRE library");
+ die("skip no support for \p support PCRE library");
}
?>
--INI--