1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-22 06:42:41 +01:00

Apply various linter fixes.

Summary: Applied various linter fixes. Also make the `.editorconfig` file a bit more specific. Unfortunately, `arc lint --apply-patches` currently modifies some test data that it shouldn't, but this should be fixed after T5105.

Test Plan: Ran `arc unit` to make sure things weren't broken.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin, aurelijus

Differential Revision: https://secure.phabricator.com/D9440
This commit is contained in:
Joshua Spence 2014-06-10 11:02:42 -07:00 committed by epriestley
parent b60eaa6487
commit ff1915ecff
19 changed files with 43 additions and 43 deletions

View file

@ -11,11 +11,11 @@ insert_final_newline = true
trim_trailing_whitespace = false trim_trailing_whitespace = false
insert_final_newline = false insert_final_newline = false
[src/parser/__tests__/diff/*] [src/parser/__tests__/diff/*.{git,hg,svn,u}diff]
trim_trailing_whitespace = false trim_trailing_whitespace = false
insert_final_newline = false insert_final_newline = false
[src/parser/__tests__/patches/*] [src/parser/__tests__/patches/*.gitpatch]
trim_trailing_whitespace = false trim_trailing_whitespace = false
insert_final_newline = false insert_final_newline = false

View file

@ -169,11 +169,11 @@ final class PhpunitResultParser extends ArcanistBaseTestResultParser {
private function getJsonReport($json) { private function getJsonReport($json) {
if (empty($json)) { if (empty($json)) {
throw new Exception('JSON report file is empty, ' throw new Exception('JSON report file is empty, '.
. 'it probably means that phpunit failed to run tests. ' 'it probably means that phpunit failed to run tests. '.
. 'Try running arc unit with --trace option and then run ' 'Try running arc unit with --trace option and then run '.
. 'generated phpunit command yourself, you might get the ' 'generated phpunit command yourself, you might get the '.
. 'answer.' 'answer.'
); );
} }