arc lint
Exception
Some linters failed:
- ArcanistPhpcsLinter: CommandException: Command failed with error #1!
COMMAND
'/usr/bin/phpcs' --report=xml --standard=Gamma '/sources/mailers/mailer/framework/application/modules/stats/controllers/CampaignController.php'
STDOUT
<?xml version="1.0" encoding="UTF-8"?>
<phpcs version="1.4.5">
<file name="/sources/mailers/mailer/framework/application/modules/stats/controllers/CampaignController.php" errors="29" warnings="51">
<error line="1" column="1" source="Gamma.VersionControl.SubversionProperties" severity="5">Missing Subversion property "svn:keywords" = "Author Date Id Revision URL"</error>
<warning line="26" column="1" source="Gamma.Classes.ClassFileName" severity="5">Class name doesn't match filename. Expected "class _sources_mailers_mailer_framework_application_modules_stats_controllers_CampaignController".</warning>
<warning line="132" column="124" source="Generic.Files.LineLength.TooLong" severity="5">Line exceeds 120 characters; contains 123 characters</warning>
<error line="136" column="181" source="Generic.Files.LineLength.MaxExceeded" severity="5">Line exceeds maximum limit of 160 characters; contains 180 characters</error>
<warning line="153" column="138" ... (12,508 more bytes) ...
STDERR
(empty)
(Run with --trace for a full exception trace.)
arc lint --trace
libphutil loaded from '/sources/local/gguzman.gamma.net/libphutil/src'.
arcanist loaded from '/sources/local/gguzman.gamma.net/arcanist/src'.
Loading phutil library from '/sources/mailers/mailer/vendor/libcustom/src'...
>>> [0] <exec> $ git rev-parse --show-cdup
<<< [0] <exec> 3,859 us
>>> [1] <exec> $ git rev-parse --verify HEAD^
<<< [1] <exec> 5,518 us
>>> [2] <exec> $ git rev-parse --abbrev-ref --symbolic-full-name '@{upstream}'
<<< [2] <exec> 5,151 us
>>> [3] <exec> $ git rev-parse --git-dir
<<< [3] <exec> 4,914 us
>>> [4] <exec> $ git cat-file -t 'HEAD^'
<<< [4] <exec> 5,484 us
>>> [5] <exec> $ git merge-base 'HEAD^' HEAD
<<< [5] <exec> 5,856 us
>>> [6] <exec> $ git diff --no-ext-diff --no-textconv --raw '6694d3eaac1a6afdbad
22e9dfcb6c0d19a234b19' --
<<< [6] <exec> 31,935 us
>>> [7] <exec> $ git diff --no-ext-diff --no-textconv --raw 'HEAD' --
>>> [8] <exec> $ git ls-files --others --exclude-standard
>>> [9] <exec> $ git ls-files -m
<<< [9] <exec> 19,387 us
<<< [8] <exec> 26,303 us
<<< [7] <exec> 30,936 us
>>> [10] <exec> $ git diff --no-ext-diff --no-textconv --no-color --src-prefix=a
/ --dst-prefix=b/ -U32767 -M -C '6694d3eaac1a6afdbad22e9dfcb6c0d19a234b19' --
<<< [10] <exec> 32,116 us
>>> [11] <lint> ArcanistPhpcsLinter <paths = 1>
>>> [12] <exec> $ which '/usr/bin/phpcs'
<<< [12] <exec> 3,798 us
>>> [13] <exec> $ '/usr/bin/phpcs' --report=xml --standard=Gamma '/sources/mail
ers/mailer/framework/application/modules/stats/controllers/CampaignController.ph
p'
<<< [11] <lint> 6,674 us
>>> [14] <lint> ArcanistPhpcsLinter
<<< [13] <exec> 2,508,327 us
<<< [14] <lint> 2,509,711 us
[2013-11-12 20:03:01] EXCEPTION: (PhutilAggregateException) Some linters failed:
- ArcanistPhpcsLinter: CommandException: Command failed with error #1!
COMMAND
'/usr/bin/phpcs' --report=xml --standard=Gamma '/sources/mailers/mailer/f
ramework/application/modules/stats/controllers/CampaignController.php'
STDOUT
<?xml version="1.0" encoding="UTF-8"?>
<phpcs version="1.4.5">
<file name="/sources/mailers/mailer/framework/application/modules/stats/c
ontrollers/CampaignController.php" errors="29" warnings="51">
<error line="1" column="1" source="Gamma.VersionControl.SubversionProper
ties" severity="5">Missing Subversion property "svn:keywords" = "
Author Date Id Revision URL"</error>
<warning line="26" column="1" source="Gamma.Classes.ClassFileName" sever
ity="5">Class name doesn't match filename. Expected "class _sources_mailers
_mailer_framework_application_modules_stats_controllers_CampaignController"
.</warning>
<warning line="132" column="124" source="Generic.Files.LineLength.TooLon
g" severity="5">Line exceeds 120 characters; contains 123 characters</warning>
<error line="136" column="181" source="Generic.Files.LineLength.MaxExcee
ded" severity="5">Line exceeds maximum limit of 160 characters; contains 180 cha
racters</error>
<warning line="153" column="138" ... (12,508 more bytes) ...
STDERR
(empty) at [/sources/local/gguzman.gamma.net/arcanist/src/lint/engine/Arca
nistLintEngine.php:370]
#0 ArcanistLintEngine::run() called at [/sources/local/gguzman.gamma.net/arcan
ist/src/workflow/ArcanistLintWorkflow.php:359]
#1 ArcanistLintWorkflow::run() called at [/sources/local/gguzman.gamma.net/arc
anist/scripts/arcanist.php:318]