Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15410053
D15945.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
520 B
Referenced Files
None
Subscribers
None
D15945.diff
View Options
diff --git a/src/parser/xhpast/bin/PhutilXHPASTBinary.php b/src/parser/xhpast/bin/PhutilXHPASTBinary.php
--- a/src/parser/xhpast/bin/PhutilXHPASTBinary.php
+++ b/src/parser/xhpast/bin/PhutilXHPASTBinary.php
@@ -42,12 +42,12 @@
$path,
array('SKIP_PARSER=1', 'SKIP_SCANNER=1', 'clean', 'all', 'install'));
+ self::$version = null;
+
// Test the binary.
if (!self::isAvailable()) {
throw new Exception(pht('%s is broken.', 'xhpast'));
}
-
- self::$version = null;
}
/**
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 6:43 AM (19 m, 46 s ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7685219
Default Alt Text
D15945.diff (520 B)
Attached To
Mode
D15945: Correctly detect new version of xhpast build
Attached
Detach File
Event Timeline
Log In to Comment