Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F17864515
D21501.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
475 B
Referenced Files
None
Subscribers
None
D21501.diff
View Options
diff --git a/src/utils/__tests__/PhutilUTF8TestCase.php b/src/utils/__tests__/PhutilUTF8TestCase.php
--- a/src/utils/__tests__/PhutilUTF8TestCase.php
+++ b/src/utils/__tests__/PhutilUTF8TestCase.php
@@ -498,6 +498,8 @@
phutil_utf8_convert('xyz', 'moon language', 'UTF-8');
} catch (Exception $ex) {
$caught = $ex;
+ } catch (Throwable $ex) {
+ $caught = $ex;
}
$this->assertTrue((bool)$caught, pht('Conversion with bogus encoding.'));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 29, 2:14 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8481047
Default Alt Text
D21501.diff (475 B)
Attached To
Mode
D21501: Fix PhutilUTF8TestCase::testUTF8Convert for PHP 8
Attached
Detach File
Event Timeline
Log In to Comment