mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-21 22:32: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:
parent
b60eaa6487
commit
ff1915ecff
19 changed files with 43 additions and 43 deletions
|
@ -11,11 +11,11 @@ insert_final_newline = true
|
|||
trim_trailing_whitespace = false
|
||||
insert_final_newline = false
|
||||
|
||||
[src/parser/__tests__/diff/*]
|
||||
[src/parser/__tests__/diff/*.{git,hg,svn,u}diff]
|
||||
trim_trailing_whitespace = false
|
||||
insert_final_newline = false
|
||||
|
||||
[src/parser/__tests__/patches/*]
|
||||
[src/parser/__tests__/patches/*.gitpatch]
|
||||
trim_trailing_whitespace = false
|
||||
insert_final_newline = false
|
||||
|
||||
|
|
|
@ -169,11 +169,11 @@ final class PhpunitResultParser extends ArcanistBaseTestResultParser {
|
|||
private function getJsonReport($json) {
|
||||
|
||||
if (empty($json)) {
|
||||
throw new Exception('JSON report file is empty, '
|
||||
. 'it probably means that phpunit failed to run tests. '
|
||||
. 'Try running arc unit with --trace option and then run '
|
||||
. 'generated phpunit command yourself, you might get the '
|
||||
. 'answer.'
|
||||
throw new Exception('JSON report file is empty, '.
|
||||
'it probably means that phpunit failed to run tests. '.
|
||||
'Try running arc unit with --trace option and then run '.
|
||||
'generated phpunit command yourself, you might get the '.
|
||||
'answer.'
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue