Skip to content

Instantly share code, notes, and snippets.

@dhaley
Created January 5, 2015 23:04
Show Gist options
  • Save dhaley/2e6ec309ed897f7a5f4f to your computer and use it in GitHub Desktop.
Save dhaley/2e6ec309ed897f7a5f4f to your computer and use it in GitHub Desktop.
output from `C-c ! C-c` with Flycheck 0.22
-*- mode: compilation; default-directory: "~/sites/sws/sites/all/modules/custom/sws_fg/" -*-
Compilation started at Mon Jan 5 16:01:35
phpcs --report\=checkstyle --standard\=Drupal /Users/dhaley/sites/sws/sites/all/modules/custom/sws_fg/sws_fg.module
<?xml version="1.0" encoding="UTF-8"?>
<checkstyle version="1.4.2">
<file name="/Users/dhaley/sites/sws/sites/all/modules/custom/sws_fg/sws_fg.module">
<error line="2" column="1" severity="error" message="Missing file doc comment" source="Drupal.Commenting.FileComment.Missing"/>
<error line="28" column="1" severity="error" message="Missing function doc comment" source="Drupal.Commenting.FunctionComment.Missing"/>
<error line="319" column="11" severity="warning" message="Line exceeds 80 characters; contains 125 characters" source="Drupal.Files.LineLength.TooLong"/>
<error line="811" column="30" severity="warning" message="Only string literals should be passed to t() where possible" source="Drupal.Semantics.FunctionCall.NotLiteralString"/>
<error line="901" column="30" severity="warning" message="Only string literals should be passed to t() where possible" source="Drupal.Semantics.FunctionCall.NotLiteralString"/>
<error line="986" column="22" severity="error" message="The $text argument to l() should be enclosed within t() so that it is translatable" source="Drupal.Semantics.FunctionCall.LArg"/>
<error line="1012" column="9" severity="error" message="Inline comments must start with a capital letter" source="Drupal.Commenting.InlineComment.NotCapital"/>
<error line="1012" column="9" severity="error" message="Inline comments must end in full-stops, exclamation marks, or question marks" source="Drupal.Commenting.InlineComment.InvalidEndChar"/>
<error line="1725" column="5" severity="error" message="Missing function doc comment" source="Drupal.Commenting.FunctionComment.Missing"/>
<error line="1725" column="5" severity="error" message="Line indented incorrectly; expected 0 spaces, found 4" source="Drupal.WhiteSpace.ScopeIndent.Incorrect"/>
<error line="1726" column="7" severity="error" message="Line indented incorrectly; expected 2 spaces, found 6" source="Drupal.WhiteSpace.ScopeIndent.IncorrectExact"/>
<error line="1727" column="7" severity="error" message="Line indented incorrectly; expected 2 spaces, found 6" source="Drupal.WhiteSpace.ScopeIndent.IncorrectExact"/>
</file>
</checkstyle>
Compilation exited abnormally with code 1 at Mon Jan 5 16:01:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment