Page MenuHomePhabricator

D13806.diff
No OneTemporary

D13806.diff

diff --git a/resources/test/diverse_symbols.php b/resources/test/diverse_symbols.php
--- a/resources/test/diverse_symbols.php
+++ b/resources/test/diverse_symbols.php
@@ -14,7 +14,7 @@
function f() {}
-(function () {
+(function() {
// Anonymous function.
});
@@ -44,13 +44,13 @@
// Various magic things.
-die($x);
+exit($x);
empty($x);
isset($x);
-echo($x);
+echo $x;
print($x);
exit($x);
-include($x);
-include_once($x);
-require($x);
-require_once($x);
+include $x;
+include_once $x;
+require $x;
+require_once $x;
diff --git a/src/utils/__tests__/PhutilUtilsTestCase.php b/src/utils/__tests__/PhutilUtilsTestCase.php
--- a/src/utils/__tests__/PhutilUtilsTestCase.php
+++ b/src/utils/__tests__/PhutilUtilsTestCase.php
@@ -231,7 +231,7 @@
'InvalidArgumentException');
}
- public function testAssertStringLike () {
+ public function testAssertStringLike() {
$this->assertEqual(
null,
assert_stringlike(null));
diff --git a/src/utils/utf8.php b/src/utils/utf8.php
--- a/src/utils/utf8.php
+++ b/src/utils/utf8.php
@@ -738,7 +738,7 @@
unset($components[$index]);
$components = array_values($components);
- $index --;
+ $index--;
$array_length = count($components);
}
}

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 2:18 AM (19 h, 39 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6784681
Default Alt Text
D13806.diff (1 KB)

Event Timeline