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

(8 errors, 20 warnings)

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

local/coursetocal/export.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) No space found before comment text; expected "// Fetch user information" but found "//Fetch user information"
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) No space found before comment text; expected "// allowing for fallback check of old url - MDL-27542" but found "//allowing for fallback check of old url - MDL-27542"
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) No space found before comment text; expected "// No such user" but found "//No such user"
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#52) No space found before comment text; expected "// Check authentication token" but found "//Check authentication token"
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) No space found before comment text; expected "// allowing for fallback check of old url - MDL-27542" but found "//allowing for fallback check of old url - MDL-27542"
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#78) This comment is 58% valid code; is this commented out code?
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) Inline comments must start with a capital letter, digit or 3-dots sequence
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) No space found before comment text; expected "// dtend is better than duration, because it works in Microsoft Outlook and works better in Korganizer" but found "//dtend is better than duration, because it works in Microsoft Outlook and works better in Korganizer"
(#102) Inline comments must start with a capital letter, digit or 3-dots sequence
(#117) Expected "if (...) {\n"; found "if(...) {\n"
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
local/coursetocal/exportcal.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
local/coursetocal/settings.php
(#69) Line exceeds maximum limit of 180 characters; contains 196 characters
local/coursetocal/sync.php
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.

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

(0 errors, 0 warnings)

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


PHPDocs style problems

(2 errors, 0 warnings)

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

local/coursetocal/classes/helper.php
(#92) Function helper::build_data is not documented
(#449) Phpdocs for function helper::is_a_course 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 "gherkinlint" failed. 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

(2 errors, 0 warnings)

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

local/coursetocal/tests/behat/see_course_event.feature
(#4) Wrong indentation for "Background", expected indentation level of 2, but got 4
(#13) Wrong indentation for "Scenario", expected indentation level of 2, but got 4