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

(69 errors, 36 warnings)

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

blocks/remlab_manager/block_remlab_manager.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#109) Expected "if (...) {\n"; found "if (...) {\n"
blocks/remlab_manager/classes/privacy/provider.php
(#33) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/remlab_manager/classes/task/delete_enlarge_keys.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#40) Expected MOODLE_INTERNAL check or config.php inclusion
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/remlab_manager/classes/task/ping_remote_labs.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#40) Expected MOODLE_INTERNAL check or config.php inclusion
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#67) Variable "myFrontierinstance" must be all lower-case
(#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 50% valid code; is this commented out code?
(#69) Variable "myFrontierinstance" must be all lower-case
(#94) This comment is 48% valid code; is this commented out code?
blocks/remlab_manager/classes/task/refresh_usestate_field.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#40) Expected MOODLE_INTERNAL check or config.php inclusion
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#108) Line exceeds 132 characters; contains 136 characters
blocks/remlab_manager/classes/task/synchronise_myfrontier_users.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#40) Expected MOODLE_INTERNAL check or config.php inclusion
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#84) Variable "curl_response" must not contain underscores.
(#86) Variable "curl_response" must not contain underscores.
(#87) Variable "xml_response" must not contain underscores.
(#87) Variable "curl_response" must not contain underscores.
(#88) Variable "xml_response" must not contain underscores.
(#89) Variable "site_hostname" must not contain underscores.
(#90) Variable "site_hostname" must not contain underscores.
(#90) Variable "site_hostname" must not contain underscores.
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Variable "lti_users_hostname" must not contain underscores.
(#103) Variable "lti_users_hostname" must not contain underscores.
(#104) Variable "lti_users_hostname" must not contain underscores.
(#106) Variable "lti_remote_users_id" must not contain underscores.
(#108) Variable "lti_remote_users_id" must not contain underscores.
(#109) Variable "lti_remote_users_id" must not contain underscores.
(#111) Variable "user_id" must not contain underscores.
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Variable "user_id" must not contain underscores.
(#117) Variable "user_id" must not contain underscores.
(#120) Variable "user_id" must not contain underscores.
(#122) Variable "xml_response" must not contain underscores.
(#123) Variable "user_site_hostname" must not contain underscores.
(#124) Variable "user_site_hostname" must not contain underscores.
(#124) Variable "user_site_hostname" must not contain underscores.
(#125) Variable "user_id" must not contain underscores.
(#126) Variable "site_hostname" must not contain underscores.
(#126) Variable "user_site_hostname" must not contain underscores.
(#128) Variable "user_id" must not contain underscores.
(#128) Inline comments must start with a capital letter, digit or 3-dots sequence
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) Variable "user_id" must not contain underscores.
(#132) Variable "user_id" must not contain underscores.
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#136) Variable "origin_coincidence" must not contain underscores.
(#136) Variable "user_site_hostname" must not contain underscores.
(#136) Variable "lti_users_hostname" must not contain underscores.
(#137) Variable "user_id_coincidence" must not contain underscores.
(#137) Variable "user_id" must not contain underscores.
(#137) Variable "lti_remote_users_id" must not contain underscores.
(#138) Variable "origin_coincidence" must not contain underscores.
(#138) Variable "user_id_coincidence" must not contain underscores.
(#139) Variable "origin_coincidence" must not contain underscores.
(#139) Variable "user_id_coincidence" must not contain underscores.
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) This comment is 43% valid code; is this commented out code?
(#141) Variable "user_id" must not contain underscores.
(#143) Variable "user_id" must not contain underscores.
blocks/remlab_manager/db/access.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
blocks/remlab_manager/db/install.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/remlab_manager/db/tasks.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/remlab_manager/db/upgrade.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#127) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/remlab_manager/edit_form.php
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#17) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#19) Expected 1 space before comment text but found 2; use block comment if you need indentation
(#20) Inline comments must end in full-stops, exclamation marks, or question marks
(#20) Expected 1 space before comment text but found 7; use block comment if you need indentation
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#34) Expected "if (...) {\n"; found "if (...) {\n"
blocks/remlab_manager/lang/en/block_remlab_manager.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) No space found before comment text; expected "// Privacy" but found "//Privacy"
blocks/remlab_manager/lang/es/block_remlab_manager.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#128) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) No space found before comment text; expected "// Privacy" but found "//Privacy"
blocks/remlab_manager/settings.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
blocks/remlab_manager/simplehtml_form.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#225) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/remlab_manager/version.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
blocks/remlab_manager/view.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#103) Variable "default_conf" must not contain underscores.
(#104) Variable "default_conf" must not contain underscores.

Javascript coding style problems

(0 errors, 1 warnings)

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

blocks/remlab_manager/amd/src/disable.js
(#39) Missing space before opening brace. (space-before-blocks)

CSS problems

(4 errors, 0 warnings)

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

blocks/remlab_manager/styles.css
(#14) Expected single space before "!" (declaration-bang-space-before)
(#22) Expected single space before "!" (declaration-bang-space-before)
(#14) Unexpected !important (declaration-no-important)
(#22) Unexpected !important (declaration-no-important)

PHPDocs style problems

(7 errors, 0 warnings)

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

blocks/remlab_manager/classes/task/synchronise_myfrontier_users.php
(#111) Function synchronise_myfrontier_users::update_role is not documented
(#165) Function synchronise_myfrontier_users::fcn1 is not documented
(#170) Function synchronise_myfrontier_users::fcn2 is not documented
blocks/remlab_manager/db/install.php
(#33) Function xmldb_block_remlab_manager_install is not documented
blocks/remlab_manager/edit_form.php
(#25) Package block is not valid
(#22) File-level phpdocs block is not found
(#32) Function block_remlab_manager_edit_form::specific_definition 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
Task "stylelint:css" 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]