Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2697408
D25412.1734929204.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
937 B
Referenced Files
None
Subscribers
None
D25412.1734929204.diff
View Options
diff --git a/src/applications/diviner/storage/DivinerLiveSymbol.php b/src/applications/diviner/storage/DivinerLiveSymbol.php
--- a/src/applications/diviner/storage/DivinerLiveSymbol.php
+++ b/src/applications/diviner/storage/DivinerLiveSymbol.php
@@ -172,7 +172,7 @@
public function getTitle() {
$title = parent::getTitle();
- if (!strlen($title)) {
+ if (!phutil_nonempty_string($title)) {
$title = $this->getName();
}
diff --git a/src/applications/settings/setting/PhabricatorMonospacedFontSetting.php b/src/applications/settings/setting/PhabricatorMonospacedFontSetting.php
--- a/src/applications/settings/setting/PhabricatorMonospacedFontSetting.php
+++ b/src/applications/settings/setting/PhabricatorMonospacedFontSetting.php
@@ -25,7 +25,7 @@
}
public function validateTransactionValue($value) {
- if (!strlen($value)) {
+ if (!phutil_nonempty_string($value)) {
return;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 23, 04:46 (13 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1026716
Default Alt Text
D25412.1734929204.diff (937 B)
Attached To
Mode
D25412: PHP 8 and Diviner Technical Documentation
Attached
Detach File
Event Timeline
Log In to Comment