Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15383042
D11451.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
505 B
Referenced Files
None
Subscribers
None
D11451.id.diff
View Options
diff --git a/src/lint/linter/__tests__/ArcanistLinterTestCase.php b/src/lint/linter/__tests__/ArcanistLinterTestCase.php
--- a/src/lint/linter/__tests__/ArcanistLinterTestCase.php
+++ b/src/lint/linter/__tests__/ArcanistLinterTestCase.php
@@ -18,7 +18,7 @@
}
$linter = id(new ReflectionClass($matches[1]))
- ->newInstanceWithoutConstructor();
+ ->newInstance();
if (!$linter instanceof ArcanistLinter) {
throw new Exception(pht('Unable to infer linter class name.'));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 15, 3:22 PM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7398707
Default Alt Text
D11451.id.diff (505 B)
Attached To
Mode
D11451: Use newInstance instead of newInstanceWithoutConstructor
Attached
Detach File
Event Timeline
Log In to Comment