Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(421 errors, 86 warnings)

This section shows the coding style problems detected in the code by phpcs [More info]

mod/skype/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#82) Spaces must be used for alignment; tabs are not allowed
(#82) Tab found within whitespace
(#82) Whitespace found at end of line
(#84) A closing tag is not permitted at the end of a PHP file
mod/skype/db/install.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) 3 slashes comments are not allowed; use "// Comment." instead
(#33) Whitespace found at end of line
mod/skype/db/log.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#34) Expected 1 space before "=>"; 0 found
(#34) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
(#37) Expected 1 space before "=>"; 0 found
(#37) Expected 1 space after "=>"; 0 found
mod/skype/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Line indented incorrectly; expected at least 4 spaces, found 0
(#48) 3 slashes comments are not allowed; use "// Comment." instead
(#49) Line indented incorrectly; expected at least 4 spaces, found 0
(#49) 3 slashes comments are not allowed; use "// Comment." instead
(#50) Line indented incorrectly; expected at least 4 spaces, found 0
(#50) 3 slashes comments are not allowed; use "// Comment." instead
(#51) Line indented incorrectly; expected at least 4 spaces, found 0
(#51) 3 slashes comments are not allowed; use "// Comment." instead
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Line indented incorrectly; expected at least 4 spaces, found 0
(#53) 3 slashes comments are not allowed; use "// Comment." instead
(#54) Line indented incorrectly; expected at least 4 spaces, found 0
(#54) 3 slashes comments are not allowed; use "// Comment." instead
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Line indented incorrectly; expected at least 4 spaces, found 0
(#55) 3 slashes comments are not allowed; use "// Comment." instead
(#57) Line indented incorrectly; expected at least 4 spaces, found 0
(#57) 3 slashes comments are not allowed; use "// Comment." instead
(#58) Line indented incorrectly; expected at least 4 spaces, found 0
(#58) 3 slashes comments are not allowed; use "// Comment." instead
(#59) Line indented incorrectly; expected at least 4 spaces, found 0
(#59) 3 slashes comments are not allowed; use "// Comment." instead
(#60) Line indented incorrectly; expected at least 4 spaces, found 0
(#60) 3 slashes comments are not allowed; use "// Comment." instead
(#62) Line indented incorrectly; expected at least 4 spaces, found 0
(#62) 3 slashes comments are not allowed; use "// Comment." instead
(#63) Line indented incorrectly; expected at least 4 spaces, found 0
(#63) 3 slashes comments are not allowed; use "// Comment." instead
(#64) Line indented incorrectly; expected at least 4 spaces, found 0
(#64) 3 slashes comments are not allowed; use "// Comment." instead
(#66) Line indented incorrectly; expected at least 4 spaces, found 0
(#66) 3 slashes comments are not allowed; use "// Comment." instead
(#67) Line indented incorrectly; expected at least 4 spaces, found 0
(#67) 3 slashes comments are not allowed; use "// Comment." instead
(#68) Line indented incorrectly; expected at least 4 spaces, found 0
(#68) 3 slashes comments are not allowed; use "// Comment." instead
(#68) Expected 1 space before comment text but found 3; use block comment if you need indentation
(#69) Line indented incorrectly; expected at least 4 spaces, found 0
(#69) 3 slashes comments are not allowed; use "// Comment." instead
(#70) Line indented incorrectly; expected at least 4 spaces, found 0
(#70) 3 slashes comments are not allowed; use "// Comment." instead
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Line indented incorrectly; expected at least 4 spaces, found 0
(#72) 3 slashes comments are not allowed; use "// Comment." instead
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Line indented incorrectly; expected at least 8 spaces, found 4
(#75) 3 slashes comments are not allowed; use "// Comment." instead
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Line indented incorrectly; expected at least 8 spaces, found 4
(#79) 3 slashes comments are not allowed; use "// Comment." instead
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Line indented incorrectly; expected at least 8 spaces, found 4
(#84) 3 slashes comments are not allowed; use "// Comment." instead
(#86) Commas (,) must be followed by white space.
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Line indented incorrectly; expected at least 8 spaces, found 4
(#88) 3 slashes comments are not allowed; use "// Comment." instead
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Line indented incorrectly; expected at least 8 spaces, found 4
(#93) 3 slashes comments are not allowed; use "// Comment." instead
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Line indented incorrectly; expected at least 8 spaces, found 4
(#98) 3 slashes comments are not allowed; use "// Comment." instead
(#104) Line indented incorrectly; expected at least 4 spaces, found 0
(#104) 3 slashes comments are not allowed; use "// Comment." instead
(#105) Line indented incorrectly; expected at least 4 spaces, found 0
(#105) 3 slashes comments are not allowed; use "// Comment." instead
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Line indented incorrectly; expected at least 4 spaces, found 0
(#106) 3 slashes comments are not allowed; use "// Comment." instead
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Line indented incorrectly; expected at least 8 spaces, found 4
(#109) 3 slashes comments are not allowed; use "// Comment." instead
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) Line indented incorrectly; expected at least 8 spaces, found 4
(#114) 3 slashes comments are not allowed; use "// Comment." instead
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Line indented incorrectly; expected at least 8 spaces, found 4
(#119) 3 slashes comments are not allowed; use "// Comment." instead
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Line indented incorrectly; expected at least 8 spaces, found 4
(#124) 3 slashes comments are not allowed; use "// Comment." instead
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) Line indented incorrectly; expected at least 8 spaces, found 4
(#129) 3 slashes comments are not allowed; use "// Comment." instead
(#133) Inline comments must end in full-stops, exclamation marks, or question marks
(#133) Line indented incorrectly; expected at least 8 spaces, found 4
(#133) 3 slashes comments are not allowed; use "// Comment." instead
(#140) Line indented incorrectly; expected at least 4 spaces, found 0
(#140) 3 slashes comments are not allowed; use "// Comment." instead
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Line indented incorrectly; expected at least 4 spaces, found 0
(#141) 3 slashes comments are not allowed; use "// Comment." instead
(#142) Empty IF statement detected
(#143) Inline comments must start with a capital letter, digit or 3-dots sequence
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Line indented incorrectly; expected at least 8 spaces, found 4
(#143) 3 slashes comments are not allowed; use "// Comment." instead
(#146) Line indented incorrectly; expected at least 4 spaces, found 0
(#146) 3 slashes comments are not allowed; use "// Comment." instead
(#147) Line indented incorrectly; expected at least 4 spaces, found 0
(#147) 3 slashes comments are not allowed; use "// Comment." instead
(#148) Line indented incorrectly; expected at least 4 spaces, found 0
(#148) 3 slashes comments are not allowed; use "// Comment." instead
(#149) Line indented incorrectly; expected at least 4 spaces, found 0
(#149) 3 slashes comments are not allowed; use "// Comment." instead
(#151) Line indented incorrectly; expected at least 4 spaces, found 0
(#151) 3 slashes comments are not allowed; use "// Comment." instead
(#152) Line indented incorrectly; expected at least 4 spaces, found 0
(#152) 3 slashes comments are not allowed; use "// Comment." instead
(#153) Line indented incorrectly; expected at least 4 spaces, found 0
(#153) 3 slashes comments are not allowed; use "// Comment." instead
(#155) Line indented incorrectly; expected at least 4 spaces, found 0
(#155) 3 slashes comments are not allowed; use "// Comment." instead
mod/skype/index.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected at least 4 spaces, found 1
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Tab found within whitespace
(#60) Line indented incorrectly; expected at least 4 spaces, found 1
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) No space found before comment text; expected "// Show dimmed if the mod is hidden" but found "//Show dimmed if the mod is hidden"
(#107) Commas (,) must be followed by white space.
(#107) Line exceeds 132 characters; contains 134 characters
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) No space found before comment text; expected "// Show normal if the mod is visible" but found "//Show normal if the mod is visible"
(#110) Commas (,) must be followed by white space.
(#113) Inline comments must end in full-stops, exclamation marks, or question marks
mod/skype/js/skypeCheck.php
(#1) No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file may be using short open tags but PHP does not allow them.
mod/skype/lang/en/skype.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) A closing tag is not permitted at the end of a PHP file
mod/skype/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) This comment is 75% valid code; is this commented out code?
(#36) No space found before comment text; expected "// define('skype_ULTIMATE_ANSWER', 42);" but found "//define('skype_ULTIMATE_ANSWER', 42);"
(#43) This comment is 65% valid code; is this commented out code?
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) No space found before comment text; expected "// global $skype_GLOBAL_VARIABLE;" but found "//global $skype_GLOBAL_VARIABLE;"
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) No space found before comment text; expected "// $skype_QUESTION_OF = array('Life', 'Universe', 'Everything');" but found "//$skype_QUESTION_OF = array('Life', 'Universe', 'Everything');"
(#60) Perl-style comments are not allowed; use "// Comment." instead
(#79) Perl-style comments are not allowed; use "// Comment." instead
(#99) Perl-style comments are not allowed; use "// Comment." instead
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#187) This comment is 65% valid code; is this commented out code?
(#187) Inline comments must start with a capital letter, digit or 3-dots sequence
(#187) No space found before comment text; expected "// $rec = $DB->get_record("skype", array("id" => "$skypeid", "scale" => "-$scaleid"));" but found "//$rec = $DB->get_record("skype", array("id" => "$skypeid", "scale" => "-$scaleid"));"
(#189) This comment is 79% valid code; is this commented out code?
(#189) No space found before comment text; expected "// if (!empty($rec) && !empty($scaleid)) {" but found "//if (!empty($rec) && !empty($scaleid)) {"
(#190) This comment is 43% valid code; is this commented out code?
(#190) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#191) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) This comment is 100% valid code; is this commented out code?
(#191) No space found before comment text; expected "// }" but found "//}"
(#206) This comment is 60% valid code; is this commented out code?
(#206) Line indented incorrectly; expected at least 4 spaces, found 0
(#212) Line indented incorrectly; expected at least 4 spaces, found 1
(#213) Spaces must be used to indent lines; tabs are not allowed
(#213) Tab found within whitespace
(#213) Whitespace found at end of line
(#214) Spaces must be used to indent lines; tabs are not allowed
(#214) Tab found within whitespace
(#214) Line indented incorrectly; expected at least 4 spaces, found 1
mod/skype/locallib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Expected 1 space after closing parenthesis; found 0
(#33) Spaces must be used to indent lines; tabs are not allowed
(#33) Tab found within whitespace
(#33) Line indented incorrectly; expected at least 4 spaces, found 1
(#33) Commas (,) must be followed by white space.
(#34) Spaces must be used to indent lines; tabs are not allowed
(#34) Tab found within whitespace
(#34) Whitespace found at end of line
(#35) Spaces must be used to indent lines; tabs are not allowed
(#35) Tab found within whitespace
(#35) Line indented incorrectly; expected at least 4 spaces, found 1
(#37) Whitespace found at end of line within string
(#38) Whitespace found at end of line within string
(#45) Whitespace found at end of line within string
(#47) Line exceeds maximum limit of 180 characters; contains 866 characters
(#49) Whitespace found at end of line within string
(#56) Whitespace found at end of line within string
(#57) Whitespace found at end of line within string
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Tab found within whitespace
(#61) Line indented incorrectly; expected at least 4 spaces, found 1
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected at least 4 spaces, found 1
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Tab found within whitespace
(#63) Line indented incorrectly; expected at least 4 spaces, found 1
(#63) Commas (,) must be followed by white space.
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#64) Line indented incorrectly; expected at least 4 spaces, found 1
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected at least 4 spaces, found 1
(#65) Commas (,) must be followed by white space.
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected at least 4 spaces, found 1
(#66) Commas (,) must be followed by white space.
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 4 spaces, found 1
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Whitespace found at end of line
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Tab found within whitespace
(#69) Line indented incorrectly; expected at least 4 spaces, found 1
(#69) Inline control structures are not allowed
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#70) Line indented incorrectly; expected at least 4 spaces, found 1
(#70) Variable "all_userskype" must not contain underscores.
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#71) Whitespace found at end of line
(#72) Spaces must be used to indent lines; tabs are not allowed
(#72) Tab found within whitespace
(#72) Line indented incorrectly; expected 4 spaces, found 1
(#72) Expected "foreach (...) {\n"; found "foreach(...){ //print_user_picture($user, 1)\n"
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) This comment is 72% valid code; is this commented out code?
(#72) No space found before comment text; expected "// print_user_picture($user, 1)" but found "//print_user_picture($user, 1)"
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Line indented incorrectly; expected 8 spaces, found 2
(#73) Expected "if (...) {\n"; found "if(...){\n"
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Tab found within whitespace
(#74) Line indented incorrectly; expected at least 12 spaces, found 3
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected at least 12 spaces, found 3
(#75) Commas (,) must be followed by white space.
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Tab found within whitespace
(#76) Line indented incorrectly; expected 8 spaces, found 2
(#76) Expected "} else {\n"; found "}else{\n"
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected at least 12 spaces, found 3
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected at least 12 spaces, found 3
(#78) Spaces must be used for alignment; tabs are not allowed
(#78) Tab found within whitespace
(#78) Whitespace found at end of line
(#79) Spaces must be used for alignment; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected 8 spaces, found 2
(#80) Spaces must be used for alignment; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected at least 8 spaces, found 2
(#80) Expected 1 space after ".="; 0 found
(#81) Spaces must be used for alignment; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected at least 8 spaces, found 2
(#81) Expected 1 space before "=>"; 0 found
(#81) Expected 1 space after "=>"; 0 found
(#82) Spaces must be used for alignment; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected at least 8 spaces, found 2
(#83) Spaces must be used for alignment; tabs are not allowed
(#83) Tab found within whitespace
(#83) Line indented incorrectly; expected at least 8 spaces, found 2
(#84) Spaces must be used for alignment; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected 8 spaces, found 2
(#84) Expected "if (...) {\n"; found "if(...){\n"
(#85) Spaces must be used for alignment; tabs are not allowed
(#85) Tab found within whitespace
(#85) Line indented incorrectly; expected at least 12 spaces, found 3
(#86) Line exceeds 132 characters; contains 148 characters
(#86) Whitespace found at end of line within string
(#87) Line exceeds 132 characters; contains 142 characters
(#88) Line exceeds 132 characters; contains 161 characters
(#89) Line exceeds 132 characters; contains 154 characters
(#90) Line exceeds 132 characters; contains 150 characters
(#92) Spaces must be used for alignment; tabs are not allowed
(#92) Tab found within whitespace
(#92) Line indented incorrectly; expected 8 spaces, found 2
(#92) Expected "} else {\n"; found "}else{\n"
(#93) Spaces must be used for alignment; tabs are not allowed
(#93) Tab found within whitespace
(#93) Line indented incorrectly; expected at least 12 spaces, found 3
(#94) Spaces must be used for alignment; tabs are not allowed
(#94) Tab found within whitespace
(#94) Line indented incorrectly; expected 8 spaces, found 2
(#95) Spaces must be used for alignment; tabs are not allowed
(#95) Tab found within whitespace
(#95) Line indented incorrectly; expected at least 8 spaces, found 2
(#97) Spaces must be used for alignment; tabs are not allowed
(#97) Tab found within whitespace
(#97) Line indented incorrectly; expected 4 spaces, found 1
(#98) Spaces must be used for alignment; tabs are not allowed
(#98) Tab found within whitespace
(#98) Line indented incorrectly; expected at least 4 spaces, found 1
(#98) Commas (,) must be followed by white space.
(#99) Spaces must be used for alignment; tabs are not allowed
(#99) Tab found within whitespace
(#99) Line indented incorrectly; expected at least 4 spaces, found 1
(#101) Spaces must be used for alignment; tabs are not allowed
(#101) Tab found within whitespace
(#101) Line indented incorrectly; expected at least 4 spaces, found 1
(#102) Spaces must be used for alignment; tabs are not allowed
(#102) Tab found within whitespace
(#102) Whitespace found at end of line
(#103) Spaces must be used for alignment; tabs are not allowed
(#103) Tab found within whitespace
(#103) Line indented incorrectly; expected at least 4 spaces, found 1
(#104) Spaces must be used for alignment; tabs are not allowed
(#104) Tab found within whitespace
(#104) Line indented incorrectly; expected at least 4 spaces, found 1
(#104) Spaces must be used for alignment; tabs are not allowed
(#104) Tab found within whitespace
(#104) Whitespace found at end of line
(#106) A closing tag is not permitted at the end of a PHP file
mod/skype/mod_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#36) Visibility must be declared on method "definition"
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#41) Line indented incorrectly; expected at least 8 spaces, found 0
(#41) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Line indented incorrectly; expected at least 8 spaces, found 4
(#42) 3 slashes comments are not allowed; use "// Comment." instead
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Line indented incorrectly; expected at least 8 spaces, found 4
(#45) 3 slashes comments are not allowed; use "// Comment." instead
(#46) Expected 1 space before "=>"; 0 found
(#46) Expected 1 space after "=>"; 0 found
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Line indented incorrectly; expected at least 8 spaces, found 4
(#56) 3 slashes comments are not allowed; use "// Comment." instead
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Line indented incorrectly; expected at least 8 spaces, found 0
(#59) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#60) Line indented incorrectly; expected at least 8 spaces, found 4
(#60) 3 slashes comments are not allowed; use "// Comment." instead
(#61) Line indented incorrectly; expected at least 8 spaces, found 4
(#61) 3 slashes comments are not allowed; use "// Comment." instead
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) This comment is 71% valid code; is this commented out code?
(#62) Line indented incorrectly; expected at least 8 spaces, found 7
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Whitespace found at end of line
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected at least 8 spaces, found 2
(#67) Whitespace found at end of line
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) This comment is 75% valid code; is this commented out code?
(#68) Line indented incorrectly; expected at least 8 spaces, found 2
(#68) No space found before comment text; expected "// $mform->addElement('static', 'label2', 'skypesetting2', 'Your skype fields go here. Replace me!');" but found "//$mform->addElement('static', 'label2', 'skypesetting2', 'Your skype fields go here. Replace me!');"
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Line indented incorrectly; expected at least 8 spaces, found 0
(#70) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Inline comments must start with a capital letter, digit or 3-dots sequence
(#73) Line indented incorrectly; expected at least 8 spaces, found 0
(#73) No space found before comment text; expected "// -------------------------------------------------------------------------------" but found "//-------------------------------------------------------------------------------"
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) A closing tag is not permitted at the end of a PHP file
mod/skype/version.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
mod/skype/view.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) 3 slashes comments are not allowed; use "// Comment." instead
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Usage of ELSEIF not allowed; use ELSE IF instead
(#55) Variable "module_context" must not contain underscores.
(#56) Variable "module_context" must not contain underscores.
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#57) Whitespace found at end of line
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) 3 slashes comments are not allowed; use "// Comment." instead
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) No space found before comment text; expected "// $PAGE->set_cacheable(false);" but found "//$PAGE->set_cacheable(false);"
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) No space found before comment text; expected "// $PAGE->set_focuscontrol('some-html-id');" but found "//$PAGE->set_focuscontrol('some-html-id');"
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) Expected "if (...) {\n"; found "if(...){\n"
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#89) Line indented incorrectly; expected at least 4 spaces, found 1
(#89) Variable "update_skypeid_link" must not contain underscores.
(#89) Commas (,) must be followed by white space.
(#89) Line exceeds 132 characters; contains 138 characters
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Tab found within whitespace
(#90) Line indented incorrectly; expected at least 4 spaces, found 1
(#90) Variable "update_skypeid_link" must not contain underscores.
(#91) Expected "} else {\n"; found "}else{\n"
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Tab found within whitespace
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Line indented incorrectly; expected at least 4 spaces, found 1
(#92) 3 slashes comments are not allowed; use "// Comment." instead
(#93) Spaces must be used to indent lines; tabs are not allowed
(#93) Tab found within whitespace
(#93) Line indented incorrectly; expected at least 4 spaces, found 1
(#94) Spaces must be used to indent lines; tabs are not allowed
(#94) Tab found within whitespace
(#94) Line indented incorrectly; expected at least 4 spaces, found 1
(#95) Spaces must be used to indent lines; tabs are not allowed
(#95) Tab found within whitespace
(#95) Line indented incorrectly; expected at least 4 spaces, found 1
(#97) Spaces must be used to indent lines; tabs are not allowed
(#97) Tab found within whitespace
(#97) Line indented incorrectly; expected at least 4 spaces, found 1
(#97) Variable "course_context" must not contain underscores.
(#98) Spaces must be used to indent lines; tabs are not allowed
(#98) Tab found within whitespace
(#98) Line indented incorrectly; expected at least 4 spaces, found 1
(#98) Variable "skype_users" must not contain underscores.
(#98) Variable "module_context" must not contain underscores.
(#100) Spaces must be used to indent lines; tabs are not allowed
(#100) Tab found within whitespace
(#100) Line indented incorrectly; expected 4 spaces, found 1
(#100) Expected "if (...) {\n"; found "if(...){\n"
(#100) Variable "skype_users" must not contain underscores.
(#101) Spaces must be used to indent lines; tabs are not allowed
(#101) Tab found within whitespace
(#101) Line indented incorrectly; expected at least 8 spaces, found 2
(#102) Spaces must be used to indent lines; tabs are not allowed
(#102) Tab found within whitespace
(#102) Line indented incorrectly; expected 4 spaces, found 1
(#102) Expected "} else {\n"; found "}else{\n"
(#103) Spaces must be used to indent lines; tabs are not allowed
(#103) Tab found within whitespace
(#103) Line indented incorrectly; expected at least 8 spaces, found 2
(#103) Variable "skype_users" must not contain underscores.
(#104) Spaces must be used to indent lines; tabs are not allowed
(#104) Tab found within whitespace
(#104) Line indented incorrectly; expected 4 spaces, found 1
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) A closing tag is not permitted at the end of a PHP file

Javascript coding style problems

(0 errors, 0 warnings)

This section shows the coding style problems detected in the code by jshint [More info]


CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by csslint [More info]


PHPDocs style problems

(66 errors, 12 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

mod/skype/db/access.php
(#2) Empty line found after PHP open tag
mod/skype/db/install.php
(#2) Empty line found after PHP open tag
(#32) Found comment starting with three or more slashes
(#18) No one-line description found in phpdocs for file
mod/skype/db/log.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/skype/db/upgrade.php
(#2) Empty line found after PHP open tag
(#48) Found comment starting with three or more slashes
(#49) Found comment starting with three or more slashes
(#50) Found comment starting with three or more slashes
(#51) Found comment starting with three or more slashes
(#53) Found comment starting with three or more slashes
(#54) Found comment starting with three or more slashes
(#55) Found comment starting with three or more slashes
(#57) Found comment starting with three or more slashes
(#58) Found comment starting with three or more slashes
(#59) Found comment starting with three or more slashes
(#60) Found comment starting with three or more slashes
(#62) Found comment starting with three or more slashes
(#63) Found comment starting with three or more slashes
(#64) Found comment starting with three or more slashes
(#66) Found comment starting with three or more slashes
(#67) Found comment starting with three or more slashes
(#68) Found comment starting with three or more slashes
(#69) Found comment starting with three or more slashes
(#70) Found comment starting with three or more slashes
(#72) Found comment starting with three or more slashes
(#75) Found comment starting with three or more slashes
(#79) Found comment starting with three or more slashes
(#84) Found comment starting with three or more slashes
(#88) Found comment starting with three or more slashes
(#93) Found comment starting with three or more slashes
(#98) Found comment starting with three or more slashes
(#104) Found comment starting with three or more slashes
(#105) Found comment starting with three or more slashes
(#106) Found comment starting with three or more slashes
(#109) Found comment starting with three or more slashes
(#114) Found comment starting with three or more slashes
(#119) Found comment starting with three or more slashes
(#124) Found comment starting with three or more slashes
(#129) Found comment starting with three or more slashes
(#133) Found comment starting with three or more slashes
(#140) Found comment starting with three or more slashes
(#141) Found comment starting with three or more slashes
(#143) Found comment starting with three or more slashes
(#146) Found comment starting with three or more slashes
(#147) Found comment starting with three or more slashes
(#148) Found comment starting with three or more slashes
(#149) Found comment starting with three or more slashes
(#151) Found comment starting with three or more slashes
(#152) Found comment starting with three or more slashes
(#153) Found comment starting with three or more slashes
(#155) Found comment starting with three or more slashes
mod/skype/index.php
(#2) Empty line found after PHP open tag
mod/skype/js/skypeCheck.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found
mod/skype/lang/en/skype.php
(#2) Empty line found after PHP open tag
mod/skype/lib.php
(#2) Empty line found after PHP open tag
(#106) Phpdocs for function skype_user_outline has incomplete parameters list
(#123) Phpdocs for function skype_user_complete has incomplete parameters list
(#134) Phpdocs for function skype_print_recent_activity has incomplete parameters list
(#178) Phpdocs for function skype_scale_used has incomplete parameters list
(#201) Phpdocs for function skype_scale_used_anywhere has incomplete parameters list
mod/skype/locallib.php
(#2) Empty line found after PHP open tag
(#32) Function print_skype_users_list is not documented
mod/skype/mod_form.php
(#2) Empty line found after PHP open tag
(#34) Class mod_skype_mod_form is not documented
(#36) Function mod_skype_mod_form::definition is not documented
(#42) Found comment starting with three or more slashes
(#45) Found comment starting with three or more slashes
(#56) Found comment starting with three or more slashes
(#60) Found comment starting with three or more slashes
(#61) Found comment starting with three or more slashes
mod/skype/version.php
(#2) Empty line found after PHP open tag
mod/skype/view.php
(#2) Empty line found after PHP open tag
(#30) Found comment starting with three or more slashes
(#68) Found comment starting with three or more slashes
(#92) Found comment starting with three or more slashes

Update savepoints problems

(4 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

mod/skype/db/upgrade.php
Detected more 'if' blocks (3) than 'savepoint' calls (0)
version 2007040100 is missing corresponding savepoint call
version 2007040101 is missing corresponding savepoint call
version 2007040200 is missing corresponding savepoint call

Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]