]> khamidou — GitHub mirrors - arcanist.git/commit
Minor Arcanist fixes
authorepriestley <git@epriestley.com>
Thu, 29 Mar 2012 20:21:10 +0000 (13:21 -0700)
committerepriestley <git@epriestley.com>
Thu, 29 Mar 2012 20:21:10 +0000 (13:21 -0700)
commitff94d699feda745c482ca3792f65e8d42cf5e318
tree752b39a6693debe7a2cc135d72e67eea631112d7
parent30f036c6b96d71fead300382bcef87cdafc86c91
Minor Arcanist fixes

Summary:
Addresses concerns in rARCefb8219196abf047f14b505959e54d078e1df6d3:

  - As I recall, the intent of "generateFile" was that these warnings would replace all the other warnings for that file, under the theory that if one warning caused regeneration of
the file the other warnings were irrelevant.
  - However, this code never had any effect and I haven't seen any issues with the behavior.
  - So, just remove it.

Addresses concerns in rARC070e963d1c26879e47eab19a2377e388c2f166c5:

  - Ran "arc liberate --all".

Test Plan: Ran "arc lint" after removing an "__init__.php" with and without a "fixed" generateFile block, there was no behavioral change. So I just nuked it.

Reviewers: vrana, btrahan

Reviewed By: vrana

CC: aran, epriestley
Differential Revision: https://secure.phabricator.com/D2049
src/lint/linter/phutilmodule/ArcanistPhutilModuleLinter.php
src/lint/message/ArcanistLintMessage.php
src/lint/result/ArcanistLintResult.php
src/workflow/help/__init__.php