Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13967939
D9655.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
568 B
Referenced Files
None
Subscribers
None
D9655.diff
View Options
diff --git a/src/lint/linter/ArcanistXHPASTLinter.php b/src/lint/linter/ArcanistXHPASTLinter.php
--- a/src/lint/linter/ArcanistXHPASTLinter.php
+++ b/src/lint/linter/ArcanistXHPASTLinter.php
@@ -467,7 +467,7 @@
if ($version && version_compare($version['min'], $this->version, '>')) {
$this->raiseLintAtNode(
$node,
- self::LINT_PHP_53_FEATURES,
+ self::LINT_PHP_COMPATIBILITY,
"This codebase targets PHP {$this->version}, but `{$name}` was not ".
"introduced until PHP {$version['min']}.");
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 17, 5:16 PM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6722802
Default Alt Text
D9655.diff (568 B)
Attached To
Mode
D9655: Minor fix for the `ArcanistXHPASTLinter`.
Attached
Detach File
Event Timeline
Log In to Comment