Page MenuHomePhabricator

D20557.diff
No OneTemporary

D20557.diff

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
@@ -26,8 +26,8 @@
* Executes all tests from the specified subdirectory. If a linter is not
* explicitly specified, it will be inferred from the name of the test class.
*/
- protected function executeTestsInDirectory($root) {
- $linter = $this->getLinter();
+ protected function executeTestsInDirectory($root, ArcanistLinter $linter = null) {
+ $linter = coalesce($linter, $this->getLinter());
$files = id(new FileFinder($root))
->withType('f')

File Metadata

Mime Type
text/plain
Expires
Jul 28 2025, 7:14 PM (4 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
8680248
Default Alt Text
D20557.diff (718 B)

Event Timeline