summaryrefslogtreecommitdiff
path: root/ext/opcache
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-14 17:23:43 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-14 19:44:14 +0200
commit17ccbeec3242b80f84fbf6b3acd58421ef003b02 (patch)
tree8fed8d7515c6603fd4a50eb0f8177883bc6da336 /ext/opcache
parentcc7215f48f66982f0b7799c47d8fa4c09a32a3c7 (diff)
downloadphp-git-17ccbeec3242b80f84fbf6b3acd58421ef003b02.tar.gz
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/opcache')
-rw-r--r--ext/opcache/tests/blacklist-win32.phpt4
-rw-r--r--ext/opcache/tests/blacklist.phpt4
-rw-r--r--ext/opcache/tests/bug64482.phpt2
-rw-r--r--ext/opcache/tests/bug69038.phpt2
-rw-r--r--ext/opcache/tests/bug74980.phpt2
-rw-r--r--ext/opcache/tests/compact_literals.phpt4
-rw-r--r--ext/opcache/tests/zzz_basic_logging.phpt2
7 files changed, 10 insertions, 10 deletions
diff --git a/ext/opcache/tests/blacklist-win32.phpt b/ext/opcache/tests/blacklist-win32.phpt
index fab0698f7f..7fbe5dbd29 100644
--- a/ext/opcache/tests/blacklist-win32.phpt
+++ b/ext/opcache/tests/blacklist-win32.phpt
@@ -13,8 +13,8 @@ opcache.file_cache_only=0
<?php
$conf = opcache_get_configuration();
$conf = $conf['blacklist'];
-$conf[3] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[3]);
-$conf[4] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[4]);
+$conf[3] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[3]);
+$conf[4] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[4]);
print_r($conf);
include("blacklist.inc");
$status = opcache_get_status();
diff --git a/ext/opcache/tests/blacklist.phpt b/ext/opcache/tests/blacklist.phpt
index 4e9a0f16fc..da3ef47c99 100644
--- a/ext/opcache/tests/blacklist.phpt
+++ b/ext/opcache/tests/blacklist.phpt
@@ -13,8 +13,8 @@ opcache.file_cache_only=0
<?php
$conf = opcache_get_configuration();
$conf = $conf['blacklist'];
-$conf[3] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[3]);
-$conf[4] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[4]);
+$conf[3] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[3]);
+$conf[4] = preg_replace("!^\\Q".dirname(__FILE__)."\\E!", "__DIR__", $conf[4]);
print_r($conf);
include("blacklist.inc");
$status = opcache_get_status();
diff --git a/ext/opcache/tests/bug64482.phpt b/ext/opcache/tests/bug64482.phpt
index fa722f6d45..e328c9fc1d 100644
--- a/ext/opcache/tests/bug64482.phpt
+++ b/ext/opcache/tests/bug64482.phpt
@@ -6,7 +6,7 @@ opcache.enable_cli=1
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
-<?php
+<?php
include 'bug64482.inc';
echo "\n";
include 'php://filter/read=string.toupper/resource=bug64482.inc';
diff --git a/ext/opcache/tests/bug69038.phpt b/ext/opcache/tests/bug69038.phpt
index ab625d74b0..1670a9eca6 100644
--- a/ext/opcache/tests/bug69038.phpt
+++ b/ext/opcache/tests/bug69038.phpt
@@ -9,7 +9,7 @@ opcache.optimization_level=-1
--FILE--
<?php
function a($a = "bad") {
-
+
switch (PHP_OS) {
case "LALALALA" : return "LALALAL";
case PHP_OS: return "okey";
diff --git a/ext/opcache/tests/bug74980.phpt b/ext/opcache/tests/bug74980.phpt
index 40fd3cd537..e82e234bdd 100644
--- a/ext/opcache/tests/bug74980.phpt
+++ b/ext/opcache/tests/bug74980.phpt
@@ -16,7 +16,7 @@ class A
while ($undef) {
$arr[][] = NULL;
}
-
+
foreach ($arr as $a) {
bar($a + []);
}
diff --git a/ext/opcache/tests/compact_literals.phpt b/ext/opcache/tests/compact_literals.phpt
index 367331f742..0aabb22b50 100644
--- a/ext/opcache/tests/compact_literals.phpt
+++ b/ext/opcache/tests/compact_literals.phpt
@@ -65,7 +65,7 @@ function get_eol_define() {
get_eol_define();
define("EOL", MY_EOL);
-echo "constants define" . ":" . EOL;
+echo "constants define" . ":" . EOL;
echo "define " . "TEST" . EOL;
define("TEST", "TEST");
@@ -150,7 +150,7 @@ var_dump($h::H);
var_dump(CH::H);
echo "-->I" . PHP_EOL;
-$h = geti();
+$h = geti();
$h->H();
var_dump($h::H);
var_dump(CI::H);
diff --git a/ext/opcache/tests/zzz_basic_logging.phpt b/ext/opcache/tests/zzz_basic_logging.phpt
index 809046ed57..e8d84a9304 100644
--- a/ext/opcache/tests/zzz_basic_logging.phpt
+++ b/ext/opcache/tests/zzz_basic_logging.phpt
@@ -1,7 +1,7 @@
--TEST--
Test basic logging for the Opcache
--DESCRIPTION--
-This test runs a simple PHP script and ensures the Opcache
+This test runs a simple PHP script and ensures the Opcache
outputs the correct logging at the highest log_verbosity_level
--INI--