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

(82 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
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#111) 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_sarlab_keys.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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, admin_externalpage_setup) following config inclusion. None found.
(#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?
(#94) This comment is 48% valid code; is this commented out code?
(#113) Line exceeds 132 characters; contains 135 characters
blocks/remlab_manager/classes/task/refresh_usestate_field.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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_sarlab_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.
(#108) Variable "lti_users_hostname" must not contain underscores.
(#110) Variable "lti_remote_users_id" must not contain underscores.
(#112) Variable "lti_remote_users_id" must not contain underscores.
(#118) Variable "lti_remote_users_id" must not contain underscores.
(#120) Variable "user_id" must not contain underscores.
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Variable "user_id" must not contain underscores.
(#126) Variable "user_id" must not contain underscores.
(#129) Variable "user_id" must not contain underscores.
(#131) Variable "xml_response" must not contain underscores.
(#132) Variable "user_site_hostname" must not contain underscores.
(#133) Variable "user_site_hostname" must not contain underscores.
(#133) Variable "user_site_hostname" must not contain underscores.
(#134) Variable "user_id" must not contain underscores.
(#135) Variable "site_hostname" must not contain underscores.
(#135) Variable "user_site_hostname" must not contain underscores.
(#137) Variable "user_id" must not contain underscores.
(#137) Inline comments must start with a capital letter, digit or 3-dots sequence
(#137) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Variable "user_id" must not contain underscores.
(#141) Variable "user_id" must not contain underscores.
(#144) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) Variable "origin_coincidence" must not contain underscores.
(#145) Variable "user_site_hostname" must not contain underscores.
(#145) Variable "lti_users_hostname" must not contain underscores.
(#146) Variable "user_id_coincidence" must not contain underscores.
(#146) Variable "user_id" must not contain underscores.
(#146) Variable "lti_remote_users_id" must not contain underscores.
(#147) Variable "origin_coincidence" must not contain underscores.
(#147) Variable "user_id_coincidence" must not contain underscores.
(#148) Variable "origin_coincidence" must not contain underscores.
(#148) Variable "user_id_coincidence" must not contain underscores.
(#148) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) This comment is 43% valid code; is this commented out code?
(#150) Variable "user_id" must not contain underscores.
(#152) Variable "user_id" must not contain underscores.
blocks/remlab_manager/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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
blocks/remlab_manager/edit_form.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#215) Inline comments must end in full-stops, exclamation marks, or question marks
(#219) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/remlab_manager/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#106) Variable "default_conf" must not contain underscores.
(#107) Variable "default_conf" 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

(0 errors, 0 warnings)

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


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_sarlab_users.php
(#104) Function synchronise_sarlab_users::fcn2 is not documented
(#113) Function synchronise_sarlab_users::fcn1 is not documented
(#120) Function synchronise_sarlab_users::update_role 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
(#22) File-level phpdocs block is not found
(#32) Function block_remlab_manager_edit_form::specific_definition is not documented
(#25) Package block is not valid

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

(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]