summaryrefslogtreecommitdiff
path: root/ext/gettext
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-02-03 22:52:20 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-02-03 22:52:20 +0100
commitf8d795820e780a6322e054c26c581570613c14f0 (patch)
tree99d3ae01ce564752807341c5743863b4c92513f8 /ext/gettext
parentd2cb200e10ada6fa44c54a29292bb4665728fff0 (diff)
downloadphp-git-f8d795820e780a6322e054c26c581570613c14f0.tar.gz
Reindent phpt files
Diffstat (limited to 'ext/gettext')
-rw-r--r--ext/gettext/tests/bug66267.phpt18
-rw-r--r--ext/gettext/tests/gettext_bind_textdomain_codeset-retval.phpt6
2 files changed, 12 insertions, 12 deletions
diff --git a/ext/gettext/tests/bug66267.phpt b/ext/gettext/tests/bug66267.phpt
index 30a839390b..749f4cd1a2 100644
--- a/ext/gettext/tests/bug66267.phpt
+++ b/ext/gettext/tests/bug66267.phpt
@@ -27,17 +27,17 @@ $domain = 'domain';
$loc = ["de_DE", "fr_FR", "en_US"];
foreach ($loc as $l) {
- putenv("LC_ALL=$l");
- setlocale(LC_ALL, $l);
+ putenv("LC_ALL=$l");
+ setlocale(LC_ALL, $l);
- $path = realpath(__DIR__ . DIRECTORY_SEPARATOR . "66265");
- bindtextdomain($domain, $path);
- bind_textdomain_codeset($domain, "UTF-8");
- textdomain($domain);
+ $path = realpath(__DIR__ . DIRECTORY_SEPARATOR . "66265");
+ bindtextdomain($domain, $path);
+ bind_textdomain_codeset($domain, "UTF-8");
+ textdomain($domain);
- echo 'LC_ALL=', getenv('LC_ALL'), "\n";
- echo 'hello=', _('hello'), "\n";
- echo "\n";
+ echo 'LC_ALL=', getenv('LC_ALL'), "\n";
+ echo 'hello=', _('hello'), "\n";
+ echo "\n";
}
?>
diff --git a/ext/gettext/tests/gettext_bind_textdomain_codeset-retval.phpt b/ext/gettext/tests/gettext_bind_textdomain_codeset-retval.phpt
index 822e412d83..498568294a 100644
--- a/ext/gettext/tests/gettext_bind_textdomain_codeset-retval.phpt
+++ b/ext/gettext/tests/gettext_bind_textdomain_codeset-retval.phpt
@@ -8,10 +8,10 @@ test if bind_textdomain_codeset() returns correct value
?>
--FILE--
<?php
- var_dump(bind_textdomain_codeset(false,false));
- var_dump(bind_textdomain_codeset('messages', "UTF-8"));
+ var_dump(bind_textdomain_codeset(false,false));
+ var_dump(bind_textdomain_codeset('messages', "UTF-8"));
- echo "Done\n";
+ echo "Done\n";
?>
--EXPECT--
bool(false)