Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15400982
D10452.id25138.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D10452.id25138.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D10452: Apply some autofix linter rules
Attached
Detach File
Event Timeline
Log In to Comment