Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F18766040
D11451.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.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
Oct 8 2025, 2:37 PM (14 w, 19 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8545526
Default Alt Text
D11451.diff (505 B)
Attached To
Mode
D11451: Use newInstance instead of newInstanceWithoutConstructor
Attached
Detach File
Event Timeline
Log In to Comment