Page MenuHomePhabricator

Simplified the logic in various functions.
ClosedPublic

Authored by joshuaspence on Mar 3 2014, 12:02 AM.
Tags
None
Referenced Files
F14843761: D8385.id19934.diff
Sun, Feb 2, 9:51 AM
F14843700: D8385.id19921.diff
Sun, Feb 2, 9:08 AM
Unknown Object (File)
Sun, Jan 26, 5:32 PM
Unknown Object (File)
Sun, Jan 26, 5:21 PM
Unknown Object (File)
Tue, Jan 21, 9:07 AM
Unknown Object (File)
Sat, Jan 18, 2:04 AM
Unknown Object (File)
Jan 2 2025, 8:39 AM
Unknown Object (File)
Dec 17 2024, 6:19 AM

Details

Summary
  • Tidied up ArcanistCSSLintLinter::getDefaultBinary.
  • Tidied up CSSLintLinter::getDefaultFlags function.
  • Tidied up ArcanistPhpcsLinter::getDefaultBinary function.
  • Tidied up ArcanistPEP8Linter::getDefaultFlags function
  • Tidied up ArcanistFlake8Linter::getDefaultFlags.
  • Tidied up ArcanistCppcheckLinter::getLintOptions.
  • Tidied up ArcanistCppcheckLinter::getLintPath.
  • Tidied up ArcanistCpplintLinter::getLintOptions.
  • Tidied up ArcanistCpplintLinter::getLintPath.
  • Removed child functions which are identical to the corresponding parent functions.
Test Plan

arc lint and arc unit.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Skipping php54.lint-test, all unit tests pass.

epriestley edited edge metadata.

Great, thanks!

This revision is now accepted and ready to land.Mar 4 2014, 6:59 PM