Page MenuHomePhabricator

D14065.id34005.diff
No OneTemporary

D14065.id34005.diff

diff --git a/src/lint/linter/ArcanistLinter.php b/src/lint/linter/ArcanistLinter.php
--- a/src/lint/linter/ArcanistLinter.php
+++ b/src/lint/linter/ArcanistLinter.php
@@ -197,39 +197,6 @@
}
- /**
- * Obsolete hook which was invoked before a path was linted.
- *
- * WARNING: This is an obsolete hook which is not called. If you maintain
- * a linter which relies on it, update to use @{method:lintPath} instead.
- *
- * @task exec
- */
- final public function willLintPath($path) {
- // TODO: Remove this method after some time. In the meantime, the "final"
- // will fatal subclasses which implement this hook and point at the API
- // change so maintainers get fewer surprises.
- throw new PhutilMethodNotImplementedException();
- }
-
-
- /**
- * Obsolete hook which was invoked after linters ran.
- *
- * WARNING: This is an obsolete hook which is not called. If you maintain
- * a linter which relies on it, update to use @{method:didLintPaths} instead.
- *
- * @return void
- * @task exec
- */
- final public function didRunLinters() {
- // TODO: Remove this method after some time. In the meantime, the "final"
- // will fatal subclasses which implement this hook and point at the API
- // change so maintainers get fewer surprises.
- throw new PhutilMethodNotImplementedException();
- }
-
-
public function getLinterPriority() {
return 1.0;
}

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 15, 7:46 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7702751
Default Alt Text
D14065.id34005.diff (1 KB)

Event Timeline