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, 96 warnings)

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

local/ldap/classes/privacy/provider.php
(#44) There must not be a space before the colon in a return type declaration
local/ldap/lang/en/local_ldap.php
(#27) The string key "cohort_synching_ldap_attribute_attribute" is not in the correct order, it should be before "cohort_synching_ldap_attribute_attribute_desc"
(#29) The string key "cohort_synching_ldap_attribute_autocreate_cohorts" is not in the correct order, it should be before "cohort_synching_ldap_attribute_autocreate_cohorts_desc"
(#31) The string key "cohort_synching_ldap_attribute_idnumbers" is not in the correct order, it should be before "cohort_synching_ldap_attribute_idnumbers_desc"
(#33) The string key "cohort_synching_ldap_attribute_objectclass" is not in the correct order, it should be before "cohort_synching_ldap_attribute_objectclass_desc"
(#35) The string key "cohort_synching_ldap_groups_autocreate_cohorts" is not in the correct order, it should be before "cohort_synching_ldap_groups_autocreate_cohorts_desc"
(#39) The string key "group_attribute" is not in the correct order, it should be before "group_attribute_desc"
(#41) The string key "group_class" is not in the correct order, it should be before "group_class_desc"
(#46) The string key "process_nested_groups" is not in the correct order, it should be before "process_nested_groups_desc"
(#48) The string key "real_user_attribute" is not in the correct order, it should be before "real_user_attribute_desc"
(#50) The string key "synccohortattribute" is not in the correct order, it should be before "synccohortattribute_info"
(#52) The string key "synccohortgroup" is not in the correct order, it should be before "synccohortgroup_info"
local/ldap/locallib.php
(#103) Expected 0 spaces after "merge_config"; 1 found
(#215) Line exceeds 132 characters; contains 145 characters
(#257) Line exceeds 132 characters; contains 136 characters
(#268) Line exceeds 132 characters; contains 135 characters
(#320) Line exceeds 132 characters; contains 145 characters
local/ldap/tests/sync_ad_test.php
(#42) Unit test sync_ad_test should be declared as final.
(#86) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
local/ldap/tests/sync_base_test.php
(#48) Unit test sync_base_test should be declared as final and not abstract.
(#50) Test method test_cohort_group_sync() is missing a return type
(#71) Short array syntax must be used to define arrays
(#72) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#86) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#98) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#183) Short array syntax must be used to define arrays
(#185) Short array syntax must be used to define arrays
(#187) Short array syntax must be used to define arrays
(#193) Short array syntax must be used to define arrays
(#196) Short array syntax must be used to define arrays
(#208) Short array syntax must be used to define arrays
(#213) Short array syntax must be used to define arrays
(#214) Short array syntax must be used to define arrays
(#217) Short array syntax must be used to define arrays
(#222) Short array syntax must be used to define arrays
(#223) Short array syntax must be used to define arrays
(#226) Short array syntax must be used to define arrays
(#233) Test method test_cohort_autocreation() is missing a return type
(#254) Short array syntax must be used to define arrays
(#255) Short array syntax must be used to define arrays
(#263) Short array syntax must be used to define arrays
(#264) Short array syntax must be used to define arrays
(#267) Short array syntax must be used to define arrays
(#269) Short array syntax must be used to define arrays
(#270) Short array syntax must be used to define arrays
(#272) Short array syntax must be used to define arrays
(#330) Short array syntax must be used to define arrays
(#331) Short array syntax must be used to define arrays
(#333) Short array syntax must be used to define arrays
(#334) Short array syntax must be used to define arrays
(#336) Short array syntax must be used to define arrays
(#337) Short array syntax must be used to define arrays
(#348) Test method test_cohort_attribute_sync() is missing a return type
(#368) Short array syntax must be used to define arrays
(#369) Short array syntax must be used to define arrays
(#380) Short array syntax must be used to define arrays
(#383) Short array syntax must be used to define arrays
(#386) Short array syntax must be used to define arrays
(#390) Short array syntax must be used to define arrays
(#470) Short array syntax must be used to define arrays
(#472) Short array syntax must be used to define arrays
(#474) Short array syntax must be used to define arrays
(#476) Short array syntax must be used to define arrays
(#482) Short array syntax must be used to define arrays
(#485) Short array syntax must be used to define arrays
(#490) Short array syntax must be used to define arrays
(#491) Short array syntax must be used to define arrays
(#494) Short array syntax must be used to define arrays
(#499) Short array syntax must be used to define arrays
(#500) Short array syntax must be used to define arrays
(#503) Short array syntax must be used to define arrays
(#555) Short array syntax must be used to define arrays
(#644) Short array syntax must be used to define arrays
(#650) Short array syntax must be used to define arrays
(#651) Short array syntax must be used to define arrays
(#654) Short array syntax must be used to define arrays
(#655) Short array syntax must be used to define arrays
(#656) Short array syntax must be used to define arrays
(#657) There should be a comma after the last array item in a multi-line array.
(#658) There should be a comma after the last array item in a multi-line array.
(#659) There should be a comma after the last array item in a multi-line array.
(#662) Short array syntax must be used to define arrays
(#694) Short array syntax must be used to define arrays
(#698) Short array syntax must be used to define arrays
(#699) Short array syntax must be used to define arrays
(#700) Short array syntax must be used to define arrays
(#701) There should be a comma after the last array item in a multi-line array.
(#702) There should be a comma after the last array item in a multi-line array.
(#703) There should be a comma after the last array item in a multi-line array.
(#706) Short array syntax must be used to define arrays
local/ldap/tests/sync_rfc2307_test.php
(#42) Unit test sync_rfc2307_test should be declared as final.
(#86) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays

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

(0 errors, 0 warnings)

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


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]


Gherkin .feature problems

(0 errors, 0 warnings)

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