Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(6 errors, 2 warnings)

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

local/custompage/classes/hook_callbacks.php
(#28) Incorrect @package tag for class hook_callbacks. Expected local_custompage, found tool_policy.
(#42) Line indented incorrectly; expected at least 12 spaces, found 10
(#43) Line indented incorrectly; expected at least 12 spaces, found 10
local/custompage/classes/local/custompage/page.php
(#39) Member variable "page_persistent" must not contain underscores.
local/custompage/classes/local/helpers/audience.php
(#57) Line exceeds 132 characters; contains 136 characters
local/custompage/classes/output/page_contents.php
(#42) Member variable "page_persistent" must not contain underscores.
(#70) Line exceeds 132 characters; contains 144 characters
local/custompage/classes/output/page_deatils.php
(#40) Member variable "page_persistent" must not contain underscores.

Javascript coding style problems

(3 errors, 3 warnings)

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

local/custompage/amd/src/audience.js
(#159) Avoid nesting promises. (promise/no-nesting)
(#159) Avoid nesting promises. (promise/no-nesting)
(#159) Avoid nesting promises. (promise/no-nesting)
local/custompage/amd/src/details.js
(#25) 'prefetchStrings' is defined but never used. (no-unused-vars)
(#46) 'contextid' is defined but never used. (no-unused-vars)
(#63) 'data' is defined but never used. (no-unused-vars)

CSS problems

(17 errors, 0 warnings)

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

local/custompage/styles.css
(#73) Expected single space before "{" (block-opening-brace-space-before)
(#77) Expected single space before "{" (block-opening-brace-space-before)
(#22) Unexpected !important (declaration-no-important)
(#77) Expected newline after "," (selector-list-comma-newline-after)
(#77) Expected newline after "," (selector-list-comma-newline-after)
(#77) Expected newline after "," (selector-list-comma-newline-after)
(#51) Expected indentation of 4 spaces (indentation)
(#52) Expected indentation of 4 spaces (indentation)
(#53) Expected indentation of 4 spaces (indentation)
(#54) Expected indentation of 4 spaces (indentation)
(#58) Expected indentation of 4 spaces (indentation)
(#59) Expected indentation of 4 spaces (indentation)
(#60) Expected indentation of 4 spaces (indentation)
(#61) Expected indentation of 4 spaces (indentation)
(#65) Expected indentation of 4 spaces (indentation)
(#69) Expected indentation of 4 spaces (indentation)
(#70) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(5 errors, 0 warnings)

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

local/custompage/classes/local/custompage/page.php
(#40) Phpdocs for function page::__construct has incomplete parameters list
local/custompage/classes/output/renderer.php
(#76) Phpdocs for function renderer::render_page_deatils has incomplete parameters list
(#87) Phpdocs for function renderer::render_page_contents has incomplete parameters list
local/custompage/classes/reportbuilder/local/systemreports/pages_list.php
(#96) Phpdocs for function pages_list::add_columns has incomplete parameters list
(#158) Phpdocs for function pages_list::add_filters has incomplete parameters list

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
Task "eslint:amd" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(1 errors, 3 warnings)

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

local/custompage/templates/local/dynamictabs/audience.mustache
(#1) ESLint error []: Parsing error: Unexpected token , ( audience.init(, 1);
local/custompage/templates/local/dynamictabs/content.mustache
(#1) Example context missing.
local/custompage/templates/local/dynamictabs/details.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: Syntax error
local/custompage/templates/page_details.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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