Page MenuHomePhabricator

D10452.id25138.diff
No OneTemporary

D10452.id25138.diff

diff --git a/src/future/http/status/HTTPFutureHTTPResponseStatus.php b/src/future/http/status/HTTPFutureHTTPResponseStatus.php
--- a/src/future/http/status/HTTPFutureHTTPResponseStatus.php
+++ b/src/future/http/status/HTTPFutureHTTPResponseStatus.php
@@ -25,8 +25,7 @@
$encoding = trim($match[1], "\"'");
try {
$excerpt = phutil_utf8_convert($excerpt, 'UTF-8', $encoding);
- } catch (Exception $ex) {
- }
+ } catch (Exception $ex) {}
}
$this->excerpt = phutil_utf8ize($excerpt);
diff --git a/src/markup/engine/PhutilRemarkupEngine.php b/src/markup/engine/PhutilRemarkupEngine.php
--- a/src/markup/engine/PhutilRemarkupEngine.php
+++ b/src/markup/engine/PhutilRemarkupEngine.php
@@ -259,9 +259,7 @@
return true;
}
}
- } catch (Exception $e) {
-
- }
+ } catch (Exception $e) {}
return false;
}
diff --git a/src/object/__tests__/PhutilTestPhobject.php b/src/object/__tests__/PhutilTestPhobject.php
--- a/src/object/__tests__/PhutilTestPhobject.php
+++ b/src/object/__tests__/PhutilTestPhobject.php
@@ -1,5 +1,3 @@
<?php
-final class PhutilTestPhobject extends Phobject {
-
-}
+final class PhutilTestPhobject extends Phobject {}
diff --git a/src/parser/PhutilTypeSpec.php b/src/parser/PhutilTypeSpec.php
--- a/src/parser/PhutilTypeSpec.php
+++ b/src/parser/PhutilTypeSpec.php
@@ -46,9 +46,7 @@
private $optional;
private $comment;
- private function __construct() {
-
- }
+ private function __construct() {}
public function getType() {
return $this->type;
diff --git a/src/parser/aast/api/AASTNodeList.php b/src/parser/aast/api/AASTNodeList.php
--- a/src/parser/aast/api/AASTNodeList.php
+++ b/src/parser/aast/api/AASTNodeList.php
@@ -48,9 +48,7 @@
return $obj;
}
- protected function __construct() {
-
- }
+ protected function __construct() {}
public function getDescription() {
if (empty($this->list)) {
diff --git a/src/serviceprofiler/PhutilServiceProfiler.php b/src/serviceprofiler/PhutilServiceProfiler.php
--- a/src/serviceprofiler/PhutilServiceProfiler.php
+++ b/src/serviceprofiler/PhutilServiceProfiler.php
@@ -12,8 +12,7 @@
private $logSize = 0;
private $discardMode = false;
- private function __construct() {
- }
+ private function __construct() {}
public function enableDiscardMode() {
$this->discardMode = true;

File Metadata

Mime Type
text/plain
Expires
Tue, Mar 18, 3:04 PM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7705615
Default Alt Text
D10452.id25138.diff (2 KB)

Event Timeline