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

(165 errors, 56 warnings)

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

mod/quiz/report/export/a2pdf.php
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) This comment is 56% valid code; is this commented out code?
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Variable "pdf_file" must not contain underscores.
(#67) Variable "pdf_file" must not contain underscores.
(#68) Variable "pdf_file" must not contain underscores.
mod/quiz/report/export/export.php
(#28) "require_once" must be immediately followed by an open parenthesis
(#64) Opening brace should be on the same line as the declaration
(#66) Variable "parameters_additionnal_informations" must not contain underscores.
(#68) Variable "tmp_dir" must not contain underscores.
(#70) Variable "tmp_file" must not contain underscores.
(#70) Variable "tmp_dir" must not contain underscores.
(#72) Variable "tmp_pdf_file" must not contain underscores.
(#72) Variable "tmp_file" must not contain underscores.
(#73) Variable "tmp_file" must not contain underscores.
(#73) Variable "tmp_pdf_file" must not contain underscores.
(#74) Variable "tmp_pdf_file" must not contain underscores.
(#76) Variable "tmp_file" must not contain underscores.
(#76) Variable "tmp_dir" must not contain underscores.
(#78) Variable "tmp_err_file" must not contain underscores.
(#78) Variable "tmp_file" must not contain underscores.
(#79) Variable "tmp_file" must not contain underscores.
(#79) Variable "tmp_err_file" must not contain underscores.
(#80) Variable "tmp_err_file" must not contain underscores.
(#83) Variable "tmp_dir" must not contain underscores.
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) "include" must be immediately followed by an open parenthesis
(#92) Variable "additionnal_informations" must not contain underscores.
(#93) Variable "parameters_additionnal_informations" must not contain underscores.
(#98) Must use "self::" for local static member reference
(#99) Variable "html_files" must not contain underscores.
(#101) Must use "self::" for local static member reference
(#102) Variable "html_files" must not contain underscores.
(#104) Must use "self::" for local static member reference
(#105) Variable "html_files" must not contain underscores.
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) "include" must be immediately followed by an open parenthesis
(#109) Variable "html_files" must not contain underscores.
(#110) Variable "contentHTML" must be all lower-case
(#111) Variable "contentHTML" must be all lower-case
(#111) Variable "contentHTML" must be all lower-case
(#112) Variable "contentHTML" must be all lower-case
(#112) Variable "contentHTML" must be all lower-case
(#114) Variable "additionnal_informations" must not contain underscores.
(#115) Variable "contentHTML" must be all lower-case
(#118) Must use "self::" for local static member reference
(#118) Must use "self::" for local static member reference
(#119) Variable "current_page" must not contain underscores.
(#120) Variable "html_files" must not contain underscores.
(#120) Variable "html_file" must not contain underscores.
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) "include" must be immediately followed by an open parenthesis
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
(#129) "include" must be immediately followed by an open parenthesis
(#129) Variable "html_file" must not contain underscores.
(#130) Variable "contentHTML" must be all lower-case
(#131) Inline comments must start with a capital letter, digit or 3-dots sequence
(#131) This comment is 67% valid code; is this commented out code?
(#131) Line indented incorrectly; expected at least 16 spaces, found 0
(#131) Expected 1 space before comment text but found 16; use block comment if you need indentation
(#132) Variable "contentHTML" must be all lower-case
(#132) Variable "contentHTML" must be all lower-case
(#133) Variable "contentHTML" must be all lower-case
(#133) Variable "contentHTML" must be all lower-case
(#134) Variable "current_page" must not contain underscores.
(#135) Variable "additionnal_informations" must not contain underscores.
(#135) Line exceeds 132 characters; contains 135 characters
(#137) Variable "contentHTML" must be all lower-case
(#139) Variable "current_page" must not contain underscores.
(#142) Variable "current_page" must not contain underscores.
(#145) Variable "tmp_pdf_file" must not contain underscores.
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Variable "tmp_err_file" must not contain underscores.
(#149) Variable "html_files" must not contain underscores.
(#153) Variable "tmp_pdf_file" must not contain underscores.
(#164) Opening brace should be on the same line as the declaration
(#165) Variable "tmp_html_files" must not contain underscores.
(#167) Variable "num_pages" must not contain underscores.
(#169) Variable "num_pages" must not contain underscores.
(#174) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) Variable "tmp_dir" must not contain underscores.
(#179) Variable "tmp_file" must not contain underscores.
(#179) Variable "tmp_dir" must not contain underscores.
(#180) Variable "tmp_html_file" must not contain underscores.
(#180) Variable "tmp_file" must not contain underscores.
(#181) Variable "tmp_file" must not contain underscores.
(#181) Variable "tmp_html_file" must not contain underscores.
(#182) Variable "tmp_html_file" must not contain underscores.
(#186) Variable "tmp_html_file" must not contain underscores.
(#188) Variable "tmp_html_files" must not contain underscores.
(#188) Variable "tmp_html_file" must not contain underscores.
(#192) Variable "tmp_html_files" must not contain underscores.
(#203) Opening brace should be on the same line as the declaration
(#204) Variable "tmp_html_files" must not contain underscores.
(#206) Variable "num_pages" must not contain underscores.
(#208) Variable "num_pages" must not contain underscores.
(#213) Variable "tmp_dir" must not contain underscores.
(#214) Variable "tmp_file" must not contain underscores.
(#214) Variable "tmp_dir" must not contain underscores.
(#215) Variable "tmp_html_file" must not contain underscores.
(#215) Variable "tmp_file" must not contain underscores.
(#216) Variable "tmp_file" must not contain underscores.
(#216) Variable "tmp_html_file" must not contain underscores.
(#217) Variable "tmp_html_file" must not contain underscores.
(#220) Variable "tmp_html_file" must not contain underscores.
(#222) Variable "tmp_html_files" must not contain underscores.
(#222) Variable "tmp_html_file" must not contain underscores.
(#225) Variable "tmp_html_files" must not contain underscores.
(#236) Opening brace should be on the same line as the declaration
(#242) Variable "tmp_dir" must not contain underscores.
(#243) Variable "tmp_file" must not contain underscores.
(#243) Variable "tmp_dir" must not contain underscores.
(#244) Variable "tmp_html_file" must not contain underscores.
(#244) Variable "tmp_file" must not contain underscores.
(#245) Variable "tmp_file" must not contain underscores.
(#245) Variable "tmp_html_file" must not contain underscores.
(#246) Variable "tmp_html_file" must not contain underscores.
(#249) Variable "tmp_html_file" must not contain underscores.
(#251) Variable "tmp_html_file" must not contain underscores.
(#267) Opening brace should be on the same line as the declaration
(#285) Opening brace should be on the same line as the declaration
(#290) Inline comments must end in full-stops, exclamation marks, or question marks
(#296) This comment is 54% valid code; is this commented out code?
(#299) Inline comments must end in full-stops, exclamation marks, or question marks
(#303) This comment is 43% valid code; is this commented out code?
(#304) Inline comments must end in full-stops, exclamation marks, or question marks
(#310) Spaces must be used for alignment; tabs are not allowed
(#310) Tab found before comment text; expected "// set $page = 0 for showing comple summary table on every page" but found "// set $page = 0 for showing comple summary table on every page"
(#311) Inline comments must end in full-stops, exclamation marks, or question marks
(#311) Spaces must be used for alignment; tabs are not allowed
(#311) Tab found before comment text; expected "// side effect: breaks next page links" but found "// side effect: breaks next page links"
(#324) Opening brace should be on the same line as the declaration
(#394) Empty IF statement detected
(#452) Opening brace should be on the same line as the declaration
(#477) Opening brace should be on the same line as the declaration
(#479) Variable "user_id" must not contain underscores.
(#480) Variable "user_informations" must not contain underscores.
(#480) Variable "user_id" must not contain underscores.
(#482) Variable "user_informations" must not contain underscores.
(#483) Variable "user_informations" must not contain underscores.
(#495) Protected method name "quiz_export_engine::preloadImageWithCurrentSession" must be in lower-case letters only
(#496) Opening brace should be on the same line as the declaration
(#498) Variable "matches_content" must not contain underscores.
(#502) Variable "cookieFile" must be all lower-case
(#503) Variable "cookieFile" must be all lower-case
(#504) Inline comments must end in full-stops, exclamation marks, or question marks
(#508) Variable "strCookie" must be all lower-case
(#509) Variable "strCookie" must be all lower-case
(#514) Inline comments must end in full-stops, exclamation marks, or question marks
(#519) Variable "mimeType" must be all lower-case
(#520) Variable "matches_content" must not contain underscores.
(#520) Variable "mimeType" must be all lower-case
(#523) Variable "matches_content" must not contain underscores.
mod/quiz/report/export/export_form.php
(#42) Opening brace should be on the same line as the declaration
mod/quiz/report/export/export_options.php
(#48) Opening brace should be on the same line as the declaration
(#55) Opening brace should be on the same line as the declaration
(#62) Opening brace should be on the same line as the declaration
(#68) Opening brace should be on the same line as the declaration
(#74) Opening brace should be on the same line as the declaration
mod/quiz/report/export/export_table.php
(#43) Opening brace should be on the same line as the declaration
(#49) Opening brace should be on the same line as the declaration
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Opening brace should be on the same line as the declaration
(#71) Line exceeds 132 characters; contains 162 characters
(#76) Opening brace should be on the same line as the declaration
mod/quiz/report/export/lang/en/quiz_export.php
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
mod/quiz/report/export/lang/fr/quiz_export.php
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
mod/quiz/report/export/report.php
(#51) Opening brace should be on the same line as the declaration
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) This comment is 65% valid code; is this commented out code?
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) 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
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Inline comments must start with a capital letter, digit or 3-dots sequence
(#132) This comment is 80% valid code; is this commented out code?
(#137) Inline comments must start with a capital letter, digit or 3-dots sequence
(#137) This comment is 53% valid code; is this commented out code?
(#153) Opening brace should be on the same line as the declaration
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) This comment is 73% valid code; is this commented out code?
(#161) Inline comments must start with a capital letter, digit or 3-dots sequence
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) This comment is 70% valid code; is this commented out code?
(#179) Opening brace should be on the same line as the declaration
(#182) Variable "pdf_files" must not contain underscores.
(#185) Variable "tmp_dir" must not contain underscores.
(#186) Variable "tmp_file" must not contain underscores.
(#186) Variable "tmp_dir" must not contain underscores.
(#187) Variable "tmp_zip_file" must not contain underscores.
(#187) Variable "tmp_file" must not contain underscores.
(#188) Variable "tmp_file" must not contain underscores.
(#188) Variable "tmp_zip_file" must not contain underscores.
(#189) Variable "tmp_zip_file" must not contain underscores.
(#192) Variable "tmp_zip_file" must not contain underscores.
(#196) Variable "pdf_file" must not contain underscores.
(#197) Variable "pdf_files" must not contain underscores.
(#197) Variable "pdf_file" must not contain underscores.
(#199) Variable "pdf_file" must not contain underscores.
(#205) Variable "tmp_zip_file" must not contain underscores.
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#208) Variable "pdf_files" must not contain underscores.
(#208) Variable "pdf_file" must not contain underscores.
(#209) Variable "pdf_file" must not contain underscores.
(#212) Variable "tmp_zip_file" must not contain underscores.

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(135 errors, 6 warnings)

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

mod/quiz/report/export/style/styles.css
(#6) Unexpected !important (declaration-no-important)
(#15) Unexpected !important (declaration-no-important)
(#276) Unexpected !important (declaration-no-important)
(#314) Unexpected !important (declaration-no-important)
(#1449) Unexpected !important (declaration-no-important)
(#1453) Unexpected !important (declaration-no-important)
(#1457) Unexpected !important (declaration-no-important)
(#1461) Unexpected !important (declaration-no-important)
(#1465) Unexpected !important (declaration-no-important)
(#1469) Unexpected !important (declaration-no-important)
(#1473) Unexpected !important (declaration-no-important)
(#1477) Unexpected !important (declaration-no-important)
(#1481) Unexpected !important (declaration-no-important)
(#1485) Unexpected !important (declaration-no-important)
(#1489) Unexpected !important (declaration-no-important)
(#1499) Unexpected !important (declaration-no-important)
(#1503) Unexpected !important (declaration-no-important)
(#1507) Unexpected !important (declaration-no-important)
(#1511) Unexpected !important (declaration-no-important)
(#1516) Unexpected !important (declaration-no-important)
(#1522) Unexpected !important (declaration-no-important)
(#1526) Unexpected !important (declaration-no-important)
(#1530) Unexpected !important (declaration-no-important)
(#1536) Unexpected !important (declaration-no-important)
(#1542) Unexpected !important (declaration-no-important)
(#1546) Unexpected !important (declaration-no-important)
(#1551) Unexpected !important (declaration-no-important)
(#1555) Unexpected !important (declaration-no-important)
(#1559) Unexpected !important (declaration-no-important)
(#1563) Unexpected !important (declaration-no-important)
(#1567) Unexpected !important (declaration-no-important)
(#1571) Unexpected !important (declaration-no-important)
(#1575) Unexpected !important (declaration-no-important)
(#1579) Unexpected !important (declaration-no-important)
(#1583) Unexpected !important (declaration-no-important)
(#1587) Unexpected !important (declaration-no-important)
(#1591) Unexpected !important (declaration-no-important)
(#1595) Unexpected !important (declaration-no-important)
(#1600) Unexpected !important (declaration-no-important)
(#1605) Unexpected !important (declaration-no-important)
(#1609) Unexpected !important (declaration-no-important)
(#1613) Unexpected !important (declaration-no-important)
(#1617) Unexpected !important (declaration-no-important)
(#1650) Unexpected !important (declaration-no-important)
(#1651) Unexpected !important (declaration-no-important)
(#1655) Unexpected !important (declaration-no-important)
(#1659) Unexpected !important (declaration-no-important)
(#1663) Unexpected !important (declaration-no-important)
(#1667) Unexpected !important (declaration-no-important)
(#1671) Unexpected !important (declaration-no-important)
(#1675) Unexpected !important (declaration-no-important)
(#1679) Unexpected !important (declaration-no-important)
(#1684) Unexpected !important (declaration-no-important)
(#1688) Unexpected !important (declaration-no-important)
(#1693) Unexpected !important (declaration-no-important)
(#1697) Unexpected !important (declaration-no-important)
(#1701) Unexpected !important (declaration-no-important)
(#1706) Unexpected !important (declaration-no-important)
(#1710) Unexpected !important (declaration-no-important)
(#1715) Unexpected !important (declaration-no-important)
(#1719) Unexpected !important (declaration-no-important)
(#1723) Unexpected !important (declaration-no-important)
(#1727) Unexpected !important (declaration-no-important)
(#1731) Unexpected !important (declaration-no-important)
(#1735) Unexpected !important (declaration-no-important)
(#1739) Unexpected !important (declaration-no-important)
(#1743) Unexpected !important (declaration-no-important)
(#1747) Unexpected !important (declaration-no-important)
(#1752) Unexpected !important (declaration-no-important)
(#1756) Unexpected !important (declaration-no-important)
(#1761) Unexpected !important (declaration-no-important)
(#1765) Unexpected !important (declaration-no-important)
(#1769) Unexpected !important (declaration-no-important)
(#1773) Unexpected !important (declaration-no-important)
(#1777) Unexpected !important (declaration-no-important)
(#1782) Unexpected !important (declaration-no-important)
(#1787) Unexpected !important (declaration-no-important)
(#1792) Unexpected !important (declaration-no-important)
(#1796) Unexpected !important (declaration-no-important)
(#1800) Unexpected !important (declaration-no-important)
(#1805) Unexpected !important (declaration-no-important)
(#1810) Unexpected !important (declaration-no-important)
(#1814) Unexpected !important (declaration-no-important)
(#1818) Unexpected !important (declaration-no-important)
(#1823) Unexpected !important (declaration-no-important)
(#1828) Unexpected !important (declaration-no-important)
(#1832) Unexpected !important (declaration-no-important)
(#1836) Unexpected !important (declaration-no-important)
(#1840) Unexpected !important (declaration-no-important)
(#1844) Unexpected !important (declaration-no-important)
(#1848) Unexpected !important (declaration-no-important)
(#1852) Unexpected !important (declaration-no-important)
(#1856) Unexpected !important (declaration-no-important)
(#1860) Unexpected !important (declaration-no-important)
(#1864) Unexpected !important (declaration-no-important)
(#1868) Unexpected !important (declaration-no-important)
(#1872) Unexpected !important (declaration-no-important)
(#1876) Unexpected !important (declaration-no-important)
(#1883) Unexpected !important (declaration-no-important)
(#1884) Unexpected !important (declaration-no-important)
(#1885) Unexpected !important (declaration-no-important)
(#1908) Unexpected !important (declaration-no-important)
(#1912) Unexpected !important (declaration-no-important)
(#1924) Unexpected !important (declaration-no-important)
(#1929) Unexpected !important (declaration-no-important)
(#2150) Unexpected !important (declaration-no-important)
(#2154) Unexpected !important (declaration-no-important)
(#2158) Unexpected !important (declaration-no-important)
(#2162) Unexpected !important (declaration-no-important)
(#2194) Unexpected !important (declaration-no-important)
(#2195) Unexpected !important (declaration-no-important)
(#2196) Unexpected !important (declaration-no-important)
(#2200) Unexpected !important (declaration-no-important)
(#2201) Unexpected !important (declaration-no-important)
(#2202) Unexpected !important (declaration-no-important)
(#2210) Unexpected !important (declaration-no-important)
(#2211) Unexpected !important (declaration-no-important)
(#2560) Unexpected !important (declaration-no-important)
(#2561) Unexpected !important (declaration-no-important)
(#2562) Unexpected !important (declaration-no-important)
(#2563) Unexpected !important (declaration-no-important)
(#2567) Unexpected !important (declaration-no-important)
(#2568) Unexpected !important (declaration-no-important)
(#2569) Unexpected !important (declaration-no-important)
(#2570) Unexpected !important (declaration-no-important)
(#2613) Unexpected !important (declaration-no-important)
(#2618) Unexpected !important (declaration-no-important)
(#680) Expected line length to be no more than 132 characters (max-line-length)
(#681) Expected line length to be no more than 132 characters (max-line-length)
(#682) Expected line length to be no more than 132 characters (max-line-length)
(#1311) Expected line length to be no more than 132 characters (max-line-length)
(#1312) Expected line length to be no more than 132 characters (max-line-length)
(#1313) Expected line length to be no more than 132 characters (max-line-length)
(#2040) Unexpected unknown animation name "bg-pulse-grey" (no-unknown-animations)
(#5) Expected newline after "," (selector-list-comma-newline-after)
(#5) Expected newline after "," (selector-list-comma-newline-after)
(#70) Expected newline after "," (selector-list-comma-newline-after)
(#215) Expected newline after "," (selector-list-comma-newline-after)
(#219) Expected newline after "," (selector-list-comma-newline-after)
(#290) Expected newline after "," (selector-list-comma-newline-after)
(#299) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(16 errors, 0 warnings)

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

mod/quiz/report/export/export.php
(#160) Phpdocs for function quiz_export_engine::question_per_page has incomplete parameters list
(#199) Phpdocs for function quiz_export_engine::questions_paged has incomplete parameters list
(#232) Phpdocs for function quiz_export_engine::all_questions has incomplete parameters list
(#257) Phpdocs for function quiz_export_engine::get_review_html has incomplete parameters list
(#275) Phpdocs for function quiz_export_engine::render has incomplete parameters list
(#492) Phpdocs for function quiz_export_engine::preloadImageWithCurrentSession has incomplete parameters list
mod/quiz/report/export/export_form.php
(#41) Function quiz_export_settings_form::other_preference_fields is not documented
mod/quiz/report/export/export_options.php
(#47) Function quiz_export_options::get_url_params is not documented
(#54) Function quiz_export_options::get_initial_form_data is not documented
(#61) Function quiz_export_options::setup_from_form_data is not documented
(#67) Function quiz_export_options::setup_from_params is not documented
(#73) Function quiz_export_options::resolve_dependencies is not documented
mod/quiz/report/export/export_table.php
(#41) Function quiz_export_table::__construct is not documented
(#48) Function quiz_export_table::build_table is not documented
(#75) Function quiz_export_table::submit_buttons is not documented
mod/quiz/report/export/report.php
(#50) Function quiz_export_report::display is not documented

Update savepoints problems

(0 errors, 0 warnings)

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


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

(1 errors, 1 warnings)

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

Problems running grunt
ENOENT: no such file or directory, stat 'mod/quiz/report/export/vendor/mpdf/mpdf/' Use --force to continue.

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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]