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

(2275 errors, 185 warnings)

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

mod/edusharing/apiClient/src/EduSharing/AppAuthException.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#16) Opening brace should be on the same line as the declaration for class AppAuthException
(#18) Line exceeds maximum limit of 180 characters; contains 190 characters
(#20) Line exceeds 132 characters; contains 144 characters
(#21) There should be a comma after the last array item in a multi-line array.
(#39) Private method name "AppAuthException::getExplanation" must be in lower-case letters only
(#42) Inline control structures are not allowed
mod/edusharing/apiClient/src/EduSharing/CurlHandler.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#14) Opening brace should be on the same line as the declaration for class CurlHandler
(#29) The abstract declaration must precede the visibility declaration
(#29) Public method name "CurlHandler::handleCurlRequest" must be in lower-case letters only
(#29) Variable "curlOptions" must be all lower-case
(#31) Public method name "CurlHandler::setMethod" must be in lower-case letters only
(#36) File must end with a newline character
mod/edusharing/apiClient/src/EduSharing/CurlResult.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#13) Opening brace should be on the same line as the declaration for class CurlResult
mod/edusharing/apiClient/src/EduSharing/DefaultCurlHandler.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Opening brace should be on the same line as the declaration for class DefaultCurlHandler
(#23) Public method name "DefaultCurlHandler::handleCurlRequest" must be in lower-case letters only
(#23) Variable "curlOptions" must be all lower-case
(#25) Variable "curlOptions" must be all lower-case
(#32) File must end with a newline character
mod/edusharing/apiClient/src/EduSharing/DisplayMode.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Opening brace should be on the same line as the declaration for class DisplayMode
(#15) File must end with a newline character
mod/edusharing/apiClient/src/EduSharing/EduSharingAuthHelper.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#13) Opening brace should be on the same line as the declaration for class EduSharingAuthHelper
(#27) Public method name "EduSharingAuthHelper::getTicketAuthenticationInfo" must be in lower-case letters only
(#36) There should be a comma after the last array item in a multi-line array.
(#58) Public method name "EduSharingAuthHelper::getTicketForUser" must be in lower-case letters only
(#59) Line exceeds 132 characters; contains 133 characters
(#65) There should be a comma after the last array item in a multi-line array.
(#68) Line exceeds maximum limit of 180 characters; contains 231 characters
(#73) The use of function error_log() is forbidden; use debugging() instead
(#76) Variable "gotInvalidHostError" must be all lower-case
(#77) Variable "responseOk" must be all lower-case
(#77) Variable "gotInvalidHostError" must be all lower-case
(#78) Variable "responseOk" must be all lower-case
(#78) Line exceeds 132 characters; contains 140 characters
mod/edusharing/apiClient/src/EduSharing/EduSharingHelper.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#13) Opening brace should be on the same line as the declaration for class EduSharingHelper
(#23) Public method name "EduSharingHelper::generateKeyPair" must be in lower-case letters only
(#26) Variable "privateKey" must be all lower-case
(#27) Variable "publicKeyData" must be all lower-case
(#28) Variable "publicKey" must be all lower-case
(#28) Variable "publicKeyData" must be all lower-case
(#30) Variable "privateKey" must be all lower-case
(#31) There should be a comma after the last array item in a multi-line array.
(#31) Variable "publicKey" must be all lower-case
(#41) Public method name "EduSharingHelper::generateEduAppXMLData" must be in lower-case letters only
(#41) Variable "appId" must be all lower-case
(#41) Variable "publicKey" must be all lower-case
(#41) Variable "publicIP" must be all lower-case
(#41) Line exceeds 132 characters; contains 138 characters
(#45) Variable "appId" must be all lower-case
(#46) Variable "publicKey" must be all lower-case
(#49) Whitespace found at end of line within string
(#50) Variable "publicIP" must be all lower-case
(#52) Whitespace found at end of line within string
mod/edusharing/apiClient/src/EduSharing/EduSharingHelperAbstract.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Opening brace should be on the same line as the declaration for class EduSharingHelperAbstract
(#31) Public method name "EduSharingHelperAbstract::getRESTAuthenticationHeader" must be in lower-case letters only
(#43) Protected method name "EduSharingHelperAbstract::getSignatureHeaders" must be in lower-case letters only
(#43) Variable "signString" must be all lower-case
(#43) Variable "contentType" must be all lower-case
(#43) Line exceeds 132 characters; contains 150 characters
(#45) Variable "toSign" must be all lower-case
(#45) Variable "signString" must be all lower-case
(#46) Variable "toSign" must be all lower-case
(#49) Variable "contentType" must be all lower-case
(#51) Variable "toSign" must be all lower-case
(#63) Variable "toSign" must be all lower-case
(#64) Variable "toSign" must be all lower-case
mod/edusharing/apiClient/src/EduSharing/EduSharingHelperBase.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#13) Opening brace should be on the same line as the declaration for class EduSharingHelperBase
(#14) Member variable "baseUrl" must be all lower-case
(#15) Member variable "privateKey" must be all lower-case
(#16) Member variable "appId" must be all lower-case
(#18) Member variable "curlHandler" must be all lower-case
(#29) Variable "baseUrl" must be all lower-case
(#29) Variable "privateKey" must be all lower-case
(#29) Variable "appId" must be all lower-case
(#30) Variable "appId" must be all lower-case
(#33) Variable "baseUrl" must be all lower-case
(#33) Variable "baseUrl" must be all lower-case
(#34) Variable "baseUrl" must be all lower-case
(#35) Variable "privateKey" must be all lower-case
(#36) Variable "appId" must be all lower-case
(#46) Public method name "EduSharingHelperBase::registerCurlHandler" must be in lower-case letters only
(#57) Public method name "EduSharingHelperBase::handleCurlRequest" must be in lower-case letters only
(#57) Variable "curlOptions" must be all lower-case
(#58) Variable "curlOptions" must be all lower-case
(#67) Public method name "EduSharingHelperBase::setLanguage" must be in lower-case letters only
(#77) Variable "toSign" must be all lower-case
(#78) Variable "privateKeyId" must be all lower-case
(#79) Variable "toSign" must be all lower-case
(#79) Variable "privateKeyId" must be all lower-case
(#89) Public method name "EduSharingHelperBase::verifyCompatibility" must be in lower-case letters only
(#90) Variable "minVersion" must be all lower-case
(#97) There should be a comma after the last array item in a multi-line array.
(#101) Variable "minVersion" must be all lower-case
(#102) Variable "minVersion" must be all lower-case
(#102) The use of function print_r() is forbidden
(#102) Line exceeds maximum limit of 180 characters; contains 216 characters
(#105) The use of function print_r() is forbidden
mod/edusharing/apiClient/src/EduSharing/EduSharingNodeHelper.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Opening brace should be on the same line as the declaration for class EduSharingNodeHelper
(#47) Public method name "EduSharingNodeHelper::createUsage" must be in lower-case letters only
(#47) Variable "containerId" must be all lower-case
(#47) Variable "resourceId" must be all lower-case
(#47) Variable "nodeId" must be all lower-case
(#47) Variable "nodeVersion" must be all lower-case
(#47) Line exceeds 132 characters; contains 141 characters
(#55) Variable "containerId" must be all lower-case
(#56) Variable "resourceId" must be all lower-case
(#57) Variable "nodeId" must be all lower-case
(#58) Variable "nodeVersion" must be all lower-case
(#61) There should be a comma after the last array item in a multi-line array.
(#65) Variable "nodeVersion" must be all lower-case
(#65) Variable "containerId" must be all lower-case
(#65) Variable "resourceId" must be all lower-case
(#87) Public method name "EduSharingNodeHelper::getUsageIdByParameters" must be in lower-case letters only
(#87) Variable "nodeId" must be all lower-case
(#87) Variable "containerId" must be all lower-case
(#87) Variable "resourceId" must be all lower-case
(#90) Variable "nodeId" must be all lower-case
(#93) There should be a comma after the last array item in a multi-line array.
(#98) Variable "containerId" must be all lower-case
(#98) Variable "resourceId" must be all lower-case
(#98) Line exceeds 132 characters; contains 164 characters
(#105) Line exceeds 132 characters; contains 134 characters
(#127) Public method name "EduSharingNodeHelper::getNodeByUsage" must be in lower-case letters only
(#127) Variable "displayMode" must be all lower-case
(#127) Variable "renderingParams" must be all lower-case
(#129) Variable "displayMode" must be all lower-case
(#137) Variable "renderingParams" must be all lower-case
(#139) There should be a comma after the last array item in a multi-line array.
(#149) Line exceeds 132 characters; contains 157 characters
(#151) Line exceeds 132 characters; contains 142 characters
(#170) Public method name "EduSharingNodeHelper::deleteUsage" must be in lower-case letters only
(#170) Variable "nodeId" must be all lower-case
(#170) Variable "usageId" must be all lower-case
(#171) Variable "nodeId" must be all lower-case
(#171) Variable "usageId" must be all lower-case
(#172) Variable "nodeId" must be all lower-case
(#172) Variable "usageId" must be all lower-case
(#172) Line exceeds 132 characters; contains 160 characters
(#176) There should be a comma after the last array item in a multi-line array.
(#185) Line exceeds 132 characters; contains 134 characters
(#195) Private method name "EduSharingNodeHelper::handleURLMapping" must be in lower-case letters only
(#200) Line exceeds maximum limit of 180 characters; contains 204 characters
(#204) Variable "endpointBase" must be all lower-case
(#204) Line exceeds 132 characters; contains 153 characters
(#205) Variable "contentUrl" must be all lower-case
(#205) Variable "endpointBase" must be all lower-case
(#207) Variable "contentUrl" must be all lower-case
(#208) Variable "endpointBase" must be all lower-case
(#208) There should be a comma after the last array item in a multi-line array.
(#210) Variable "contentUrl" must be all lower-case
(#225) Public method name "EduSharingNodeHelper::getRedirectUrl" must be in lower-case letters only
(#253) Private method name "EduSharingNodeHelper::getUsageSignatureHeaders" must be in lower-case letters only
mod/edusharing/apiClient/src/EduSharing/EduSharingNodeHelperConfig.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Opening brace should be on the same line as the declaration for class EduSharingNodeHelperConfig
(#12) Member variable "urlHandling" must be all lower-case
(#19) Variable "urlHandling" must be all lower-case
(#20) Variable "urlHandling" must be all lower-case
mod/edusharing/apiClient/src/EduSharing/NodeDeletedException.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Opening brace should be on the same line as the declaration for class NodeDeletedException
(#16) File must end with a newline character
mod/edusharing/apiClient/src/EduSharing/UrlHandling.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Opening brace should be on the same line as the declaration for class UrlHandling
(#17) Member variable "endpointURL" must be all lower-case
(#25) Variable "endpointURL" must be all lower-case
(#27) Variable "endpointURL" must be all lower-case
(#29) File must end with a newline character
mod/edusharing/apiClient/src/EduSharing/Usage.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#14) Opening brace should be on the same line as the declaration for class Usage
(#15) Member variable "nodeId" must be all lower-case
(#16) Member variable "nodeVersion" must be all lower-case
(#17) Member variable "containerId" must be all lower-case
(#18) Member variable "resourceId" must be all lower-case
(#19) Member variable "usageId" must be all lower-case
(#30) Variable "nodeId" must be all lower-case
(#30) Variable "nodeVersion" must be all lower-case
(#30) Variable "containerId" must be all lower-case
(#30) Variable "resourceId" must be all lower-case
(#30) Variable "usageId" must be all lower-case
(#31) Variable "nodeId" must be all lower-case
(#32) Variable "nodeVersion" must be all lower-case
(#33) Variable "containerId" must be all lower-case
(#34) Variable "resourceId" must be all lower-case
(#35) Variable "usageId" must be all lower-case
mod/edusharing/apiClient/src/EduSharing/UsageDeletedException.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Opening brace should be on the same line as the declaration for class UsageDeletedException
(#16) File must end with a newline character
mod/edusharing/backup/moodle2/backup_edusharing_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#3) Inline comments must end in full-stops, exclamation marks, or question marks
(#4) Inline comments must end in full-stops, exclamation marks, or question marks
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#23) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) The static declaration must come after the visibility declaration
(#34) Commas (,) must be followed by white space.
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Expected 1 space before "="; 0 found
(#37) Expected 1 space after "="; 0 found
(#38) Expected 1 space before "="; 0 found
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Expected 1 space before "="; 0 found
(#41) Expected 1 space after "="; 0 found
(#42) Expected 1 space before "="; 0 found
mod/edusharing/backup/moodle2/backup_edusharing_settingslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/backup/moodle2/backup_edusharing_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#13) Inline comments must end in full-stops, exclamation marks, or question marks
(#16) Inline comments must end in full-stops, exclamation marks, or question marks
(#17) Short array syntax must be used to define arrays
(#17) Short array syntax must be used to define arrays
(#22) There should be a comma after the last array item in a multi-line array.
(#24) Short array syntax must be used to define arrays
(#26) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/backup/moodle2/restore_edusharing_activity_task.class.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#7) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#7) Inline comments must end in full-stops, exclamation marks, or question marks
(#15) Inline comments must end in full-stops, exclamation marks, or question marks
(#22) Inline comments must start with a capital letter, digit or 3-dots sequence
(#22) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) The static declaration must come after the visibility declaration
(#31) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#42) The static declaration must come after the visibility declaration
(#43) Short array syntax must be used to define arrays
(#58) The static declaration must come after the visibility declaration
(#59) Short array syntax must be used to define arrays
(#81) The static declaration must come after the visibility declaration
(#82) Short array syntax must be used to define arrays
(#84) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/backup/moodle2/restore_edusharing_stepslib.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#6) Line 12 of the opening comment must start "//".
(#7) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#7) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#10) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#17) Short array syntax must be used to define arrays
(#22) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Variable "newId" must be all lower-case
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Variable "newId" must be all lower-case
(#37) Variable "newId" must be all lower-case
(#40) Variable "newId" must be all lower-case
(#40) Variable "newId" must be all lower-case
(#41) Line exceeds 132 characters; contains 172 characters
(#43) Variable "stupidException" must be all lower-case
(#45) Variable "stupidException" must be all lower-case
mod/edusharing/classes/AppConfig.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Opening brace should be on the same line as the declaration for interface AppConfig
mod/edusharing/classes/Constants.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#11) Opening brace should be on the same line as the declaration for class Constants
(#16) File must end with a newline character
mod/edusharing/classes/DefaultAppConfig.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#16) Opening brace should be on the same line as the declaration for class DefaultAppConfig
(#27) Opening brace should be on the same line as the declaration
(#41) Opening brace should be on the same line as the declaration
mod/edusharing/classes/EduSharingService.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#31) Opening brace should be on the same line as the declaration for class EduSharingService
(#32) Member variable "authHelper" must be all lower-case
(#33) Member variable "nodeHelper" must be all lower-case
(#45) Variable "authHelper" must be all lower-case
(#45) Variable "nodeHelper" must be all lower-case
(#45) Line exceeds 132 characters; contains 150 characters
(#46) Variable "authHelper" must be all lower-case
(#47) Variable "nodeHelper" must be all lower-case
(#63) Variable "internalUrl" must be all lower-case
(#64) Variable "baseHelper" must be all lower-case
(#64) Variable "internalUrl" must be all lower-case
(#64) Line exceeds 132 characters; contains 174 characters
(#65) Variable "baseHelper" must be all lower-case
(#66) Variable "baseHelper" must be all lower-case
(#68) Variable "nodeConfig" must be all lower-case
(#69) Variable "baseHelper" must be all lower-case
(#69) Variable "nodeConfig" must be all lower-case
(#80) Public method name "EduSharingService::createUsage" must be in lower-case letters only
(#80) Variable "usageData" must be all lower-case
(#81) Variable "usageData" must be all lower-case
(#81) Variable "usageData" must be all lower-case
(#81) Variable "usageData" must be all lower-case
(#81) Variable "usageData" must be all lower-case
(#81) Variable "usageData" must be all lower-case
(#81) Variable "usageData" must be all lower-case
(#81) Line exceeds maximum limit of 180 characters; contains 242 characters
(#89) Public method name "EduSharingService::getUsageId" must be in lower-case letters only
(#89) Variable "usageData" must be all lower-case
(#90) Variable "usageId" must be all lower-case
(#90) Variable "usageData" must be all lower-case
(#90) Variable "usageData" must be all lower-case
(#90) Variable "usageData" must be all lower-case
(#90) Variable "usageData" must be all lower-case
(#90) Line exceeds 132 characters; contains 150 characters
(#91) Variable "usageId" must be all lower-case
(#92) Variable "usageId" must be all lower-case
(#100) Public method name "EduSharingService::deleteUsage" must be in lower-case letters only
(#100) Variable "usageData" must be all lower-case
(#101) Variable "usageData" must be all lower-case
(#103) Variable "usageData" must be all lower-case
(#103) Variable "usageData" must be all lower-case
(#104) Variable "usageDeletedException" must be all lower-case
(#105) The use of function error_log() is forbidden; use debugging() instead
(#105) Variable "usageDeletedException" must be all lower-case
(#116) Public method name "EduSharingService::getNode" must be in lower-case letters only
(#116) Variable "postData" must be all lower-case
(#117) Variable "postData" must be all lower-case
(#117) Variable "postData" must be all lower-case
(#117) Variable "postData" must be all lower-case
(#117) Variable "postData" must be all lower-case
(#117) Variable "postData" must be all lower-case
(#117) Line exceeds 132 characters; contains 137 characters
(#126) Public method name "EduSharingService::getTicket" must be in lower-case letters only
(#132) Variable "ticketInfo" must be all lower-case
(#133) Variable "ticketInfo" must be all lower-case
(#154) Public method name "EduSharingService::deleteInstance" must be in lower-case letters only
(#156) Variable "eduSharing" must be all lower-case
(#157) Variable "usageData" must be all lower-case
(#158) Variable "usageData" must be all lower-case
(#159) Variable "usageData" must be all lower-case
(#159) Variable "eduSharing" must be all lower-case
(#160) Variable "usageData" must be all lower-case
(#160) Variable "eduSharing" must be all lower-case
(#161) Variable "usageData" must be all lower-case
(#161) Variable "eduSharing" must be all lower-case
(#162) Variable "usageData" must be all lower-case
(#162) Variable "usageData" must be all lower-case
(#163) Variable "usageData" must be all lower-case
(#164) Variable "eduSharing" must be all lower-case
(#174) Public method name "EduSharingService::addInstance" must be in lower-case letters only
(#174) Variable "eduSharing" must be all lower-case
(#174) Variable "updateTime" must be all lower-case
(#177) Variable "eduSharing" must be all lower-case
(#177) Variable "updateTime" must be all lower-case
(#178) Variable "eduSharing" must be all lower-case
(#178) Variable "updateTime" must be all lower-case
(#181) Variable "eduSharing" must be all lower-case
(#181) Variable "updateTime" must be all lower-case
(#184) Variable "eduSharing" must be all lower-case
(#186) Inline comments must start with a capital letter, digit or 3-dots sequence
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) No space found before comment text; expected "// use simple version handling for atto plugin or legacy code" but found "//use simple version handling for atto plugin or legacy code"
(#187) Variable "eduSharing" must be all lower-case
(#188) Inline comments must start with a capital letter, digit or 3-dots sequence
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) No space found before comment text; expected "// avoid database error" but found "//avoid database error"
(#189) Variable "eduSharing" must be all lower-case
(#190) Variable "eduSharing" must be all lower-case
(#190) Variable "eduSharing" must be all lower-case
(#191) Variable "eduSharing" must be all lower-case
(#191) Variable "eduSharing" must be all lower-case
(#194) Variable "eduSharing" must be all lower-case
(#196) The use of function error_log() is forbidden; use debugging() instead
(#199) Variable "usageData" must be all lower-case
(#200) Variable "usageData" must be all lower-case
(#200) Variable "eduSharing" must be all lower-case
(#201) Variable "usageData" must be all lower-case
(#202) Variable "usageData" must be all lower-case
(#202) Variable "eduSharing" must be all lower-case
(#203) Variable "usageData" must be all lower-case
(#203) Variable "eduSharing" must be all lower-case
(#205) Variable "usageData" must be all lower-case
(#206) Variable "eduSharing" must be all lower-case
(#207) Variable "eduSharing" must be all lower-case
(#208) Variable "eduSharing" must be all lower-case
(#211) The use of function error_log() is forbidden; use debugging() instead
(#214) Variable "deleteException" must be all lower-case
(#215) The use of function error_log() is forbidden; use debugging() instead
(#215) Variable "deleteException" must be all lower-case
(#228) Public method name "EduSharingService::updateInstance" must be in lower-case letters only
(#228) Variable "updateTime" must be all lower-case
(#230) Inline comments must end in full-stops, exclamation marks, or question marks
(#234) Variable "updateTime" must be all lower-case
(#235) Variable "usageData" must be all lower-case
(#236) Variable "usageData" must be all lower-case
(#237) Variable "usageData" must be all lower-case
(#238) Variable "usageData" must be all lower-case
(#239) Variable "usageData" must be all lower-case
(#242) Variable "usageData" must be all lower-case
(#248) Variable "usageData" must be all lower-case
(#252) The use of function error_log() is forbidden; use debugging() instead
(#255) Variable "updateException" must be all lower-case
(#256) The use of function error_log() is forbidden; use debugging() instead
(#256) Variable "updateException" must be all lower-case
(#270) Private method name "EduSharingService::postProcessEdusharingObject" must be in lower-case letters only
(#270) Variable "updateTime" must be all lower-case
(#271) Variable "updateTime" must be all lower-case
(#272) Variable "updateTime" must be all lower-case
(#276) Variable "updateTime" must be all lower-case
(#278) Variable "updateTime" must be all lower-case
(#303) Public method name "EduSharingService::importMetadata" must be in lower-case letters only
(#304) Variable "curlOptions" must be all lower-case
(#310) There should be a comma after the last array item in a multi-line array.
(#312) Variable "curlOptions" must be all lower-case
(#322) Public method name "EduSharingService::validateSession" must be in lower-case letters only
(#326) There should be a comma after the last array item in a multi-line array.
(#331) There should be a comma after the last array item in a multi-line array.
(#344) Public method name "EduSharingService::registerPlugin" must be in lower-case letters only
(#345) Variable "registrationUrl" must be all lower-case
(#350) There should be a comma after the last array item in a multi-line array.
(#353) Variable "registrationUrl" must be all lower-case
(#356) There should be a comma after the last array item in a multi-line array.
(#376) Public method name "EduSharingService::getRenderHtml" must be in lower-case letters only
(#377) Variable "curlOptions" must be all lower-case
(#383) There should be a comma after the last array item in a multi-line array.
(#385) Variable "curlOptions" must be all lower-case
(#404) Public method name "EduSharingService::requireEduLogin" must be in lower-case letters only
(#404) Variable "courseId" must be all lower-case
(#404) Variable "checkTicket" must be all lower-case
(#404) Variable "checkSessionKey" must be all lower-case
(#405) Variable "courseId" must be all lower-case
(#406) Variable "checkSessionKey" must be all lower-case
(#407) Variable "checkTicket" must be all lower-case
mod/edusharing/classes/EduSharingUserException.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#14) Opening brace should be on the same line as the declaration for class EduSharingUserException
(#15) Member variable "htmlMessage" must be all lower-case
(#25) Variable "htmlMessage" must be all lower-case
(#26) Variable "htmlMessage" must be all lower-case
(#35) Public method name "EduSharingUserException::getHtmlMessage" must be in lower-case letters only
mod/edusharing/classes/InstallUpgradeLogic.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#1) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#1) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#14) Opening brace should be on the same line as the declaration for class InstallUpgradeLogic
(#15) Member variable "registrationLogic" must be all lower-case
(#16) Member variable "metadataLogic" must be all lower-case
(#18) Member variable "configPath" must be all lower-case
(#19) Member variable "configData" must be all lower-case
(#26) Variable "configPath" must be all lower-case
(#27) Variable "configPath" must be all lower-case
(#36) Public method name "InstallUpgradeLogic::parseConfigData" must be in lower-case letters only
(#40) Variable "jsonString" must be all lower-case
(#41) Variable "jsonString" must be all lower-case
(#50) Variable "isInstall" must be all lower-case
(#52) Line exceeds maximum limit of 180 characters; contains 194 characters
(#55) Variable "metadataUrl" must be all lower-case
(#56) Variable "isInstall" must be all lower-case
(#57) Line exceeds 132 characters; contains 152 characters
(#59) Line exceeds 132 characters; contains 145 characters
(#60) Line exceeds 132 characters; contains 142 characters
(#62) Variable "metadataUrl" must be all lower-case
(#63) Variable "repoUrl" must be all lower-case
(#65) Variable "registrationResult" must be all lower-case
(#65) Variable "repoUrl" must be all lower-case
(#65) Line exceeds 132 characters; contains 164 characters
(#67) The use of function error_log() is forbidden; use debugging() instead
(#70) Variable "registrationResult" must be all lower-case
(#71) The use of function error_log() is forbidden; use debugging() instead
(#80) Public method name "InstallUpgradeLogic::getConfigData" must be in lower-case letters only
(#90) Public method name "InstallUpgradeLogic::setRegistrationLogic" must be in lower-case letters only
(#90) Variable "pluginRegistration" must be all lower-case
(#91) Variable "pluginRegistration" must be all lower-case
(#100) Public method name "InstallUpgradeLogic::setMetadataLogic" must be in lower-case letters only
(#100) Variable "metadataLogic" must be all lower-case
(#101) Variable "metadataLogic" must be all lower-case
mod/edusharing/classes/MetaDataFrontend.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#1) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#1) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#13) Opening brace should be on the same line as the declaration for class MetaDataFrontend
(#19) Public method name "MetaDataFrontend::getRepoForm" must be in lower-case letters only
(#21) Variable "repoUrl" must be all lower-case
(#21) Line exceeds 132 characters; contains 146 characters
(#22) Variable "appId" must be all lower-case
(#22) Line exceeds 132 characters; contains 136 characters
(#23) Variable "hostAliases" must be all lower-case
(#23) Line exceeds 132 characters; contains 150 characters
(#28) Expected "if (...) {\n"; found "if (...){\n"
(#28) Variable "repoUrl" must be all lower-case
(#35) Variable "repoUrl" must be all lower-case
(#39) Line exceeds 132 characters; contains 133 characters
(#42) Variable "appId" must be all lower-case
(#46) Variable "hostAliases" must be all lower-case
(#46) Line exceeds 132 characters; contains 138 characters
(#50) Whitespace found at end of line within string
(#64) Public method name "MetaDataFrontend::getMetaDataForm" must be in lower-case letters only
(#70) Whitespace found at end of line within string
(#78) Line exceeds 132 characters; contains 152 characters
(#84) Line exceeds 132 characters; contains 163 characters
mod/edusharing/classes/MetadataLogic.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#17) Opening brace should be on the same line as the declaration for class MetadataLogic
(#18) Member variable "reloadForm" must be all lower-case
(#19) Member variable "hostAliases" must be all lower-case
(#20) Member variable "wloGuestUser" must be all lower-case
(#21) Member variable "appId" must be all lower-case
(#54) Public method name "MetadataLogic::importMetadata" must be in lower-case letters only
(#54) Variable "metaDataUrl" must be all lower-case
(#58) Variable "metaDataUrl" must be all lower-case
(#63) Line exceeds 132 characters; contains 136 characters
(#67) Variable "metaDataUrl" must be all lower-case
(#67) Line exceeds 132 characters; contains 164 characters
(#73) Line exceeds 132 characters; contains 157 characters
(#75) Variable "repoId" must be all lower-case
(#76) Variable "privateKey" must be all lower-case
(#77) Variable "publicKey" must be all lower-case
(#82) Variable "clientProtocol" must be all lower-case
(#83) Variable "repoDomain" must be all lower-case
(#84) Variable "clientPort" must be all lower-case
(#88) Variable "repoId" must be all lower-case
(#89) Variable "clientProtocol" must be all lower-case
(#89) Variable "repoDomain" must be all lower-case
(#89) Variable "clientPort" must be all lower-case
(#89) Line exceeds 132 characters; contains 140 characters
(#97) Variable "privateKey" must be all lower-case
(#97) Variable "publicKey" must be all lower-case
(#98) Variable "keyPair" must be all lower-case
(#99) Variable "keyPair" must be all lower-case
(#100) Variable "keyPair" must be all lower-case
(#103) Line exceeds maximum limit of 180 characters; contains 181 characters
(#121) Public method name "MetadataLogic::createXmlMetadata" must be in lower-case letters only
(#124) Line exceeds 132 characters; contains 149 characters
(#165) Public method name "MetadataLogic::setHostAliases" must be in lower-case letters only
(#165) Variable "hostAliases" must be all lower-case
(#166) Variable "hostAliases" must be all lower-case
(#175) Public method name "MetadataLogic::setWloGuestUser" must be in lower-case letters only
(#175) Variable "wloGuestUser" must be all lower-case
(#176) Variable "wloGuestUser" must be all lower-case
(#186) Public method name "MetadataLogic::setAppId" must be in lower-case letters only
(#186) Variable "appId" must be all lower-case
(#187) Variable "appId" must be all lower-case
mod/edusharing/classes/MoodleCurlHandler.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Opening brace should be on the same line as the declaration for class MoodleCurlHandler
(#23) Public method name "MoodleCurlHandler::handleCurlRequest" must be in lower-case letters only
(#23) Variable "curlOptions" must be all lower-case
(#29) Variable "allConstants" must be all lower-case
(#30) Variable "curlOptions" must be all lower-case
(#32) Variable "allConstants" must be all lower-case
(#33) Variable "allConstants" must be all lower-case
(#35) Variable "allConstants" must be all lower-case
(#52) Usage of ELSEIF not allowed; use ELSE IF instead
mod/edusharing/classes/PluginRegistration.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#13) Opening brace should be on the same line as the declaration for class PluginRegistration
(#33) Public method name "PluginRegistration::registerPlugin" must be in lower-case letters only
(#33) Variable "repoUrl" must be all lower-case
(#34) Variable "repoUrl" must be all lower-case
(#35) Variable "repoUrl" must be all lower-case
(#44) Private method name "PluginRegistration::validateAlfrescoSession" must be in lower-case letters only
(#44) Variable "repoUrl" must be all lower-case
(#45) Variable "repoUrl" must be all lower-case
(#61) Private method name "PluginRegistration::performRegistration" must be in lower-case letters only
(#61) Variable "repoUrl" must be all lower-case
(#64) Variable "repoUrl" must be all lower-case
(#78) Private method name "PluginRegistration::getRegistrationApiBody" must be in lower-case letters only
mod/edusharing/classes/PluginRegistrationFrontend.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#1) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#1) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#13) Opening brace should be on the same line as the declaration for class PluginRegistrationFrontend
(#22) Public method name "PluginRegistrationFrontend::registerPlugin" must be in lower-case letters only
(#22) Variable "repoUrl" must be all lower-case
(#24) Variable "errorMessage" must be all lower-case
(#24) Variable "repoUrl" must be all lower-case
(#26) Variable "registrationLogic" must be all lower-case
(#27) Variable "metadataLogic" must be all lower-case
(#28) Variable "metadataLogic" must be all lower-case
(#30) Variable "registrationLogic" must be all lower-case
(#30) Variable "repoUrl" must be all lower-case
(#32) Variable "errorMessage" must be all lower-case
(#32) Line exceeds 132 characters; contains 170 characters
(#36) Variable "repoUrl" must be all lower-case
(#38) Variable "errorMessage" must be all lower-case
(#40) Whitespace found at end of line within string
(#41) Variable "repoUrl" must be all lower-case
(#41) Line exceeds 132 characters; contains 133 characters
(#43) Whitespace found at end of line within string
(#45) Whitespace found at end of line within string
(#47) Whitespace found at end of line within string
mod/edusharing/classes/RestoreHelper.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#13) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#21) Opening brace should be on the same line as the declaration for class RestoreHelper
(#42) Public method name "RestoreHelper::convertInlineOptions" must be in lower-case letters only
(#42) Variable "courseId" must be all lower-case
(#44) Variable "courseId" must be all lower-case
(#46) Variable "matchesAtto" must be all lower-case
(#47) Variable "matchesAtto" must be all lower-case
(#48) Variable "matchesAtto" must be all lower-case
(#49) Variable "courseId" must be all lower-case
(#54) Variable "courseId" must be all lower-case
(#55) Variable "courseId" must be all lower-case
(#57) Variable "modInfo" must be all lower-case
(#58) Variable "modInfo" must be all lower-case
(#60) Variable "matchesAtto" must be all lower-case
(#61) Variable "matchesAtto" must be all lower-case
(#62) Variable "matchesAtto" must be all lower-case
(#63) Variable "courseId" must be all lower-case
(#70) The use of function error_log() is forbidden; use debugging() instead
(#74) Variable "matchesAtto" must be all lower-case
(#75) Variable "matchesAtto" must be all lower-case
(#76) Variable "matchesAtto" must be all lower-case
(#77) Variable "courseId" must be all lower-case
(#83) Variable "courseId" must be all lower-case
(#92) Private method name "RestoreHelper::getInlineObjects" must be in lower-case letters only
(#104) Variable "matchesImgAtto" must be all lower-case
(#105) Variable "matchesAAtto" must be all lower-case
(#106) Variable "matchesImgAtto" must be all lower-case
(#106) Variable "matchesAAtto" must be all lower-case
(#119) Private method name "RestoreHelper::convertObject" must be in lower-case letters only
(#119) Variable "courseId" must be all lower-case
(#138) Variable "courseId" must be all lower-case
(#177) Public method name "RestoreHelper::addUsage" must be in lower-case letters only
(#177) Variable "newItemId" must be all lower-case
(#178) Variable "usageData" must be all lower-case
(#179) Variable "usageData" must be all lower-case
(#180) Variable "usageData" must be all lower-case
(#180) Variable "newItemId" must be all lower-case
(#182) Variable "usageData" must be all lower-case
(#183) Variable "usageData" must be all lower-case
(#184) Variable "usageData" must be all lower-case
mod/edusharing/classes/UtilityFunctions.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#19) Opening brace should be on the same line as the declaration for class UtilityFunctions
(#20) Member variable "appConfig" must be all lower-case
(#52) Public method name "UtilityFunctions::getObjectIdFromUrl" must be in lower-case letters only
(#53) Variable "objectId" must be all lower-case
(#54) Variable "objectId" must be all lower-case
(#64) Variable "objectId" must be all lower-case
(#77) Public method name "UtilityFunctions::getRepositoryIdFromUrl" must be in lower-case letters only
(#78) Variable "repoId" must be all lower-case
(#79) Variable "repoId" must be all lower-case
(#83) Variable "repoId" must be all lower-case
(#91) Public method name "UtilityFunctions::getRedirectUrl" must be in lower-case letters only
(#91) Variable "eduSharing" must be all lower-case
(#98) Variable "repoId" must be all lower-case
(#98) Variable "eduSharing" must be all lower-case
(#100) The use of function error_log() is forbidden; use debugging() instead
(#103) Variable "repoId" must be all lower-case
(#104) Variable "eduSharing" must be all lower-case
(#105) Variable "eduSharing" must be all lower-case
(#106) Variable "eduSharing" must be all lower-case
(#107) Variable "eduSharing" must be all lower-case
(#113) Variable "eduSharing" must be all lower-case
(#114) Inline comments must start with a capital letter, digit or 3-dots sequence
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) No space found before comment text; expected "// repository" but found "//repository"
(#115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) No space found before comment text; expected "// rendering service" but found "//rendering service"
(#126) Public method name "UtilityFunctions::getAuthKey" must be in lower-case letters only
(#133) Variable "guestOption" must be all lower-case
(#134) Variable "guestOption" must be all lower-case
(#135) Variable "guestId" must be all lower-case
(#137) Variable "guestId" must be all lower-case
(#137) Variable "guestId" must be all lower-case
(#139) Variable "eduAuthKey" must be all lower-case
(#140) Inline control structures are not allowed
(#140) Variable "eduAuthKey" must be all lower-case
(#142) Inline control structures are not allowed
(#142) Variable "eduAuthKey" must be all lower-case
(#144) Inline control structures are not allowed
(#144) Variable "eduAuthKey" must be all lower-case
(#146) Inline control structures are not allowed
(#146) Variable "eduAuthKey" must be all lower-case
(#147) Variable "eduAuthKey" must be all lower-case
(#157) Public method name "UtilityFunctions::encryptWithRepoKey" must be in lower-case letters only
(#175) Public method name "UtilityFunctions::setModuleIdInDb" must be in lower-case letters only
(#175) Variable "id_type" must not contain underscores.
(#177) Variable "matchesImgAtto" must be all lower-case
(#178) Variable "matchesAAtto" must be all lower-case
(#179) Variable "matchesAtto" must be all lower-case
(#179) Variable "matchesImgAtto" must be all lower-case
(#179) Variable "matchesAAtto" must be all lower-case
(#180) Variable "matchesAtto" must be all lower-case
(#181) Variable "resourceId" must be all lower-case
(#184) Variable "resourceId" must be all lower-case
(#185) Variable "resourceId" must be all lower-case
(#185) Variable "resourceId" must be all lower-case
(#185) Variable "resourceId" must be all lower-case
(#188) Variable "id_type" must not contain underscores.
(#188) Variable "resourceId" must be all lower-case
(#190) The use of function error_log() is forbidden; use debugging() instead
(#201) Public method name "UtilityFunctions::updateSettingsImages" must be in lower-case letters only
(#201) Variable "settingName" must be all lower-case
(#205) Variable "settingName" must be all lower-case
(#207) Variable "settingName" must be all lower-case
(#210) Variable "sysContext" must be all lower-case
(#211) Variable "settingName" must be all lower-case
(#213) The use of function error_log() is forbidden; use debugging() instead
(#220) Variable "fullPath" must be all lower-case
(#220) Variable "sysContext" must be all lower-case
(#220) Variable "settingName" must be all lower-case
(#224) Variable "fullPath" must be all lower-case
(#229) Variable "pathPattern" must be all lower-case
(#233) Variable "pathPattern" must be all lower-case
(#239) Variable "pathPattern" must be all lower-case
(#243) Variable "pathPattern" must be all lower-case
(#257) Public method name "UtilityFunctions::getCourseModuleInfo" must be in lower-case letters only
(#257) Variable "courseModule" must be all lower-case
(#260) Variable "courseModule" must be all lower-case
(#260) Line exceeds 132 characters; contains 135 characters
(#262) The use of function error_log() is forbidden; use debugging() instead
(#266) Variable "courseModule" must be all lower-case
(#268) Variable "courseModule" must be all lower-case
(#271) Variable "courseModule" must be all lower-case
(#276) The use of function error_log() is forbidden; use debugging() instead
(#288) Public method name "UtilityFunctions::getInlineObjectMatches" must be in lower-case letters only
(#288) Variable "inputText" must be all lower-case
(#288) Variable "isAtto" must be all lower-case
(#289) Variable "isAtto" must be all lower-case
(#290) Variable "inputText" must be all lower-case
(#290) Variable "matchesImg" must be all lower-case
(#291) Variable "inputText" must be all lower-case
(#291) Variable "matchesA" must be all lower-case
(#293) Variable "inputText" must be all lower-case
(#293) Variable "matchesImg" must be all lower-case
(#294) Variable "inputText" must be all lower-case
(#294) Variable "matchesA" must be all lower-case
(#296) Variable "matchesImg" must be all lower-case
(#296) Variable "matchesA" must be all lower-case
(#304) Public method name "UtilityFunctions::getConfigEntry" must be in lower-case letters only
(#315) Public method name "UtilityFunctions::setConfigEntry" must be in lower-case letters only
(#326) Public method name "UtilityFunctions::getInternalUrl" must be in lower-case letters only
(#328) Variable "internalUrl" must be all lower-case
(#329) Variable "internalUrl" must be all lower-case
(#330) Variable "internalUrl" must be all lower-case
(#332) Variable "internalUrl" must be all lower-case
(#334) The use of function error_log() is forbidden; use debugging() instead
mod/edusharing/classes/event/course_module_instance_list_viewed.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#5) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#13) Opening brace should be on the same line as the declaration for class course_module_instance_list_viewed
(#14) File must end with a newline character
mod/edusharing/classes/external/ApiCheck.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Opening brace should be on the same line as the declaration for class ApiCheck
(#27) There should be a comma after the last array item in a multi-line array.
(#32) There should be a comma after the last array item in a multi-line array.
mod/edusharing/classes/observer.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#8) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#16) Opening brace should be on the same line as the declaration for class mod_edusharing_observer
(#26) Variable "objectId" must be all lower-case
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) No space found before comment text; expected "// delete es-activities in course-modules" but found "//delete es-activities in course-modules"
(#29) Variable "eduObjects" must be all lower-case
(#29) Variable "objectId" must be all lower-case
(#31) The use of function error_log() is forbidden; use debugging() instead
(#35) Variable "eduObjects" must be all lower-case
(#39) The use of function error_log() is forbidden; use debugging() instead
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) No space found before comment text; expected "// delete es-activities in course-sections" but found "//delete es-activities in course-sections"
(#44) Variable "eduObjects" must be all lower-case
(#44) Variable "objectId" must be all lower-case
(#46) The use of function error_log() is forbidden; use debugging() instead
(#49) Variable "eduObjects" must be all lower-case
(#53) The use of function error_log() is forbidden; use debugging() instead
(#67) The use of function error_log() is forbidden; use debugging() instead
(#71) Variable "idType" must be all lower-case
(#73) Variable "idType" must be all lower-case
(#88) The use of function error_log() is forbidden; use debugging() instead
(#92) Variable "idType" must be all lower-case
(#94) Variable "idType" must be all lower-case
(#109) The use of function error_log() is forbidden; use debugging() instead
(#113) Variable "idType" must be all lower-case
(#115) Variable "idType" must be all lower-case
(#130) The use of function error_log() is forbidden; use debugging() instead
(#134) Variable "idType" must be all lower-case
(#136) Variable "idType" must be all lower-case
(#148) Variable "objectId" must be all lower-case
(#150) Variable "eduObjects" must be all lower-case
(#150) Variable "objectId" must be all lower-case
(#152) The use of function error_log() is forbidden; use debugging() instead
(#156) Variable "eduObjects" must be all lower-case
(#160) The use of function error_log() is forbidden; use debugging() instead
(#170) Public method name "mod_edusharing_observer::courseRestored" must be in lower-case letters only
(#171) Variable "eventData" must be all lower-case
(#172) Variable "courseId" must be all lower-case
(#172) Variable "eventData" must be all lower-case
(#175) Variable "courseId" must be all lower-case
(#177) The use of function error_log() is forbidden; use debugging() instead
mod/edusharing/db/access.php
(#37) There should be a comma after the last array item in a multi-line array.
(#39) There should be a comma after the last array item in a multi-line array.
mod/edusharing/db/events.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#2) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#33) There should be a comma after the last array item in a multi-line array.
mod/edusharing/db/install.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#38) Variable "baseHelper" must be all lower-case
(#39) Variable "baseHelper" must be all lower-case
(#40) Variable "authHelper" must be all lower-case
(#40) Variable "baseHelper" must be all lower-case
(#41) Variable "nodeConfig" must be all lower-case
(#42) Variable "nodeHelper" must be all lower-case
(#42) Variable "baseHelper" must be all lower-case
(#42) Variable "nodeConfig" must be all lower-case
(#43) Variable "authHelper" must be all lower-case
(#43) Variable "nodeHelper" must be all lower-case
(#48) The use of function error_log() is forbidden; use debugging() instead
(#48) Line exceeds 132 characters; contains 170 characters
mod/edusharing/db/log.php
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/db/services.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#12) There should be a comma after the last array item in a multi-line array.
(#14) File must end with a newline character
mod/edusharing/db/upgrade.php
(#38) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#48) Variable "dbManager" must be all lower-case
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Variable "xmlDbTable" must be all lower-case
(#58) Variable "xmlDbField" must be all lower-case
(#59) Variable "dbManager" must be all lower-case
(#59) Variable "xmlDbTable" must be all lower-case
(#59) Variable "xmlDbField" must be all lower-case
(#60) Variable "xmlDbField" must be all lower-case
(#61) Variable "dbManager" must be all lower-case
(#61) Variable "xmlDbTable" must be all lower-case
(#61) Variable "xmlDbField" must be all lower-case
(#65) Variable "homeConf" must be all lower-case
(#66) Variable "homeConf" must be all lower-case
(#68) Variable "homeConf" must be all lower-case
(#72) Variable "homeAppProperties" must be all lower-case
(#75) Variable "homeAppProperties" must be all lower-case
(#76) Variable "homeAppProperties" must be all lower-case
(#78) Variable "homeAppProperties" must be all lower-case
(#82) Variable "homeAppProperties" must be all lower-case
(#92) Line exceeds 132 characters; contains 146 characters
(#93) Line exceeds 132 characters; contains 156 characters
(#97) Line exceeds 132 characters; contains 136 characters
(#142) Variable "xmlDbTable" must be all lower-case
(#143) Variable "xmlDbField" must be all lower-case
(#153) Variable "dbManager" must be all lower-case
(#153) Variable "xmlDbTable" must be all lower-case
(#153) Variable "xmlDbField" must be all lower-case
(#163) Variable "xmlDbTable" must be all lower-case
(#164) Variable "xmlDbField" must be all lower-case
(#174) Variable "dbManager" must be all lower-case
(#174) Variable "xmlDbTable" must be all lower-case
(#174) Variable "xmlDbField" must be all lower-case
(#182) Variable "xmlDbTable" must be all lower-case
(#183) Variable "xmlDbField" must be all lower-case
(#193) Variable "dbManager" must be all lower-case
(#193) Variable "xmlDbTable" must be all lower-case
(#193) Variable "xmlDbField" must be all lower-case
(#199) Variable "metadataLogic" must be all lower-case
(#200) Variable "registrationLogic" must be all lower-case
(#201) Variable "registrationLogic" must be all lower-case
(#201) Variable "metadataLogic" must be all lower-case
mod/edusharing/defaults.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#25) Short array syntax must be used to define arrays
mod/edusharing/eduSharingAutoloader.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#22) "require_once" must be immediately followed by an open parenthesis
(#23) File must end with a newline character
mod/edusharing/import_metadata.php
(#33) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#35) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#58) The use of function error_log() is forbidden; use debugging() instead
(#69) Variable "metadataUrl" must be all lower-case
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) No space found before comment text; expected "// This exception is stupid" but found "//This exception is stupid"
(#75) Variable "metadataUrl" must be all lower-case
(#78) Variable "appId" must be all lower-case
(#79) Variable "appId" must be all lower-case
(#83) Variable "metadataUrl" must be all lower-case
(#85) Variable "eduSharingUserException" must be all lower-case
(#86) Variable "eduSharingUserException" must be all lower-case
(#93) Variable "repoForm" must be all lower-case
(#94) Variable "repoForm" must be all lower-case
(#95) Variable "repoForm" must be all lower-case
(#101) Variable "repoForm" must be all lower-case
(#102) Variable "repoForm" must be all lower-case
(#103) Variable "repoForm" must be all lower-case
mod/edusharing/index.php
(#39) There should be a comma after the last array item in a multi-line array.
(#74) Line exceeds 132 characters; contains 138 characters
(#89) The use of function error_log() is forbidden; use debugging() instead
mod/edusharing/lang/de/edusharing.php
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Inline comments must start with a capital letter, digit or 3-dots sequence
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Inline comments must start with a capital letter, digit or 3-dots sequence
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Inline comments must start with a capital letter, digit or 3-dots sequence
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/lang/en/edusharing.php
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) 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
(#102) Inline comments must start with a capital letter, digit or 3-dots sequence
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Inline comments must start with a capital letter, digit or 3-dots sequence
(#115) Inline comments must end in full-stops, exclamation marks, or question marks
(#140) Inline comments must start with a capital letter, digit or 3-dots sequence
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/lang/zh/edusharing.php
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) Inline comments must start with a capital letter, digit or 3-dots sequence
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/lib.php
(#62) Variable "eduSharing" must be all lower-case
(#65) Variable "eduSharing" must be all lower-case
(#67) The use of function error_log() is forbidden; use debugging() instead
(#88) The use of function error_log() is forbidden; use debugging() instead
(#107) The use of function error_log() is forbidden; use debugging() instead
(#161) Inline comments must end in full-stops, exclamation marks, or question marks
(#248) Variable "courseModule" must be all lower-case
(#250) Variable "courseModule" must be all lower-case
(#259) Inline comments must start with a capital letter, digit or 3-dots sequence
(#259) This comment is 67% valid code; is this commented out code?
(#259) No space found before comment text; expected "// $descr = $cm->get_description();" but found "//$descr = $cm->get_description();"
(#260) No space found before comment text; expected "// error_log('edusharing_pre_course_module_delete: '.print_r($cm, true));" but found "//error_log('edusharing_pre_course_module_delete: '.print_r($cm, true));"
(#268) Inline comments must start with a capital letter, digit or 3-dots sequence
(#268) This comment is 70% valid code; is this commented out code?
(#268) No space found before comment text; expected "// echo 'edusharing_pre_block_delete';" but found "//echo 'edusharing_pre_block_delete';"
(#269) Inline comments must end in full-stops, exclamation marks, or question marks
(#269) No space found before comment text; expected "// error_log('edusharing_pre_block_delete');" but found "//error_log('edusharing_pre_block_delete');"
(#272) Variable "settingName" must be all lower-case
(#274) Variable "settingName" must be all lower-case
(#278) Inline comments must end in full-stops, exclamation marks, or question marks
mod/edusharing/metadata.php
(#29) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#32) Variable "publicKey" must be all lower-case
(#34) Variable "publicKey" must be all lower-case
(#38) Variable "publicKey" must be all lower-case
(#40) Variable "keyPair" must be all lower-case
(#41) Variable "keyPair" must be all lower-case
(#42) Variable "keyPair" must be all lower-case
(#44) The use of function error_log() is forbidden; use debugging() instead
mod/edusharing/mod_form.php
(#44) Opening brace should be on the same line as the declaration for class mod_edusharing_mod_form
(#51) Variable "eduSharingService" must be all lower-case
(#52) Variable "eduSharingService" must be all lower-case
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Line exceeds 132 characters; contains 136 characters
(#61) Inline comments must start with a capital letter, digit or 3-dots sequence
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Line exceeds maximum limit of 180 characters; contains 189 characters
(#63) Line exceeds maximum limit of 180 characters; contains 194 characters
(#64) Inline comments must start with a capital letter, digit or 3-dots sequence
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#65) Line exceeds 132 characters; contains 144 characters
(#70) Variable "searchUrl" must be all lower-case
(#71) Variable "repoSearch" must be all lower-case
(#71) Variable "searchUrl" must be all lower-case
(#72) Variable "searchButton" must be all lower-case
(#72) Line exceeds maximum limit of 180 characters; contains 188 characters
(#73) Variable "repoOnClick" must be all lower-case
(#79) Whitespace found at end of line within string
(#85) Whitespace found at end of line within string
(#90) Whitespace found at end of line within string
(#96) Whitespace found at end of line within string
(#97) Line exceeds 132 characters; contains 163 characters
(#98) Whitespace found at end of line within string
(#102) Whitespace found at end of line within string
(#104) Whitespace found at end of line within string
(#106) Variable "repoSearch" must be all lower-case
(#106) Line exceeds 132 characters; contains 138 characters
(#106) Whitespace found at end of line within string
(#110) Variable "searchButton" must be all lower-case
(#110) Variable "repoOnClick" must be all lower-case
(#110) Line exceeds maximum limit of 180 characters; contains 193 characters
(#111) Inline comments must start with a capital letter, digit or 3-dots sequence
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) Line exceeds 132 characters; contains 141 characters
(#113) Variable "radioGroup" must be all lower-case
(#114) Variable "radioGroup" must be all lower-case
(#114) Line exceeds 132 characters; contains 170 characters
(#115) Variable "radioGroup" must be all lower-case
(#115) Line exceeds 132 characters; contains 169 characters
(#116) Variable "radioGroup" must be all lower-case
(#116) Line exceeds 132 characters; contains 145 characters
(#119) Inline comments must start with a capital letter, digit or 3-dots sequence
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) Line exceeds 132 characters; contains 148 characters
(#121) Variable "windowOptions" must be all lower-case
(#121) Line exceeds 132 characters; contains 161 characters
(#122) Variable "windowOptions" must be all lower-case
(#122) Line exceeds 132 characters; contains 137 characters
(#124) Inline comments must start with a capital letter, digit or 3-dots sequence
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#128) The use of function error_log() is forbidden; use debugging() instead
mod/edusharing/settings.php
(#29) Line exceeds 132 characters; contains 142 characters
(#33) Whitespace found at end of line within string
(#43) Variable "str_version" must not contain underscores.
(#45) Whitespace found at end of line within string
(#50) Line exceeds 132 characters; contains 156 characters
(#54) Variable "str_version" must not contain underscores.
(#62) Line exceeds 132 characters; contains 140 characters
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Line exceeds 132 characters; contains 157 characters
(#97) Variable "nameSetting" must be all lower-case
(#98) Variable "nameSetting" must be all lower-case
(#99) Variable "nameSetting" must be all lower-case
(#100) Variable "typeSetting" must be all lower-case
(#101) Variable "typeSetting" must be all lower-case
(#102) Variable "typeSetting" must be all lower-case
(#103) Variable "imgSetting" must be all lower-case
(#103) Line exceeds 132 characters; contains 139 characters
(#104) Variable "imgSetting" must be all lower-case
(#105) Variable "imgSetting" must be all lower-case
(#106) Variable "infoSetting" must be all lower-case
(#106) Line exceeds 132 characters; contains 142 characters
(#107) Variable "infoSetting" must be all lower-case
(#108) Variable "infoSetting" must be all lower-case
(#109) Variable "hintSetting" must be all lower-case
(#109) Line exceeds 132 characters; contains 137 characters
(#110) Variable "hintSetting" must be all lower-case
(#111) Variable "hintSetting" must be all lower-case
(#112) Variable "hintSetting" must be all lower-case
(#112) Line exceeds 132 characters; contains 137 characters
(#113) Variable "hintSetting" must be all lower-case
(#114) Variable "hintSetting" must be all lower-case
(#115) Variable "repoTargetOptions" must be all lower-case
(#120) Variable "repoTargetSetting" must be all lower-case
(#120) Variable "repoTargetOptions" must be all lower-case
(#120) Line exceeds 132 characters; contains 173 characters
(#121) Variable "repoTargetSetting" must be all lower-case
mod/edusharing/tests/EdusharingServiceTest.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#25) Opening brace should be on the same line as the declaration for class EdusharingServiceTest
(#34) Public method name "EdusharingServiceTest::testIfGetTicketReturnsExistingTicketIfCachedTicketIsNew" must be in lower-case letters only
(#37) Variable "fakeConfig" must be all lower-case
(#38) Variable "fakeConfig" must be all lower-case
(#41) There should be a comma after the last array item in a multi-line array.
(#43) Variable "fakeConfig" must be all lower-case
(#59) Public method name "EdusharingServiceTest::testIfGetTicketReturnsExistingTicketIfAuthInfoIsOk" must be in lower-case letters only
(#63) Variable "baseHelper" must be all lower-case
(#64) Variable "authMock" must be all lower-case
(#65) Variable "baseHelper" must be all lower-case
(#68) Variable "authMock" must be all lower-case
(#71) Variable "nodeConfig" must be all lower-case
(#72) Variable "nodeHandler" must be all lower-case
(#72) Variable "baseHelper" must be all lower-case
(#72) Variable "nodeConfig" must be all lower-case
(#73) Variable "authMock" must be all lower-case
(#73) Variable "nodeHandler" must be all lower-case
(#85) Public method name "EdusharingServiceTest::testIfGetTicketReturnsTicketFromAuthHelperIfNoCachedTicketExists" must be in lower-case letters only
(#88) Variable "baseHelper" must be all lower-case
(#89) Variable "authMock" must be all lower-case
(#90) Variable "baseHelper" must be all lower-case
(#93) Variable "authMock" must be all lower-case
(#96) Variable "utilsMock" must be all lower-case
(#99) Variable "utilsMock" must be all lower-case
(#102) Variable "nodeConfig" must be all lower-case
(#103) Variable "nodeHandler" must be all lower-case
(#103) Variable "baseHelper" must be all lower-case
(#103) Variable "nodeConfig" must be all lower-case
(#104) Variable "authMock" must be all lower-case
(#104) Variable "nodeHandler" must be all lower-case
(#104) Variable "utilsMock" must be all lower-case
(#116) Public method name "EdusharingServiceTest::testIfGetTicketReturnsTicketFromAuthHelperIfTicketIsTooOldAndAuthInfoCallFails" must be in lower-case letters only
(#120) Variable "baseHelper" must be all lower-case
(#121) Variable "authMock" must be all lower-case
(#122) Variable "baseHelper" must be all lower-case
(#125) Variable "authMock" must be all lower-case
(#128) Variable "authMock" must be all lower-case
(#131) Variable "utilsMock" must be all lower-case
(#134) Variable "utilsMock" must be all lower-case
(#137) Variable "nodeConfig" must be all lower-case
(#138) Variable "nodeHandler" must be all lower-case
(#138) Variable "baseHelper" must be all lower-case
(#138) Variable "nodeConfig" must be all lower-case
(#139) Variable "authMock" must be all lower-case
(#139) Variable "nodeHandler" must be all lower-case
(#139) Variable "utilsMock" must be all lower-case
(#147) Public method name "EdusharingServiceTest::testIfCreateUsageCallsNodeHelperMethodWithCorrectParams" must be in lower-case letters only
(#148) Variable "usageObject" must be all lower-case
(#149) Variable "usageObject" must be all lower-case
(#150) Variable "usageObject" must be all lower-case
(#151) Variable "usageObject" must be all lower-case
(#152) Variable "usageObject" must be all lower-case
(#153) Variable "baseHelper" must be all lower-case
(#154) Variable "nodeConfig" must be all lower-case
(#155) Variable "authHelper" must be all lower-case
(#155) Variable "baseHelper" must be all lower-case
(#156) Variable "nodeHelperMock" must be all lower-case
(#158) Variable "baseHelper" must be all lower-case
(#158) Variable "nodeConfig" must be all lower-case
(#160) Variable "nodeHelperMock" must be all lower-case
(#163) Variable "serviceMock" must be all lower-case
(#165) Variable "authHelper" must be all lower-case
(#165) Variable "nodeHelperMock" must be all lower-case
(#167) Variable "serviceMock" must be all lower-case
(#170) Variable "serviceMock" must be all lower-case
(#170) Variable "usageObject" must be all lower-case
(#179) Public method name "EdusharingServiceTest::testIfGetUsageIdCallsNodeHelperMethodWithCorrectParamsAndReturnsResult" must be in lower-case letters only
(#180) Variable "usageObject" must be all lower-case
(#181) Variable "usageObject" must be all lower-case
(#182) Variable "usageObject" must be all lower-case
(#183) Variable "usageObject" must be all lower-case
(#184) Variable "usageObject" must be all lower-case
(#185) Variable "baseHelper" must be all lower-case
(#186) Variable "nodeConfig" must be all lower-case
(#187) Variable "authHelper" must be all lower-case
(#187) Variable "baseHelper" must be all lower-case
(#188) Variable "nodeHelperMock" must be all lower-case
(#190) Variable "baseHelper" must be all lower-case
(#190) Variable "nodeConfig" must be all lower-case
(#192) Variable "nodeHelperMock" must be all lower-case
(#196) Variable "authHelper" must be all lower-case
(#196) Variable "nodeHelperMock" must be all lower-case
(#197) Variable "usageObject" must be all lower-case
(#207) Public method name "EdusharingServiceTest::testIfGetUsageIdThrowsExceptionIfNodeHelperMethodReturnsNull" must be in lower-case letters only
(#208) Variable "usageObject" must be all lower-case
(#209) Variable "usageObject" must be all lower-case
(#210) Variable "usageObject" must be all lower-case
(#211) Variable "usageObject" must be all lower-case
(#212) Variable "usageObject" must be all lower-case
(#213) Variable "baseHelper" must be all lower-case
(#214) Variable "nodeConfig" must be all lower-case
(#215) Variable "authHelper" must be all lower-case
(#215) Variable "baseHelper" must be all lower-case
(#216) Variable "nodeHelperMock" must be all lower-case
(#218) Variable "baseHelper" must be all lower-case
(#218) Variable "nodeConfig" must be all lower-case
(#220) Variable "nodeHelperMock" must be all lower-case
(#224) Variable "authHelper" must be all lower-case
(#224) Variable "nodeHelperMock" must be all lower-case
(#227) Variable "usageObject" must be all lower-case
(#236) Public method name "EdusharingServiceTest::testIfDeleteUsageCallsNodeHelperMethodWithProperParams" must be in lower-case letters only
(#237) Variable "usageObject" must be all lower-case
(#238) Variable "usageObject" must be all lower-case
(#239) Variable "usageObject" must be all lower-case
(#240) Variable "baseHelper" must be all lower-case
(#241) Variable "nodeConfig" must be all lower-case
(#242) Variable "authHelper" must be all lower-case
(#242) Variable "baseHelper" must be all lower-case
(#243) Variable "nodeHelperMock" must be all lower-case
(#245) Variable "baseHelper" must be all lower-case
(#245) Variable "nodeConfig" must be all lower-case
(#247) Variable "nodeHelperMock" must be all lower-case
(#250) Variable "authHelper" must be all lower-case
(#250) Variable "nodeHelperMock" must be all lower-case
(#251) Variable "usageObject" must be all lower-case
(#263) Public method name "EdusharingServiceTest::testIfGetNodeCallsNodeHelperMethodWithProperParams" must be in lower-case letters only
(#264) Variable "usageObject" must be all lower-case
(#265) Variable "usageObject" must be all lower-case
(#266) Variable "usageObject" must be all lower-case
(#267) Variable "usageObject" must be all lower-case
(#268) Variable "usageObject" must be all lower-case
(#269) Variable "usageObject" must be all lower-case
(#270) Variable "usageObject" must be all lower-case
(#270) Variable "usageObject" must be all lower-case
(#270) Variable "usageObject" must be all lower-case
(#270) Variable "usageObject" must be all lower-case
(#270) Variable "usageObject" must be all lower-case
(#270) Line exceeds 132 characters; contains 171 characters
(#271) Variable "baseHelper" must be all lower-case
(#272) Variable "nodeConfig" must be all lower-case
(#273) Variable "authHelper" must be all lower-case
(#273) Variable "baseHelper" must be all lower-case
(#274) Variable "nodeHelperMock" must be all lower-case
(#276) Variable "baseHelper" must be all lower-case
(#276) Variable "nodeConfig" must be all lower-case
(#278) Variable "nodeHelperMock" must be all lower-case
(#281) Variable "authHelper" must be all lower-case
(#281) Variable "nodeHelperMock" must be all lower-case
(#282) Variable "usageObject" must be all lower-case
(#292) Public method name "EdusharingServiceTest::testIfUpdateInstanceCallsDbMethodsAndCallsCreationMethodWithProperParams" must be in lower-case letters only
(#294) Variable "currentTime" must be all lower-case
(#295) Variable "eduObject" must be all lower-case
(#296) Variable "eduObject" must be all lower-case
(#297) Variable "eduObject" must be all lower-case
(#298) Variable "eduObject" must be all lower-case
(#299) Variable "eduObject" must be all lower-case
(#300) Variable "eduObjectUpdate" must be all lower-case
(#300) Variable "eduObject" must be all lower-case
(#301) Variable "eduObjectUpdate" must be all lower-case
(#302) Variable "eduObjectUpdate" must be all lower-case
(#302) Variable "currentTime" must be all lower-case
(#303) Variable "eduObjectUpdate" must be all lower-case
(#303) Variable "currentTime" must be all lower-case
(#304) Variable "eduObjectUpdate" must be all lower-case
(#305) Variable "eduObjectUpdate" must be all lower-case
(#306) Variable "eduObjectUpdate" must be all lower-case
(#307) Variable "usageData" must be all lower-case
(#308) Variable "usageData" must be all lower-case
(#309) Variable "usageData" must be all lower-case
(#310) Variable "usageData" must be all lower-case
(#311) Variable "usageData" must be all lower-case
(#312) Variable "usageData" must be all lower-case
(#315) Variable "baseHelper" must be all lower-case
(#316) Variable "nodeConfig" must be all lower-case
(#317) Variable "authHelper" must be all lower-case
(#317) Variable "baseHelper" must be all lower-case
(#318) Variable "nodeHelper" must be all lower-case
(#318) Variable "baseHelper" must be all lower-case
(#318) Variable "nodeConfig" must be all lower-case
(#319) Variable "utilsMock" must be all lower-case
(#322) Variable "utilsMock" must be all lower-case
(#326) Variable "serviceMock" must be all lower-case
(#328) Variable "authHelper" must be all lower-case
(#328) Variable "nodeHelper" must be all lower-case
(#328) Variable "utilsMock" must be all lower-case
(#330) Variable "serviceMock" must be all lower-case
(#333) Variable "serviceMock" must be all lower-case
(#335) Variable "usageData" must be all lower-case
(#337) Variable "dbMock" must be all lower-case
(#340) Variable "dbMock" must be all lower-case
(#344) Variable "dbMock" must be all lower-case
(#346) Variable "eduObjectUpdate" must be all lower-case
(#347) Variable "GLOBALS" must be all lower-case
(#347) Variable "dbMock" must be all lower-case
(#348) Variable "serviceMock" must be all lower-case
(#348) Variable "eduObject" must be all lower-case
(#348) Variable "currentTime" must be all lower-case
(#358) Public method name "EdusharingServiceTest::testIfUpdateInstanceResetsDataAndReturnsFalseOnUpdateError" must be in lower-case letters only
(#360) Variable "currentTime" must be all lower-case
(#361) Variable "eduObject" must be all lower-case
(#362) Variable "eduObject" must be all lower-case
(#363) Variable "eduObject" must be all lower-case
(#364) Variable "eduObject" must be all lower-case
(#365) Variable "eduObject" must be all lower-case
(#366) Variable "eduObjectUpdate" must be all lower-case
(#366) Variable "eduObject" must be all lower-case
(#367) Variable "eduObjectUpdate" must be all lower-case
(#368) Variable "eduObjectUpdate" must be all lower-case
(#368) Variable "currentTime" must be all lower-case
(#369) Variable "eduObjectUpdate" must be all lower-case
(#369) Variable "currentTime" must be all lower-case
(#370) Variable "eduObjectUpdate" must be all lower-case
(#371) Variable "eduObjectUpdate" must be all lower-case
(#372) Variable "eduObjectUpdate" must be all lower-case
(#373) Variable "usageData" must be all lower-case
(#374) Variable "usageData" must be all lower-case
(#375) Variable "usageData" must be all lower-case
(#376) Variable "usageData" must be all lower-case
(#377) Variable "usageData" must be all lower-case
(#378) Variable "usageData" must be all lower-case
(#381) Variable "baseHelper" must be all lower-case
(#382) Variable "nodeConfig" must be all lower-case
(#383) Variable "authHelper" must be all lower-case
(#383) Variable "baseHelper" must be all lower-case
(#384) Variable "nodeHelper" must be all lower-case
(#384) Variable "baseHelper" must be all lower-case
(#384) Variable "nodeConfig" must be all lower-case
(#385) Variable "utilsMock" must be all lower-case
(#388) Variable "utilsMock" must be all lower-case
(#392) Variable "serviceMock" must be all lower-case
(#394) Variable "authHelper" must be all lower-case
(#394) Variable "nodeHelper" must be all lower-case
(#394) Variable "utilsMock" must be all lower-case
(#396) Variable "serviceMock" must be all lower-case
(#399) Variable "serviceMock" must be all lower-case
(#401) Variable "usageData" must be all lower-case
(#403) Variable "dbMock" must be all lower-case
(#406) Variable "dbMock" must be all lower-case
(#410) Variable "dbMock" must be all lower-case
(#413) Variable "GLOBALS" must be all lower-case
(#413) Variable "dbMock" must be all lower-case
(#414) Variable "serviceMock" must be all lower-case
(#414) Variable "eduObject" must be all lower-case
(#414) Variable "currentTime" must be all lower-case
(#424) Public method name "EdusharingServiceTest::testIfAddInstanceCallsDbFunctionsAndServiceMethodWithCorrectParameters" must be in lower-case letters only
(#426) Variable "currentTime" must be all lower-case
(#427) Variable "eduObject" must be all lower-case
(#428) Variable "eduObject" must be all lower-case
(#429) Variable "eduObject" must be all lower-case
(#430) Variable "eduObject" must be all lower-case
(#431) Variable "eduObject" must be all lower-case
(#432) Variable "processedEduObject" must be all lower-case
(#432) Variable "eduObject" must be all lower-case
(#433) Variable "processedEduObject" must be all lower-case
(#434) Variable "processedEduObject" must be all lower-case
(#434) Variable "currentTime" must be all lower-case
(#435) Variable "processedEduObject" must be all lower-case
(#435) Variable "currentTime" must be all lower-case
(#436) Variable "processedEduObject" must be all lower-case
(#436) Variable "currentTime" must be all lower-case
(#437) Variable "processedEduObject" must be all lower-case
(#438) Variable "processedEduObject" must be all lower-case
(#439) Variable "processedEduObject" must be all lower-case
(#440) Variable "insertedEduObject" must be all lower-case
(#440) Variable "processedEduObject" must be all lower-case
(#441) Variable "insertedEduObject" must be all lower-case
(#442) Variable "insertedEduObject" must be all lower-case
(#443) Variable "insertedEduObject" must be all lower-case
(#444) Variable "usageData" must be all lower-case
(#445) Variable "usageData" must be all lower-case
(#446) Variable "usageData" must be all lower-case
(#447) Variable "usageData" must be all lower-case
(#448) Variable "usageData" must be all lower-case
(#449) Variable "dbMock" must be all lower-case
(#452) Variable "dbMock" must be all lower-case
(#454) Variable "processedEduObject" must be all lower-case
(#456) Variable "dbMock" must be all lower-case
(#458) Variable "insertedEduObject" must be all lower-case
(#459) Variable "GLOBALS" must be all lower-case
(#459) Variable "dbMock" must be all lower-case
(#460) Variable "utilsMock" must be all lower-case
(#463) Variable "utilsMock" must be all lower-case
(#467) Variable "baseHelper" must be all lower-case
(#468) Variable "nodeConfig" must be all lower-case
(#469) Variable "authHelper" must be all lower-case
(#469) Variable "baseHelper" must be all lower-case
(#470) Variable "nodeHelper" must be all lower-case
(#470) Variable "baseHelper" must be all lower-case
(#470) Variable "nodeConfig" must be all lower-case
(#471) Variable "serviceMock" must be all lower-case
(#473) Variable "authHelper" must be all lower-case
(#473) Variable "nodeHelper" must be all lower-case
(#473) Variable "utilsMock" must be all lower-case
(#475) Variable "serviceMock" must be all lower-case
(#477) Variable "usageData" must be all lower-case
(#479) Variable "serviceMock" must be all lower-case
(#479) Variable "eduObject" must be all lower-case
(#489) Public method name "EdusharingServiceTest::testIfAddInstanceReturnsFalseAndResetsDataOnCreationFailure" must be in lower-case letters only
(#491) Variable "currentTime" must be all lower-case
(#492) Variable "eduObject" must be all lower-case
(#493) Variable "eduObject" must be all lower-case
(#494) Variable "eduObject" must be all lower-case
(#495) Variable "eduObject" must be all lower-case
(#496) Variable "eduObject" must be all lower-case
(#497) Variable "processedEduObject" must be all lower-case
(#497) Variable "eduObject" must be all lower-case
(#498) Variable "processedEduObject" must be all lower-case
(#499) Variable "processedEduObject" must be all lower-case
(#499) Variable "currentTime" must be all lower-case
(#500) Variable "processedEduObject" must be all lower-case
(#500) Variable "currentTime" must be all lower-case
(#501) Variable "processedEduObject" must be all lower-case
(#501) Variable "currentTime" must be all lower-case
(#502) Variable "processedEduObject" must be all lower-case
(#503) Variable "processedEduObject" must be all lower-case
(#504) Variable "processedEduObject" must be all lower-case
(#505) Variable "insertedEduObject" must be all lower-case
(#505) Variable "processedEduObject" must be all lower-case
(#506) Variable "insertedEduObject" must be all lower-case
(#507) Variable "insertedEduObject" must be all lower-case
(#508) Variable "insertedEduObject" must be all lower-case
(#509) Variable "usageData" must be all lower-case
(#510) Variable "usageData" must be all lower-case
(#511) Variable "usageData" must be all lower-case
(#512) Variable "usageData" must be all lower-case
(#513) Variable "usageData" must be all lower-case
(#514) Variable "dbMock" must be all lower-case
(#517) Variable "dbMock" must be all lower-case
(#519) Variable "processedEduObject" must be all lower-case
(#521) Variable "dbMock" must be all lower-case
(#523) Variable "dbMock" must be all lower-case
(#526) Variable "GLOBALS" must be all lower-case
(#526) Variable "dbMock" must be all lower-case
(#527) Variable "utilsMock" must be all lower-case
(#530) Variable "utilsMock" must be all lower-case
(#534) Variable "baseHelper" must be all lower-case
(#535) Variable "nodeConfig" must be all lower-case
(#536) Variable "authHelper" must be all lower-case
(#536) Variable "baseHelper" must be all lower-case
(#537) Variable "nodeHelper" must be all lower-case
(#537) Variable "baseHelper" must be all lower-case
(#537) Variable "nodeConfig" must be all lower-case
(#538) Variable "serviceMock" must be all lower-case
(#540) Variable "authHelper" must be all lower-case
(#540) Variable "nodeHelper" must be all lower-case
(#540) Variable "utilsMock" must be all lower-case
(#542) Variable "serviceMock" must be all lower-case
(#544) Variable "usageData" must be all lower-case
(#546) Variable "serviceMock" must be all lower-case
(#546) Variable "eduObject" must be all lower-case
(#555) Public method name "EdusharingServiceTest::testIfDeleteUsageThrowsExceptionIfProvidedObjectHasNoUsageId" must be in lower-case letters only
(#556) Variable "usageObject" must be all lower-case
(#557) Variable "usageObject" must be all lower-case
(#558) Variable "baseHelper" must be all lower-case
(#559) Variable "nodeConfig" must be all lower-case
(#560) Variable "authHelper" must be all lower-case
(#560) Variable "baseHelper" must be all lower-case
(#561) Variable "nodeHelperMock" must be all lower-case
(#563) Variable "baseHelper" must be all lower-case
(#563) Variable "nodeConfig" must be all lower-case
(#565) Variable "nodeHelperMock" must be all lower-case
(#567) Variable "authHelper" must be all lower-case
(#567) Variable "nodeHelperMock" must be all lower-case
(#570) Variable "usageObject" must be all lower-case
(#580) Public method name "EdusharingServiceTest::testIfDeleteInstanceCallsDatabaseWithProperParams" must be in lower-case letters only
(#582) Variable "dbRecord" must be all lower-case
(#583) Variable "dbRecord" must be all lower-case
(#584) Variable "dbRecord" must be all lower-case
(#585) Variable "dbRecord" must be all lower-case
(#586) Variable "dbRecord" must be all lower-case
(#588) Variable "dbMock" must be all lower-case
(#591) Variable "dbMock" must be all lower-case
(#594) Variable "dbRecord" must be all lower-case
(#595) Variable "dbMock" must be all lower-case
(#598) Variable "GLOBALS" must be all lower-case
(#598) Variable "dbMock" must be all lower-case
(#599) Variable "baseHelper" must be all lower-case
(#600) Variable "authHelper" must be all lower-case
(#600) Variable "baseHelper" must be all lower-case
(#601) Variable "nodeConfig" must be all lower-case
(#602) Variable "nodeHelper" must be all lower-case
(#602) Variable "baseHelper" must be all lower-case
(#602) Variable "nodeConfig" must be all lower-case
(#603) Variable "utilsMock" must be all lower-case
(#606) Variable "utilsMock" must be all lower-case
(#610) Variable "serviceMock" must be all lower-case
(#611) Variable "authHelper" must be all lower-case
(#611) Variable "nodeHelper" must be all lower-case
(#611) Variable "utilsMock" must be all lower-case
(#614) Variable "serviceMock" must be all lower-case
(#617) Variable "serviceMock" must be all lower-case
(#620) Variable "serviceMock" must be all lower-case
(#630) Public method name "EdusharingServiceTest::testIfImportMetadataCallsCurlWithTheCorrectParams" must be in lower-case letters only
(#634) Variable "expectedOptions" must be all lower-case
(#640) There should be a comma after the last array item in a multi-line array.
(#643) Variable "baseMock" must be all lower-case
(#647) Variable "baseMock" must be all lower-case
(#649) Variable "expectedOptions" must be all lower-case
(#651) Variable "nodeConfig" must be all lower-case
(#652) Variable "authHelper" must be all lower-case
(#652) Variable "baseMock" must be all lower-case
(#653) Variable "nodeHelper" must be all lower-case
(#653) Variable "baseMock" must be all lower-case
(#653) Variable "nodeConfig" must be all lower-case
(#654) Variable "authHelper" must be all lower-case
(#654) Variable "nodeHelper" must be all lower-case
(#664) Public method name "EdusharingServiceTest::testIfValidateSessionCallsCurlWithTheCorrectParams" must be in lower-case letters only
(#669) There should be a comma after the last array item in a multi-line array.
(#671) Variable "expectedOptions" must be all lower-case
(#673) There should be a comma after the last array item in a multi-line array.
(#676) Variable "baseMock" must be all lower-case
(#680) Variable "baseMock" must be all lower-case
(#682) Variable "expectedOptions" must be all lower-case
(#684) Variable "nodeConfig" must be all lower-case
(#685) Variable "authHelper" must be all lower-case
(#685) Variable "baseMock" must be all lower-case
(#686) Variable "nodeHelper" must be all lower-case
(#686) Variable "baseMock" must be all lower-case
(#686) Variable "nodeConfig" must be all lower-case
(#687) Variable "authHelper" must be all lower-case
(#687) Variable "nodeHelper" must be all lower-case
(#697) Public method name "EdusharingServiceTest::testIfRegisterPluginCallsCurlWithTheCorrectOptions" must be in lower-case letters only
(#706) There should be a comma after the last array item in a multi-line array.
(#708) Variable "curlOptions" must be all lower-case
(#711) There should be a comma after the last array item in a multi-line array.
(#714) Variable "baseHelper" must be all lower-case
(#715) Variable "curlMock" must be all lower-case
(#718) Variable "curlMock" must be all lower-case
(#721) Variable "curlMock" must be all lower-case
(#723) Variable "curlOptions" must be all lower-case
(#725) Variable "baseHelper" must be all lower-case
(#725) Variable "curlMock" must be all lower-case
(#726) Variable "nodeConfig" must be all lower-case
(#727) Variable "authHelper" must be all lower-case
(#727) Variable "baseHelper" must be all lower-case
(#728) Variable "nodeHelper" must be all lower-case
(#728) Variable "baseHelper" must be all lower-case
(#728) Variable "nodeConfig" must be all lower-case
(#729) Variable "authHelper" must be all lower-case
(#729) Variable "nodeHelper" must be all lower-case
(#739) Public method name "EdusharingServiceTest::testIfSignCallsBaseHelperMethodWithCorrectParamsAndReturnsItsReturnedValue" must be in lower-case letters only
(#740) Variable "baseMock" must be all lower-case
(#744) Variable "baseMock" must be all lower-case
(#748) Variable "nodeConfig" must be all lower-case
(#749) Variable "authHelper" must be all lower-case
(#749) Variable "baseMock" must be all lower-case
(#750) Variable "nodeHelper" must be all lower-case
(#750) Variable "baseMock" must be all lower-case
(#750) Variable "nodeConfig" must be all lower-case
(#751) Variable "authHelper" must be all lower-case
(#751) Variable "nodeHelper" must be all lower-case
(#763) Visibility must be declared on method "testGetRenderHtmlCallsCurlHandlerWithCorrectParamsAndReturnsContentOnSuccess"
(#763) method name "EdusharingServiceTest::testGetRenderHtmlCallsCurlHandlerWithCorrectParamsAndReturnsContentOnSuccess" must be in lower-case letters only
(#766) Variable "baseHelper" must be all lower-case
(#767) Variable "curlOptions" must be all lower-case
(#773) There should be a comma after the last array item in a multi-line array.
(#775) Variable "curlMock" must be all lower-case
(#778) Variable "curlMock" must be all lower-case
(#780) Variable "curlOptions" must be all lower-case
(#782) Variable "baseHelper" must be all lower-case
(#782) Variable "curlMock" must be all lower-case
(#783) Variable "nodeConfig" must be all lower-case
(#784) Variable "authHelper" must be all lower-case
(#784) Variable "baseHelper" must be all lower-case
(#785) Variable "nodeHelper" must be all lower-case
(#785) Variable "baseHelper" must be all lower-case
(#785) Variable "nodeConfig" must be all lower-case
(#786) Variable "authHelper" must be all lower-case
(#786) Variable "nodeHelper" must be all lower-case
(#798) Visibility must be declared on method "testGetRenderHtmlReturnsErrorMessageIfCurlResultHasError"
(#798) method name "EdusharingServiceTest::testGetRenderHtmlReturnsErrorMessageIfCurlResultHasError" must be in lower-case letters only
(#801) Variable "baseHelper" must be all lower-case
(#802) Variable "curlOptions" must be all lower-case
(#808) There should be a comma after the last array item in a multi-line array.
(#810) Variable "curlMock" must be all lower-case
(#813) Variable "curlMock" must be all lower-case
(#815) Variable "curlOptions" must be all lower-case
(#817) Variable "baseHelper" must be all lower-case
(#817) Variable "curlMock" must be all lower-case
(#818) Variable "nodeConfig" must be all lower-case
(#819) Variable "authHelper" must be all lower-case
(#819) Variable "baseHelper" must be all lower-case
(#820) Variable "nodeHelper" must be all lower-case
(#820) Variable "baseHelper" must be all lower-case
(#820) Variable "nodeConfig" must be all lower-case
(#821) Variable "authHelper" must be all lower-case
(#821) Variable "nodeHelper" must be all lower-case
mod/edusharing/tests/InstallUpgradeLogicTest.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#1) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#1) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#19) Opening brace should be on the same line as the declaration for class InstallUpgradeLogicTest
(#27) Public method name "InstallUpgradeLogicTest::testParseConfigDataThrowsExceptionIfFileNotFound" must be in lower-case letters only
(#40) Public method name "InstallUpgradeLogicTest::testParseConfigDataThrowsJsonExceptionIfJsonInvalid" must be in lower-case letters only
(#53) Public method name "InstallUpgradeLogicTest::testPerformReturnsVoidIfAllGoesWell" must be in lower-case letters only
(#54) Variable "baseHelper" must be all lower-case
(#55) Variable "authHelper" must be all lower-case
(#55) Variable "baseHelper" must be all lower-case
(#56) Variable "nodeConfig" must be all lower-case
(#57) Variable "nodeHelper" must be all lower-case
(#57) Variable "baseHelper" must be all lower-case
(#57) Variable "nodeConfig" must be all lower-case
(#58) Variable "authHelper" must be all lower-case
(#58) Variable "nodeHelper" must be all lower-case
(#59) Variable "metadataLogicMock" must be all lower-case
(#62) Variable "registrationLogicMock" must be all lower-case
(#65) Variable "metadataLogicMock" must be all lower-case
(#68) Variable "metadataLogicMock" must be all lower-case
(#71) Variable "registrationLogicMock" must be all lower-case
(#75) Variable "registrationLogicMock" must be all lower-case
(#76) Variable "metadataLogicMock" must be all lower-case
mod/edusharing/tests/MetadataLogicTest.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#21) Opening brace should be on the same line as the declaration for class MetadataLogicTest
(#31) Public method name "MetadataLogicTest::testIfImportMetadataSetsAllConfigEntriesOnSuccess" must be in lower-case letters only
(#35) Variable "metadataUrl" must be all lower-case
(#36) Variable "metadataXml" must be all lower-case
(#37) Variable "baseHelper" must be all lower-case
(#38) Variable "authHelper" must be all lower-case
(#38) Variable "baseHelper" must be all lower-case
(#39) Variable "nodeConfig" must be all lower-case
(#40) Variable "nodeHelper" must be all lower-case
(#40) Variable "baseHelper" must be all lower-case
(#40) Variable "nodeConfig" must be all lower-case
(#41) Variable "fakeConfig" must be all lower-case
(#42) Variable "fakeConfig" must be all lower-case
(#43) There should be a comma after the last array item in a multi-line array.
(#45) Variable "fakeConfig" must be all lower-case
(#46) Variable "serviceMock" must be all lower-case
(#48) Variable "authHelper" must be all lower-case
(#48) Variable "nodeHelper" must be all lower-case
(#50) Variable "serviceMock" must be all lower-case
(#52) Variable "metadataUrl" must be all lower-case
(#53) Variable "metadataXml" must be all lower-case
(#54) Variable "serviceMock" must be all lower-case
(#55) Variable "metadataUrl" must be all lower-case
(#56) Variable "fakeConfig" must be all lower-case
(#57) Variable "fakeConfig" must be all lower-case
(#57) Line exceeds 132 characters; contains 134 characters
(#58) Variable "fakeConfig" must be all lower-case
(#59) Variable "fakeConfig" must be all lower-case
(#60) Variable "fakeConfig" must be all lower-case
(#61) Variable "fakeConfig" must be all lower-case
(#62) Variable "fakeConfig" must be all lower-case
(#63) Variable "fakeConfig" must be all lower-case
(#64) Variable "fakeConfig" must be all lower-case
(#65) Variable "fakeConfig" must be all lower-case
(#65) Line exceeds 132 characters; contains 144 characters
(#66) Variable "fakeConfig" must be all lower-case
(#67) Variable "fakeConfig" must be all lower-case
(#68) Variable "fakeConfig" must be all lower-case
(#69) Variable "fakeConfig" must be all lower-case
(#70) Variable "fakeConfig" must be all lower-case
(#82) Public method name "MetadataLogicTest::testIfImportMetadataGeneratesNewAppIdIfNonePresent" must be in lower-case letters only
(#86) Variable "fakeConfig" must be all lower-case
(#87) Variable "metadataUrl" must be all lower-case
(#88) Variable "metadataXml" must be all lower-case
(#89) Variable "baseHelper" must be all lower-case
(#90) Variable "authHelper" must be all lower-case
(#90) Variable "baseHelper" must be all lower-case
(#91) Variable "nodeConfig" must be all lower-case
(#92) Variable "nodeHelper" must be all lower-case
(#92) Variable "baseHelper" must be all lower-case
(#92) Variable "nodeConfig" must be all lower-case
(#93) Variable "fakeConfig" must be all lower-case
(#94) Variable "serviceMock" must be all lower-case
(#96) Variable "authHelper" must be all lower-case
(#96) Variable "nodeHelper" must be all lower-case
(#98) Variable "serviceMock" must be all lower-case
(#100) Variable "metadataUrl" must be all lower-case
(#101) Variable "metadataXml" must be all lower-case
(#102) Variable "serviceMock" must be all lower-case
(#103) Variable "metadataUrl" must be all lower-case
(#104) Variable "fakeConfig" must be all lower-case
(#105) Variable "fakeConfig" must be all lower-case
(#105) Line exceeds 132 characters; contains 142 characters
(#117) Public method name "MetadataLogicTest::testIfImportMetadataUsesConfiguredAppIdIfFound" must be in lower-case letters only
(#121) Variable "fakeConfig" must be all lower-case
(#122) Variable "fakeConfig" must be all lower-case
(#123) There should be a comma after the last array item in a multi-line array.
(#125) Variable "metadataUrl" must be all lower-case
(#126) Variable "metadataXml" must be all lower-case
(#127) Variable "baseHelper" must be all lower-case
(#128) Variable "authHelper" must be all lower-case
(#128) Variable "baseHelper" must be all lower-case
(#129) Variable "nodeConfig" must be all lower-case
(#130) Variable "nodeHelper" must be all lower-case
(#130) Variable "baseHelper" must be all lower-case
(#130) Variable "nodeConfig" must be all lower-case
(#131) Variable "serviceMock" must be all lower-case
(#133) Variable "authHelper" must be all lower-case
(#133) Variable "nodeHelper" must be all lower-case
(#135) Variable "serviceMock" must be all lower-case
(#137) Variable "metadataUrl" must be all lower-case
(#138) Variable "metadataXml" must be all lower-case
(#139) Variable "fakeConfig" must be all lower-case
(#140) Variable "serviceMock" must be all lower-case
(#141) Variable "metadataUrl" must be all lower-case
(#142) Variable "fakeConfig" must be all lower-case
(#154) Public method name "MetadataLogicTest::testIfImportMetadataUsesAppIdClassVariableIfSet" must be in lower-case letters only
(#158) Variable "metadataUrl" must be all lower-case
(#159) Variable "metadataXml" must be all lower-case
(#160) Variable "baseHelper" must be all lower-case
(#161) Variable "authHelper" must be all lower-case
(#161) Variable "baseHelper" must be all lower-case
(#162) Variable "nodeConfig" must be all lower-case
(#163) Variable "nodeHelper" must be all lower-case
(#163) Variable "baseHelper" must be all lower-case
(#163) Variable "nodeConfig" must be all lower-case
(#164) Variable "serviceMock" must be all lower-case
(#166) Variable "authHelper" must be all lower-case
(#166) Variable "nodeHelper" must be all lower-case
(#168) Variable "serviceMock" must be all lower-case
(#170) Variable "metadataUrl" must be all lower-case
(#171) Variable "metadataXml" must be all lower-case
(#172) Variable "fakeConfig" must be all lower-case
(#173) Variable "fakeConfig" must be all lower-case
(#174) Variable "serviceMock" must be all lower-case
(#176) Variable "metadataUrl" must be all lower-case
(#177) Variable "fakeConfig" must be all lower-case
(#189) Public method name "MetadataLogicTest::testIfImportMetadataDoesNotSetHostAliasesIfNoneAreSet" must be in lower-case letters only
(#193) Variable "metadataUrl" must be all lower-case
(#194) Variable "metadataXml" must be all lower-case
(#195) Variable "baseHelper" must be all lower-case
(#196) Variable "authHelper" must be all lower-case
(#196) Variable "baseHelper" must be all lower-case
(#197) Variable "nodeConfig" must be all lower-case
(#198) Variable "nodeHelper" must be all lower-case
(#198) Variable "baseHelper" must be all lower-case
(#198) Variable "nodeConfig" must be all lower-case
(#199) Variable "serviceMock" must be all lower-case
(#201) Variable "authHelper" must be all lower-case
(#201) Variable "nodeHelper" must be all lower-case
(#203) Variable "serviceMock" must be all lower-case
(#205) Variable "metadataUrl" must be all lower-case
(#206) Variable "metadataXml" must be all lower-case
(#207) Variable "fakeConfig" must be all lower-case
(#208) Variable "fakeConfig" must be all lower-case
(#209) There should be a comma after the last array item in a multi-line array.
(#211) Variable "fakeConfig" must be all lower-case
(#212) Variable "serviceMock" must be all lower-case
(#213) Variable "metadataUrl" must be all lower-case
(#214) Variable "fakeConfig" must be all lower-case
(#226) Public method name "MetadataLogicTest::testIfImportMetadataSetsHostAliasesIfSetAsClassVariables" must be in lower-case letters only
(#230) Variable "metadataUrl" must be all lower-case
(#231) Variable "metadataXml" must be all lower-case
(#232) Variable "baseHelper" must be all lower-case
(#233) Variable "authHelper" must be all lower-case
(#233) Variable "baseHelper" must be all lower-case
(#234) Variable "nodeConfig" must be all lower-case
(#235) Variable "nodeHelper" must be all lower-case
(#235) Variable "baseHelper" must be all lower-case
(#235) Variable "nodeConfig" must be all lower-case
(#236) Variable "serviceMock" must be all lower-case
(#238) Variable "authHelper" must be all lower-case
(#238) Variable "nodeHelper" must be all lower-case
(#240) Variable "serviceMock" must be all lower-case
(#242) Variable "metadataUrl" must be all lower-case
(#243) Variable "metadataXml" must be all lower-case
(#244) Variable "fakeConfig" must be all lower-case
(#245) Variable "fakeConfig" must be all lower-case
(#246) There should be a comma after the last array item in a multi-line array.
(#248) Variable "fakeConfig" must be all lower-case
(#249) Variable "serviceMock" must be all lower-case
(#251) Variable "metadataUrl" must be all lower-case
(#252) Variable "fakeConfig" must be all lower-case
(#264) Public method name "MetadataLogicTest::testIfImportMetadataDoesNotSetWloGuestUserIfNoneProvided" must be in lower-case letters only
(#268) Variable "metadataUrl" must be all lower-case
(#269) Variable "metadataXml" must be all lower-case
(#270) Variable "baseHelper" must be all lower-case
(#271) Variable "authHelper" must be all lower-case
(#271) Variable "baseHelper" must be all lower-case
(#272) Variable "nodeConfig" must be all lower-case
(#273) Variable "nodeHelper" must be all lower-case
(#273) Variable "baseHelper" must be all lower-case
(#273) Variable "nodeConfig" must be all lower-case
(#274) Variable "serviceMock" must be all lower-case
(#276) Variable "authHelper" must be all lower-case
(#276) Variable "nodeHelper" must be all lower-case
(#278) Variable "serviceMock" must be all lower-case
(#280) Variable "metadataUrl" must be all lower-case
(#281) Variable "metadataXml" must be all lower-case
(#282) Variable "fakeConfig" must be all lower-case
(#283) Variable "fakeConfig" must be all lower-case
(#284) There should be a comma after the last array item in a multi-line array.
(#286) Variable "fakeConfig" must be all lower-case
(#287) Variable "serviceMock" must be all lower-case
(#288) Variable "metadataUrl" must be all lower-case
(#289) Variable "fakeConfig" must be all lower-case
(#290) Variable "fakeConfig" must be all lower-case
(#302) Public method name "MetadataLogicTest::testIfImportMetadataDoesSetWloGuestUserIfClassVariableIsSet" must be in lower-case letters only
(#306) Variable "metadataUrl" must be all lower-case
(#307) Variable "metadataXml" must be all lower-case
(#308) Variable "baseHelper" must be all lower-case
(#309) Variable "authHelper" must be all lower-case
(#309) Variable "baseHelper" must be all lower-case
(#310) Variable "nodeConfig" must be all lower-case
(#311) Variable "nodeHelper" must be all lower-case
(#311) Variable "baseHelper" must be all lower-case
(#311) Variable "nodeConfig" must be all lower-case
(#312) Variable "serviceMock" must be all lower-case
(#314) Variable "authHelper" must be all lower-case
(#314) Variable "nodeHelper" must be all lower-case
(#316) Variable "serviceMock" must be all lower-case
(#318) Variable "metadataUrl" must be all lower-case
(#319) Variable "metadataXml" must be all lower-case
(#320) Variable "fakeConfig" must be all lower-case
(#321) Variable "fakeConfig" must be all lower-case
(#322) There should be a comma after the last array item in a multi-line array.
(#324) Variable "fakeConfig" must be all lower-case
(#325) Variable "serviceMock" must be all lower-case
(#327) Variable "metadataUrl" must be all lower-case
(#328) Variable "fakeConfig" must be all lower-case
(#329) Variable "fakeConfig" must be all lower-case
(#341) Public method name "MetadataLogicTest::testIfImportMetadataGeneratesNewKeyPairIfNoneFound" must be in lower-case letters only
(#345) Variable "metadataUrl" must be all lower-case
(#346) Variable "metadataXml" must be all lower-case
(#347) Variable "baseHelper" must be all lower-case
(#348) Variable "authHelper" must be all lower-case
(#348) Variable "baseHelper" must be all lower-case
(#349) Variable "nodeConfig" must be all lower-case
(#350) Variable "nodeHelper" must be all lower-case
(#350) Variable "baseHelper" must be all lower-case
(#350) Variable "nodeConfig" must be all lower-case
(#351) Variable "serviceMock" must be all lower-case
(#353) Variable "authHelper" must be all lower-case
(#353) Variable "nodeHelper" must be all lower-case
(#355) Variable "serviceMock" must be all lower-case
(#357) Variable "metadataUrl" must be all lower-case
(#358) Variable "metadataXml" must be all lower-case
(#359) Variable "fakeConfig" must be all lower-case
(#360) Variable "fakeConfig" must be all lower-case
(#361) There should be a comma after the last array item in a multi-line array.
(#363) Variable "fakeConfig" must be all lower-case
(#364) Variable "serviceMock" must be all lower-case
(#366) Variable "metadataUrl" must be all lower-case
(#367) Variable "fakeConfig" must be all lower-case
(#368) Variable "fakeConfig" must be all lower-case
(#380) Public method name "MetadataLogicTest::testIfCreateXmlMetadataCreatesXmlWithAllNeededEntries" must be in lower-case letters only
(#384) Variable "fakeConfig" must be all lower-case
(#385) Variable "fakeConfig" must be all lower-case
(#393) There should be a comma after the last array item in a multi-line array.
(#395) Variable "baseHelper" must be all lower-case
(#396) Variable "authHelper" must be all lower-case
(#396) Variable "baseHelper" must be all lower-case
(#397) Variable "nodeConfig" must be all lower-case
(#398) Variable "nodeHelper" must be all lower-case
(#398) Variable "baseHelper" must be all lower-case
(#398) Variable "nodeConfig" must be all lower-case
(#399) Variable "authHelper" must be all lower-case
(#399) Variable "nodeHelper" must be all lower-case
(#399) Variable "fakeConfig" must be all lower-case
(#400) Variable "xmlString" must be all lower-case
(#401) Variable "xmlString" must be all lower-case
mod/edusharing/tests/PluginRegistrationTest.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#1) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#1) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#19) Opening brace should be on the same line as the declaration for class PluginRegistrationTest
(#27) Public method name "PluginRegistrationTest::testRegisterPluginReturnsContentFromServiceCallOnSuccess" must be in lower-case letters only
(#28) Variable "baseHelper" must be all lower-case
(#29) Variable "authHelper" must be all lower-case
(#29) Variable "baseHelper" must be all lower-case
(#30) Variable "nodeConfig" must be all lower-case
(#31) Variable "nodeHelper" must be all lower-case
(#31) Variable "baseHelper" must be all lower-case
(#31) Variable "nodeConfig" must be all lower-case
(#32) Variable "repoUrl" must be all lower-case
(#36) Variable "serviceMock" must be all lower-case
(#38) Variable "authHelper" must be all lower-case
(#38) Variable "nodeHelper" must be all lower-case
(#40) Variable "serviceMock" must be all lower-case
(#42) Variable "repoUrl" must be all lower-case
(#44) Variable "serviceMock" must be all lower-case
(#46) Variable "repoUrl" must be all lower-case
(#48) Variable "registrationLogic" must be all lower-case
(#48) Variable "serviceMock" must be all lower-case
(#49) Variable "registrationLogic" must be all lower-case
(#49) Variable "repoUrl" must be all lower-case
(#61) Public method name "PluginRegistrationTest::testRegisterPluginThrowsApiConnectionExceptionWhenValidateSessionFailsWithError" must be in lower-case letters only
(#62) Variable "baseHelper" must be all lower-case
(#63) Variable "authHelper" must be all lower-case
(#63) Variable "baseHelper" must be all lower-case
(#64) Variable "nodeConfig" must be all lower-case
(#65) Variable "nodeHelper" must be all lower-case
(#65) Variable "baseHelper" must be all lower-case
(#65) Variable "nodeConfig" must be all lower-case
(#66) Variable "repoUrl" must be all lower-case
(#70) Variable "serviceMock" must be all lower-case
(#72) Variable "authHelper" must be all lower-case
(#72) Variable "nodeHelper" must be all lower-case
(#74) Variable "serviceMock" must be all lower-case
(#76) Variable "repoUrl" must be all lower-case
(#78) Variable "registrationLogic" must be all lower-case
(#78) Variable "serviceMock" must be all lower-case
(#81) Variable "registrationLogic" must be all lower-case
(#81) Variable "repoUrl" must be all lower-case
(#92) Public method name "PluginRegistrationTest::testRegisterPluginThrowsInvalidCredentialsExceptionIfUserIsNoAdmin" must be in lower-case letters only
(#93) Variable "baseHelper" must be all lower-case
(#94) Variable "authHelper" must be all lower-case
(#94) Variable "baseHelper" must be all lower-case
(#95) Variable "nodeConfig" must be all lower-case
(#96) Variable "nodeHelper" must be all lower-case
(#96) Variable "baseHelper" must be all lower-case
(#96) Variable "nodeConfig" must be all lower-case
(#97) Variable "repoUrl" must be all lower-case
(#101) Variable "serviceMock" must be all lower-case
(#103) Variable "authHelper" must be all lower-case
(#103) Variable "nodeHelper" must be all lower-case
(#105) Variable "serviceMock" must be all lower-case
(#107) Variable "repoUrl" must be all lower-case
(#109) Variable "registrationLogic" must be all lower-case
(#109) Variable "serviceMock" must be all lower-case
(#112) Variable "registrationLogic" must be all lower-case
(#112) Variable "repoUrl" must be all lower-case
(#122) Public method name "PluginRegistrationTest::testRegisterPluginThrowsApiConnectionExceptionWhenRegisterPluginFailsWithError" must be in lower-case letters only
(#123) Variable "baseHelper" must be all lower-case
(#124) Variable "authHelper" must be all lower-case
(#124) Variable "baseHelper" must be all lower-case
(#125) Variable "nodeConfig" must be all lower-case
(#126) Variable "nodeHelper" must be all lower-case
(#126) Variable "baseHelper" must be all lower-case
(#126) Variable "nodeConfig" must be all lower-case
(#127) Variable "repoUrl" must be all lower-case
(#131) Variable "serviceMock" must be all lower-case
(#133) Variable "authHelper" must be all lower-case
(#133) Variable "nodeHelper" must be all lower-case
(#135) Variable "serviceMock" must be all lower-case
(#137) Variable "repoUrl" must be all lower-case
(#139) Variable "serviceMock" must be all lower-case
(#141) Variable "repoUrl" must be all lower-case
(#143) Variable "registrationLogic" must be all lower-case
(#143) Variable "serviceMock" must be all lower-case
(#146) Variable "registrationLogic" must be all lower-case
(#146) Variable "repoUrl" must be all lower-case
(#156) Public method name "PluginRegistrationTest::testRegisterPluginThrowsJsonExceptionWithInvalidJsonReturnedFromApi" must be in lower-case letters only
(#157) Variable "baseHelper" must be all lower-case
(#158) Variable "authHelper" must be all lower-case
(#158) Variable "baseHelper" must be all lower-case
(#159) Variable "nodeConfig" must be all lower-case
(#160) Variable "nodeHelper" must be all lower-case
(#160) Variable "baseHelper" must be all lower-case
(#160) Variable "nodeConfig" must be all lower-case
(#161) Variable "repoUrl" must be all lower-case
(#165) Variable "serviceMock" must be all lower-case
(#167) Variable "authHelper" must be all lower-case
(#167) Variable "nodeHelper" must be all lower-case
(#169) Variable "serviceMock" must be all lower-case
(#171) Variable "repoUrl" must be all lower-case
(#173) Variable "registrationLogic" must be all lower-case
(#173) Variable "serviceMock" must be all lower-case
(#175) Variable "registrationLogic" must be all lower-case
(#175) Variable "repoUrl" must be all lower-case
(#177) File must end with a newline character
mod/edusharing/tests/UtilityFunctionsTest.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#1) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#1) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#13) Opening brace should be on the same line as the declaration for class UtilityFunctionsTest
(#19) Public method name "UtilityFunctionsTest::testIfGetObjectIdFromUrlReturnsProperPathIfUrlIsOk" must be in lower-case letters only
(#29) Public method name "UtilityFunctionsTest::testIfGetObjectIdFromUrlTriggersWarningIfUrlIsMalformed" must be in lower-case letters only
(#41) Public method name "UtilityFunctionsTest::testIfGetRepositoryIdFromUrlReturnsHostIfUrlIsOk" must be in lower-case letters only
(#52) Public method name "UtilityFunctionsTest::testIfGetRepositoryThrowsExceptionIfUrlIsMalformed" must be in lower-case letters only
(#66) Public method name "UtilityFunctionsTest::testIfGetAuthKeyReturnsUserIdIfSsoIsActive" must be in lower-case letters only
(#69) Variable "fakeConfig" must be all lower-case
(#70) Variable "fakeConfig" must be all lower-case
(#71) There should be a comma after the last array item in a multi-line array.
(#73) Variable "fakeConfig" must be all lower-case
(#86) Public method name "UtilityFunctionsTest::testGetAuthKeyReturnsGuestIdIfGuestOptionIsActive" must be in lower-case letters only
(#90) Variable "fakeConfig" must be all lower-case
(#91) Variable "fakeConfig" must be all lower-case
(#93) There should be a comma after the last array item in a multi-line array.
(#95) Variable "fakeConfig" must be all lower-case
(#107) Public method name "UtilityFunctionsTest::testGetAuthKeyReturnsConfiguredAuthKeyIfSet" must be in lower-case letters only
(#111) Variable "fakeConfig" must be all lower-case
(#112) Variable "fakeConfig" must be all lower-case
(#113) There should be a comma after the last array item in a multi-line array.
(#115) Variable "fakeConfig" must be all lower-case
(#128) Public method name "UtilityFunctionsTest::testGetAuthKeyReturnsAuthKeyInProfileIsIfAllPreviousAreNotMet" must be in lower-case letters only
(#132) Variable "fakeConfig" must be all lower-case
(#133) Variable "fakeConfig" must be all lower-case
(#134) There should be a comma after the last array item in a multi-line array.
(#136) Variable "fakeConfig" must be all lower-case
(#149) Public method name "UtilityFunctionsTest::testGetAuthKeyReturnsUserNameAsLastResort" must be in lower-case letters only
(#153) Variable "fakeConfig" must be all lower-case
(#154) Variable "fakeConfig" must be all lower-case
(#155) There should be a comma after the last array item in a multi-line array.
(#157) Variable "fakeConfig" must be all lower-case
(#169) Public method name "UtilityFunctionsTest::testIfSetModuleInDbFindsMatchesAndSetsResourceIdsToDbIfMatchesFound" must be in lower-case letters only
(#172) Variable "idType" must be all lower-case
(#174) Variable "dbMock" must be all lower-case
(#177) Variable "dbMock" must be all lower-case
(#179) Variable "idType" must be all lower-case
(#179) Variable "idType" must be all lower-case
(#179) Line exceeds 132 characters; contains 150 characters
(#180) Variable "GLOBALS" must be all lower-case
(#180) Variable "dbMock" must be all lower-case
(#181) Line exceeds 132 characters; contains 158 characters
(#182) Variable "idType" must be all lower-case
(#192) Public method name "UtilityFunctionsTest::testIfSetModuleInDbDoesNotSetAnythingToDbIfNoMatchesFound" must be in lower-case letters only
(#195) Variable "dbMock" must be all lower-case
(#198) Variable "dbMock" must be all lower-case
(#199) Variable "GLOBALS" must be all lower-case
(#199) Variable "dbMock" must be all lower-case
(#210) Public method name "UtilityFunctionsTest::testIfGetCourseModuleInfoReturnsProperInfoIfDataFoundInDb" must be in lower-case letters only
(#218) Variable "returnOne" must be all lower-case
(#219) Variable "returnOne" must be all lower-case
(#220) Variable "returnOne" must be all lower-case
(#221) Variable "returnTwo" must be all lower-case
(#222) Variable "returnTwo" must be all lower-case
(#223) Variable "dbMock" must be all lower-case
(#226) Variable "dbMock" must be all lower-case
(#231) Variable "returnOne" must be all lower-case
(#231) Variable "returnTwo" must be all lower-case
(#232) Variable "GLOBALS" must be all lower-case
(#232) Variable "dbMock" must be all lower-case
(#245) Public method name "UtilityFunctionsTest::testIfGetCourseModuleInfoReturnsFalseIfNoRecordFound" must be in lower-case letters only
(#252) Variable "dbMock" must be all lower-case
(#255) Variable "dbMock" must be all lower-case
(#259) Variable "GLOBALS" must be all lower-case
(#259) Variable "dbMock" must be all lower-case
(#268) Public method name "UtilityFunctionsTest::testGetInlineObjectMatchesReturnsOnlyAttoMatchesFromInputIfAttoIsSetToTrue" must be in lower-case letters only
mod/edusharing/tests/testUtils/FakeConfig.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#1) Line 7 of the opening comment must start "//".
(#1) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#15) Opening brace should be on the same line as the declaration for class FakeConfig
(#45) Public method name "FakeConfig::setEntries" must be in lower-case letters only
mod/edusharing/view.php
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Variable "courseId" must be all lower-case
(#49) Variable "courseId" must be all lower-case
(#57) Variable "eduSharingService" must be all lower-case
(#58) Variable "eduSharingService" must be all lower-case
(#64) Variable "redirectUrl" must be all lower-case
(#66) Variable "redirectUrl" must be all lower-case
(#68) Variable "baseHelper" must be all lower-case
(#68) Line exceeds maximum limit of 180 characters; contains 196 characters
(#69) Variable "redirectUrl" must be all lower-case
(#69) Variable "baseHelper" must be all lower-case
(#70) Variable "redirectUrl" must be all lower-case
(#71) Variable "backAction" must be all lower-case
(#73) Variable "backAction" must be all lower-case
(#73) Variable "courseId" must be all lower-case
(#76) Variable "backAction" must be all lower-case
(#78) Variable "redirectUrl" must be all lower-case
(#78) Variable "backAction" must be all lower-case
(#79) Variable "redirectUrl" must be all lower-case
(#80) Variable "redirectUrl" must be all lower-case
(#82) The use of function error_log() is forbidden; use debugging() instead

Javascript coding style problems

(2 errors, 1 warnings)

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

mod/edusharing/amd/src/repository.js
(#3) 'checkRepoRestApi' is assigned a value but never used. (no-unused-vars)
mod/edusharing/amd/src/test.js
(#2) Unexpected alert. (no-alert)
(#2) Missing semicolon. (@babel/semi)

CSS problems

(32 errors, 0 warnings)

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

mod/edusharing/import_metadata_style.css
(#13) Expected single space before "{" (block-opening-brace-space-before)
(#17) Expected single space before "{" (block-opening-brace-space-before)
(#21) Expected single space before "{" (block-opening-brace-space-before)
(#29) Expected single space before "{" (block-opening-brace-space-before)
(#49) Expected single space before "{" (block-opening-brace-space-before)
(#64) Expected single space before "{" (block-opening-brace-space-before)
(#68) Expected single space before "{" (block-opening-brace-space-before)
(#79) Expected single space before "{" (block-opening-brace-space-before)
(#83) Expected single space before "{" (block-opening-brace-space-before)
(#87) Expected single space before "{" (block-opening-brace-space-before)
(#92) Expected single space before "{" (block-opening-brace-space-before)
(#96) Expected single space before "{" (block-opening-brace-space-before)
(#105) Expected single space before "{" (block-opening-brace-space-before)
(#111) Expected single space before "{" (block-opening-brace-space-before)
(#117) Expected single space before "{" (block-opening-brace-space-before)
(#125) Expected single space before "{" (block-opening-brace-space-before)
(#130) Expected single space before "{" (block-opening-brace-space-before)
(#136) Expected single space before "{" (block-opening-brace-space-before)
(#139) Expected single space before "{" (block-opening-brace-space-before)
(#144) Expected single space before "{" (block-opening-brace-space-before)
(#148) Expected single space before "{" (block-opening-brace-space-before)
(#154) Expected single space before "{" (block-opening-brace-space-before)
(#161) Expected single space before "{" (block-opening-brace-space-before)
(#167) Expected single space before "{" (block-opening-brace-space-before)
(#173) Expected single space before "{" (block-opening-brace-space-before)
(#177) Expected single space before "{" (block-opening-brace-space-before)
(#8) Expected newline after "," (selector-list-comma-newline-after)
(#8) Expected newline after "," (selector-list-comma-newline-after)
(#8) Expected newline after "," (selector-list-comma-newline-after)
(#45) Expected newline after "," (selector-list-comma-newline-after)
mod/edusharing/styles.css
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#5) Expected single space before "{" (block-opening-brace-space-before)

PHPDocs style problems

(169 errors, 49 warnings)

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

mod/edusharing/apiClient/src/EduSharing/AppAuthException.php
(#2) Empty line found after PHP open tag
(#17) Constant AppAuthException::KNOWN_ERRORS is not documented
(#7) Package is not specified for class AppAuthException. It is also not specified in file-level phpdocs
mod/edusharing/apiClient/src/EduSharing/CurlHandler.php
(#2) Empty line found after PHP open tag
(#31) Function CurlHandler::setMethod is not documented
(#20) Variable CurlHandler::$method is not documented
(#15) Constant CurlHandler::METHOD_GET is not documented
(#16) Constant CurlHandler::METHOD_POST is not documented
(#17) Constant CurlHandler::METHOD_PUT is not documented
(#18) Constant CurlHandler::METHODS is not documented
(#5) Package is not specified for class CurlHandler. It is also not specified in file-level phpdocs
mod/edusharing/apiClient/src/EduSharing/CurlResult.php
(#2) Empty line found after PHP open tag
(#14) Variable CurlResult::$content is not documented
(#15) Variable CurlResult::$error is not documented
(#16) Variable CurlResult::$info is not documented
(#5) Package is not specified for class CurlResult. It is also not specified in file-level phpdocs
mod/edusharing/apiClient/src/EduSharing/DefaultCurlHandler.php
(#2) Empty line found after PHP open tag
(#5) Package is not specified for class DefaultCurlHandler. It is also not specified in file-level phpdocs
mod/edusharing/apiClient/src/EduSharing/DisplayMode.php
(#2) Empty line found after PHP open tag
(#12) Constant DisplayMode::INLINE is not documented
(#13) Constant DisplayMode::EMBED is not documented
(#14) Constant DisplayMode::DYNAMIC is not documented
(#5) Package is not specified for class DisplayMode. It is also not specified in file-level phpdocs
mod/edusharing/apiClient/src/EduSharing/EduSharingAuthHelper.php
(#2) Empty line found after PHP open tag
(#7) Package is not specified for class EduSharingAuthHelper. It is also not specified in file-level phpdocs
mod/edusharing/apiClient/src/EduSharing/EduSharingHelper.php
(#2) Empty line found after PHP open tag
(#35) Phpdocs for function EduSharingHelper::generateEduAppXMLData has incomplete parameters list
(#7) Package is not specified for class EduSharingHelper. It is also not specified in file-level phpdocs
mod/edusharing/apiClient/src/EduSharing/EduSharingHelperAbstract.php
(#2) Empty line found after PHP open tag
(#12) Variable EduSharingHelperAbstract::$base is not documented
(#5) Package is not specified for class EduSharingHelperAbstract. It is also not specified in file-level phpdocs
mod/edusharing/apiClient/src/EduSharing/EduSharingHelperBase.php
(#2) Empty line found after PHP open tag
(#14) Variable EduSharingHelperBase::$baseUrl is not documented
(#15) Variable EduSharingHelperBase::$privateKey is not documented
(#16) Variable EduSharingHelperBase::$appId is not documented
(#17) Variable EduSharingHelperBase::$language is not documented
(#18) Variable EduSharingHelperBase::$curlHandler is not documented
(#20) There is no description in phpdocs for function __construct
(#7) Package is not specified for class EduSharingHelperBase. It is also not specified in file-level phpdocs
mod/edusharing/apiClient/src/EduSharing/EduSharingNodeHelper.php
(#2) Empty line found after PHP open tag
(#18) Function EduSharingNodeHelper::__construct is not documented
(#16) Variable EduSharingNodeHelper::$config is not documented
(#76) Phpdocs for function EduSharingNodeHelper::getUsageIdByParameters has incomplete parameters list
(#192) Phpdocs for function EduSharingNodeHelper::handleURLMapping has incomplete parameters list
(#71) Invalid phpdocs tag @DEPRECATED used
(#8) Package is not specified for class EduSharingNodeHelper. It is also not specified in file-level phpdocs
mod/edusharing/apiClient/src/EduSharing/EduSharingNodeHelperConfig.php
(#2) Empty line found after PHP open tag
(#12) Variable EduSharingNodeHelperConfig::$urlHandling is not documented
(#5) Package is not specified for class EduSharingNodeHelperConfig. It is also not specified in file-level phpdocs
mod/edusharing/apiClient/src/EduSharing/NodeDeletedException.php
(#2) Empty line found after PHP open tag
(#7) Package is not specified for class NodeDeletedException. It is also not specified in file-level phpdocs
mod/edusharing/apiClient/src/EduSharing/UrlHandling.php
(#2) Empty line found after PHP open tag
(#16) Variable UrlHandling::$enabled is not documented
(#17) Variable UrlHandling::$endpointURL is not documented
(#5) Package is not specified for class UrlHandling. It is also not specified in file-level phpdocs
mod/edusharing/apiClient/src/EduSharing/Usage.php
(#2) Empty line found after PHP open tag
(#15) Variable Usage::$nodeId is not documented
(#16) Variable Usage::$nodeVersion is not documented
(#17) Variable Usage::$containerId is not documented
(#18) Variable Usage::$resourceId is not documented
(#19) Variable Usage::$usageId is not documented
(#5) Package is not specified for class Usage. It is also not specified in file-level phpdocs
mod/edusharing/apiClient/src/EduSharing/UsageDeletedException.php
(#2) Empty line found after PHP open tag
(#7) Package is not specified for class UsageDeletedException. It is also not specified in file-level phpdocs
mod/edusharing/backup/moodle2/backup_edusharing_activity_task.class.php
(#2) Empty line found after PHP open tag
(#6) No one-line description found in phpdocs for class backup_edusharing_activity_task
(#27) Phpdocs for function backup_edusharing_activity_task::encode_content_links has incomplete parameters list
(#6) Package is not specified for class backup_edusharing_activity_task. It is also not specified in file-level phpdocs
mod/edusharing/backup/moodle2/backup_edusharing_settingslib.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
mod/edusharing/backup/moodle2/backup_edusharing_stepslib.php
(#2) Empty line found after PHP open tag
(#11) Function backup_edusharing_activity_structure_step::define_structure is not documented
(#3) File-level phpdocs block does not have @copyright tag
(#3) File-level phpdocs block does not have @license tag
(#6) Package is not specified for class backup_edusharing_activity_structure_step. It is also not specified in file-level phpdocs
mod/edusharing/backup/moodle2/restore_edusharing_activity_task.class.php
(#9) Class restore_edusharing_activity_task is not documented
(#92) Function restore_edusharing_activity_task::after_restore is not documented
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#54) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#56) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#73) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#75) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#9) Package is not specified for class restore_edusharing_activity_task. It is also not specified in file-level phpdocs
mod/edusharing/backup/moodle2/restore_edusharing_stepslib.php
(#13) Class restore_edusharing_activity_structure_step is not documented
(#15) Function restore_edusharing_activity_structure_step::define_structure is not documented
(#26) Function restore_edusharing_activity_structure_step::process_edusharing is not documented
(#50) Function restore_edusharing_activity_structure_step::after_execute is not documented
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#13) Package is not specified for class restore_edusharing_activity_structure_step. It is also not specified in file-level phpdocs
mod/edusharing/classes/AppConfig.php
(#2) Empty line found after PHP open tag
(#16) There is no description in phpdocs for function set
(#23) There is no description in phpdocs for function get
(#7) Package is not specified for interface AppConfig. It is also not specified in file-level phpdocs
mod/edusharing/classes/Constants.php
(#2) Empty line found after PHP open tag
(#12) Constant Constants::EDUSHARING_MODULE_NAME is not documented
(#13) Constant Constants::EDUSHARING_TABLE is not documented
(#14) Constant Constants::EDUSHARING_DISPLAY_MODE_DISPLAY is not documented
(#15) Constant Constants::EDUSHARING_DISPLAY_MODE_INLINE is not documented
(#5) Package is not specified for class Constants. It is also not specified in file-level phpdocs
mod/edusharing/classes/DefaultAppConfig.php
(#2) Empty line found after PHP open tag
(#7) Package is not specified for class DefaultAppConfig. It is also not specified in file-level phpdocs
mod/edusharing/classes/EduSharingService.php
(#2) Empty line found after PHP open tag
(#32) Variable EduSharingService::$authHelper is not documented
(#33) Variable EduSharingService::$nodeHelper is not documented
(#34) Variable EduSharingService::$utils is not documented
(#36) Phpdocs for function EduSharingService::__construct has incomplete parameters list
(#74) Phpdocs for function EduSharingService::createUsage has incomplete parameters list
(#84) Phpdocs for function EduSharingService::getUsageId has incomplete parameters list
(#95) Phpdocs for function EduSharingService::deleteUsage has incomplete parameters list
(#109) Phpdocs for function EduSharingService::getNode has incomplete parameters list
(#396) Phpdocs for function EduSharingService::requireEduLogin has incomplete parameters list
(#23) Package is not specified for class EduSharingService. It is also not specified in file-level phpdocs
mod/edusharing/classes/EduSharingUserException.php
(#2) Empty line found after PHP open tag
(#15) Variable EduSharingUserException::$htmlMessage is not documented
(#8) Package is not specified for class EduSharingUserException. It is also not specified in file-level phpdocs
mod/edusharing/classes/InstallUpgradeLogic.php
(#2) Empty line found after PHP open tag
(#15) Variable InstallUpgradeLogic::$registrationLogic is not documented
(#16) Variable InstallUpgradeLogic::$metadataLogic is not documented
(#18) Variable InstallUpgradeLogic::$configPath is not documented
(#19) Variable InstallUpgradeLogic::$configData is not documented
(#8) Package is not specified for class InstallUpgradeLogic. It is also not specified in file-level phpdocs
mod/edusharing/classes/MetaDataFrontend.php
(#2) Empty line found after PHP open tag
(#7) Package is not specified for class MetaDataFrontend. It is also not specified in file-level phpdocs
mod/edusharing/classes/MetadataLogic.php
(#2) Empty line found after PHP open tag
(#18) Variable MetadataLogic::$reloadForm is not documented
(#19) Variable MetadataLogic::$hostAliases is not documented
(#20) Variable MetadataLogic::$wloGuestUser is not documented
(#21) Variable MetadataLogic::$appId is not documented
(#22) Variable MetadataLogic::$service is not documented
(#23) Variable MetadataLogic::$utils is not documented
(#48) Phpdocs for function MetadataLogic::importMetadata has incomplete parameters list
(#11) Package is not specified for class MetadataLogic. It is also not specified in file-level phpdocs
mod/edusharing/classes/MoodleCurlHandler.php
(#2) Empty line found after PHP open tag
(#9) Package is not specified for class MoodleCurlHandler. It is also not specified in file-level phpdocs
mod/edusharing/classes/PluginRegistration.php
(#2) Empty line found after PHP open tag
(#14) Variable PluginRegistration::$service is not documented
(#27) Phpdocs for function PluginRegistration::registerPlugin has incomplete parameters list
(#38) Phpdocs for function PluginRegistration::validateAlfrescoSession has incomplete parameters list
(#55) Phpdocs for function PluginRegistration::performRegistration has incomplete parameters list
(#7) Package is not specified for class PluginRegistration. It is also not specified in file-level phpdocs
mod/edusharing/classes/PluginRegistrationFrontend.php
(#2) Empty line found after PHP open tag
(#7) Package is not specified for class PluginRegistrationFrontend. It is also not specified in file-level phpdocs
mod/edusharing/classes/RestoreHelper.php
(#2) Empty line found after PHP open tag
(#22) Variable RestoreHelper::$service is not documented
(#36) Phpdocs for function RestoreHelper::convertInlineOptions has incomplete parameters list
(#112) Phpdocs for function RestoreHelper::convertObject has incomplete parameters list
(#15) Package is not specified for class RestoreHelper. It is also not specified in file-level phpdocs
mod/edusharing/classes/UtilityFunctions.php
(#2) Empty line found after PHP open tag
(#20) Variable UtilityFunctions::$appConfig is not documented
(#86) Phpdocs for function UtilityFunctions::getRedirectUrl has incomplete parameters list
(#151) Phpdocs for function UtilityFunctions::encryptWithRepoKey has incomplete parameters list
(#299) Phpdocs for function UtilityFunctions::getConfigEntry has incomplete parameters list
(#13) Package is not specified for class UtilityFunctions. It is also not specified in file-level phpdocs
mod/edusharing/classes/event/course_module_instance_list_viewed.php
(#2) Empty line found after PHP open tag
(#7) Package is not specified for class course_module_instance_list_viewed. It is also not specified in file-level phpdocs
mod/edusharing/classes/external/ApiCheck.php
(#2) Empty line found after PHP open tag
(#9) Package is not specified for class ApiCheck. It is also not specified in file-level phpdocs
mod/edusharing/classes/observer.php
(#2) Empty line found after PHP open tag
(#58) Phpdocs for function mod_edusharing_observer::course_module_created has incomplete parameters list
(#10) Package is not specified for class mod_edusharing_observer. It is also not specified in file-level phpdocs
mod/edusharing/db/events.php
(#2) File-level phpdocs block is not found
mod/edusharing/db/install.php
(#2) Empty line found after PHP open tag
(#28) Function xmldb_edusharing_install is not documented
mod/edusharing/db/services.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found
mod/edusharing/eduSharingAutoloader.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/edusharing/lib.php
(#263) Function edusharing_course_module_background_deletion_recommended is not documented
(#267) Function edusharing_pre_block_delete is not documented
(#272) Function edusharing_update_settings_images is not documented
(#277) Function edusharing_update_settings_name is not documented
mod/edusharing/tests/EdusharingServiceTest.php
(#2) Empty line found after PHP open tag
(#31) Invalid phpdocs tag @backupGlobals used
(#55) Invalid phpdocs tag @backupGlobals used
(#81) Invalid phpdocs tag @backupGlobals used
(#112) Invalid phpdocs tag @backupGlobals used
(#290) Invalid phpdocs tag @backupGlobals used
(#356) Invalid phpdocs tag @backupGlobals used
(#422) Invalid phpdocs tag @backupGlobals used
(#487) Invalid phpdocs tag @backupGlobals used
(#576) Invalid phpdocs tag @backupGlobals used
(#626) Invalid phpdocs tag @backupGlobals used
(#761) Invalid phpdocs tag @backupGlobals used
(#796) Invalid phpdocs tag @backupGlobals used
(#19) Package is not specified for class EdusharingServiceTest. It is also not specified in file-level phpdocs
mod/edusharing/tests/InstallUpgradeLogicTest.php
(#2) Empty line found after PHP open tag
(#13) Package is not specified for class InstallUpgradeLogicTest. It is also not specified in file-level phpdocs
mod/edusharing/tests/MetadataLogicTest.php
(#2) Empty line found after PHP open tag
(#29) Invalid phpdocs tag @backupGlobals used
(#80) Invalid phpdocs tag @backupGlobals used
(#115) Invalid phpdocs tag @backupGlobals used
(#152) Invalid phpdocs tag @backupGlobals used
(#187) Invalid phpdocs tag @backupGlobals used
(#224) Invalid phpdocs tag @backupGlobals used
(#262) Invalid phpdocs tag @backupGlobals used
(#300) Invalid phpdocs tag @backupGlobals used
(#339) Invalid phpdocs tag @backupGlobals used
(#376) Invalid phpdocs tag @backupGlobals used
(#15) Package is not specified for class MetadataLogicTest. It is also not specified in file-level phpdocs
mod/edusharing/tests/PluginRegistrationTest.php
(#2) Empty line found after PHP open tag
(#13) Package is not specified for class PluginRegistrationTest. It is also not specified in file-level phpdocs
mod/edusharing/tests/UtilityFunctionsTest.php
(#2) Empty line found after PHP open tag
(#63) Invalid phpdocs tag @backupGlobals used
(#83) Invalid phpdocs tag @backupGlobals used
(#104) Invalid phpdocs tag @backupGlobals used
(#125) Invalid phpdocs tag @backupGlobals used
(#146) Invalid phpdocs tag @backupGlobals used
(#167) Invalid phpdocs tag @backupGlobals used
(#190) Invalid phpdocs tag @backupGlobals used
(#208) Invalid phpdocs tag @backupGlobals used
(#243) Invalid phpdocs tag @backupGlobals used
(#7) Package is not specified for class UtilityFunctionsTest. It is also not specified in file-level phpdocs
mod/edusharing/tests/testUtils/FakeConfig.php
(#2) Empty line found after PHP open tag
(#16) Variable FakeConfig::$entries is not documented
(#7) Package is not specified for class FakeConfig. It is also not specified in file-level phpdocs

Update savepoints problems

(1 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

mod/edusharing/db/upgrade.php
'return true;' not found

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

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