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

(675 errors, 190 warnings)

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

course/format/flexpage/backup/moodle2/backup_format_flexpage_plugin.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".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) 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/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Line exceeds 132 characters; contains 141 characters
(#80) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
course/format/flexpage/backup/moodle2/restore_format_flexpage_plugin.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".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) 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/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) Inline comments must start with a capital letter, digit or 3-dots sequence
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#191) Line exceeds 132 characters; contains 157 characters
(#200) Inline comments must end in full-stops, exclamation marks, or question marks
(#217) Inline comments must end in full-stops, exclamation marks, or question marks
(#246) Inline comments must end in full-stops, exclamation marks, or question marks
(#247) Line exceeds maximum limit of 180 characters; contains 188 characters
(#255) Line exceeds 132 characters; contains 171 characters
(#264) Inline comments must end in full-stops, exclamation marks, or question marks
course/format/flexpage/controller/ajax.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.".
(#5) 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/>.".
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Inline doc block comments are not allowed; use "// Comment." instead
(#34) Inline doc block comments are not allowed; use "// Comment." instead
(#39) Inline doc block comments are not allowed; use "// Comment." instead
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Space found before object operator
(#135) Space found before object operator
(#138) Space found before object operator
(#140) Inline comments must end in full-stops, exclamation marks, or question marks
(#186) Space found before object operator
(#200) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) Line exceeds 132 characters; contains 136 characters
(#268) Line exceeds 132 characters; contains 142 characters
(#477) Line exceeds 132 characters; contains 136 characters
course/format/flexpage/db/access.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.".
(#5) 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/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
course/format/flexpage/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 "//".
(#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.".
(#5) 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/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
course/format/flexpage/db/install.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.".
(#5) 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/>.".
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Inline doc block comments are not allowed; use "// Comment." instead
(#34) Inline doc block comments are not allowed; use "// Comment." instead
(#39) Inline doc block comments are not allowed; use "// Comment." instead
(#44) Inline doc block comments are not allowed; use "// Comment." instead
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#169) Inline comments must end in full-stops, exclamation marks, or question marks
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#176) Inline comments must end in full-stops, exclamation marks, or question marks
(#205) Inline doc block comments are not allowed; use "// Comment." instead
(#215) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) Inline comments must end in full-stops, exclamation marks, or question marks
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#246) Inline doc block comments are not allowed; use "// Comment." instead
(#251) Line exceeds 132 characters; contains 154 characters
(#253) Line exceeds 132 characters; contains 136 characters
(#256) Line exceeds 132 characters; contains 148 characters
(#261) Line exceeds 132 characters; contains 154 characters
(#264) Line exceeds 132 characters; contains 148 characters
(#269) Line exceeds 132 characters; contains 154 characters
(#271) Line exceeds 132 characters; contains 141 characters
(#272) Line exceeds 132 characters; contains 133 characters
(#274) Line exceeds 132 characters; contains 148 characters
(#289) Line exceeds 132 characters; contains 137 characters
(#290) Line exceeds 132 characters; contains 156 characters
(#303) Line exceeds 132 characters; contains 136 characters
(#317) Line exceeds 132 characters; contains 144 characters
(#339) Inline comments must end in full-stops, exclamation marks, or question marks
(#346) Inline comments must end in full-stops, exclamation marks, or question marks
(#375) Inline comments must end in full-stops, exclamation marks, or question marks
(#388) Inline doc block comments are not allowed; use "// Comment." instead
(#408) Inline comments must end in full-stops, exclamation marks, or question marks
(#416) Inline comments must end in full-stops, exclamation marks, or question marks
(#418) Inline doc block comments are not allowed; use "// Comment." instead
(#432) Line exceeds 132 characters; contains 155 characters
(#452) Inline comments must end in full-stops, exclamation marks, or question marks
(#454) Inline doc block comments are not allowed; use "// Comment." instead
(#490) Line exceeds maximum limit of 180 characters; contains 181 characters
(#502) Inline doc block comments are not allowed; use "// Comment." instead
(#507) Space found before object operator
(#508) Space found before object operator
(#509) Space found before object operator
(#510) Space found before object operator
(#513) Inline comments must end in full-stops, exclamation marks, or question marks
(#516) Inline doc block comments are not allowed; use "// Comment." instead
(#518) Inline doc block comments are not allowed; use "// Comment." instead
(#538) Space found before object operator
(#539) Space found before object operator
(#598) Inline doc block comments are not allowed; use "// Comment." instead
(#603) Inline doc block comments are not allowed; use "// Comment." instead
(#604) Line exceeds 132 characters; contains 135 characters
(#611) Space found before object operator
(#611) Line exceeds 132 characters; contains 140 characters
(#616) Inline comments must start with a capital letter, digit or 3-dots sequence
(#616) Inline comments must end in full-stops, exclamation marks, or question marks
(#617) Inline doc block comments are not allowed; use "// Comment." instead
(#618) Line exceeds 132 characters; contains 178 characters
(#625) Space found before object operator
(#641) Space found before object operator
(#642) Space found before object operator
(#643) Space found before object operator
(#644) Space found before object operator
(#650) Space found before object operator
(#653) Space found before object operator
(#666) Inline comments must end in full-stops, exclamation marks, or question marks
(#666) Line indented incorrectly; expected at least 8 spaces, found 4
(#666) 3 slashes comments are not allowed; use "// Comment." instead
(#679) Inline comments must end in full-stops, exclamation marks, or question marks
(#679) Line indented incorrectly; expected at least 8 spaces, found 4
(#679) 3 slashes comments are not allowed; use "// Comment." instead
(#684) Inline comments must end in full-stops, exclamation marks, or question marks
(#684) Line indented incorrectly; expected at least 8 spaces, found 4
(#684) 3 slashes comments are not allowed; use "// Comment." instead
course/format/flexpage/db/upgrade.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.".
(#5) 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/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#91) 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
(#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
course/format/flexpage/format.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.".
(#5) 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/>.".
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#35) Inline doc block comments are not allowed; use "// Comment." instead
course/format/flexpage/lang/en/format_flexpage.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.".
(#5) 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/>.".
course/format/flexpage/lib.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.".
(#5) 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/>.".
(#58) Inline doc block comments are not allowed; use "// Comment." instead
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#94) Inline comments must start with a capital letter, digit or 3-dots sequence
(#95) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Inline comments must end in full-stops, exclamation marks, or question marks
(#177) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#190) Line exceeds 132 characters; contains 155 characters
course/format/flexpage/lib/actionbar.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.".
(#5) 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/>.".
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Inline doc block comments are not allowed; use "// Comment." instead
(#90) Line exceeds 132 characters; contains 160 characters
(#91) Line exceeds 132 characters; contains 156 characters
(#97) Space found before object operator
(#98) Space found before object operator
(#99) Space found before object operator
(#100) Space found before object operator
(#100) Line exceeds 132 characters; contains 174 characters
(#104) Space found before object operator
(#104) Line exceeds 132 characters; contains 137 characters
(#105) Space found before object operator
(#106) Space found before object operator
(#107) Space found before object operator
(#107) Line exceeds 132 characters; contains 172 characters
course/format/flexpage/lib/adminsettings.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.".
(#5) 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/>.".
(#34) Expected MOODLE_INTERNAL check or config.php inclusion
(#36) Line exceeds 132 characters; contains 154 characters
course/format/flexpage/lib/box.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.".
(#5) 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/>.".
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Inline doc block comments are not allowed; use "// Comment." instead
course/format/flexpage/lib/box/abstract.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.".
(#5) 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/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
course/format/flexpage/lib/box/cell.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.".
(#5) 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/>.".
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
course/format/flexpage/lib/box/row.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.".
(#5) 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/>.".
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Inline doc block comments are not allowed; use "// Comment." instead
course/format/flexpage/lib/condition.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.".
(#5) 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/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
course/format/flexpage/lib/eventhandler.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.".
(#5) 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/>.".
(#33) Expected MOODLE_INTERNAL check or config.php inclusion
(#84) Empty CATCH statement detected
(#84) Empty CATCH statement must have a comment to explain why the exception is not handled
course/format/flexpage/lib/menu.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.".
(#5) 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/>.".
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
course/format/flexpage/lib/menu/action.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.".
(#5) 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/>.".
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#70) Space found before object operator
(#71) Space found before object operator
course/format/flexpage/lib/mod.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.".
(#5) 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/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
course/format/flexpage/lib/moodlepage.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.".
(#5) 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/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#213) Inline doc block comments are not allowed; use "// Comment." instead
(#242) Line exceeds 132 characters; contains 165 characters
(#256) Line exceeds 132 characters; contains 135 characters
(#261) Inline doc block comments are not allowed; use "// Comment." instead
(#268) Inline doc block comments are not allowed; use "// Comment." instead
(#272) Inline comments must end in full-stops, exclamation marks, or question marks
(#286) Empty CATCH statement detected
(#287) Inline comments must end in full-stops, exclamation marks, or question marks
course/format/flexpage/locallib.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.".
(#5) 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/>.".
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#53) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#151) Line exceeds 132 characters; contains 136 characters
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) Line exceeds 132 characters; contains 142 characters
(#372) Line exceeds 132 characters; contains 133 characters
course/format/flexpage/model/abstract.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.".
(#5) 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/>.".
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
course/format/flexpage/model/cache.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.".
(#5) 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/>.".
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Inline doc block comments are not allowed; use "// Comment." instead
(#34) Inline doc block comments are not allowed; use "// Comment." instead
(#39) Inline doc block comments are not allowed; use "// Comment." instead
(#117) Space found before object operator
(#118) Space found before object operator
(#268) Inline comments must end in full-stops, exclamation marks, or question marks
(#293) Inline comments must end in full-stops, exclamation marks, or question marks
(#299) Empty CATCH statement detected
(#300) Inline comments must end in full-stops, exclamation marks, or question marks
(#304) Inline comments must end in full-stops, exclamation marks, or question marks
(#308) Empty CATCH statement detected
(#309) Inline comments must end in full-stops, exclamation marks, or question marks
(#313) Inline comments must end in full-stops, exclamation marks, or question marks
(#316) Inline comments must end in full-stops, exclamation marks, or question marks
(#341) Inline comments must end in full-stops, exclamation marks, or question marks
(#348) Inline comments must end in full-stops, exclamation marks, or question marks
(#412) Inline comments must end in full-stops, exclamation marks, or question marks
(#503) Inline comments must end in full-stops, exclamation marks, or question marks
(#506) Inline comments must end in full-stops, exclamation marks, or question marks
(#509) Inline comments must end in full-stops, exclamation marks, or question marks
(#513) Inline comments must end in full-stops, exclamation marks, or question marks
(#525) Inline comments must end in full-stops, exclamation marks, or question marks
(#528) Inline comments must end in full-stops, exclamation marks, or question marks
(#530) Space found before object operator
(#531) Space found before object operator
(#543) Space found before object operator
(#544) Space found before object operator
(#578) Inline comments must end in full-stops, exclamation marks, or question marks
(#581) Inline comments must end in full-stops, exclamation marks, or question marks
(#585) Inline comments must end in full-stops, exclamation marks, or question marks
(#642) Inline comments must start with a capital letter, digit or 3-dots sequence
(#642) Inline comments must end in full-stops, exclamation marks, or question marks
(#647) Inline comments must start with a capital letter, digit or 3-dots sequence
(#647) Inline comments must end in full-stops, exclamation marks, or question marks
(#653) Inline comments must end in full-stops, exclamation marks, or question marks
(#658) Inline comments must start with a capital letter, digit or 3-dots sequence
(#660) Inline comments must start with a capital letter, digit or 3-dots sequence
(#660) Inline comments must end in full-stops, exclamation marks, or question marks
(#664) Inline comments must start with a capital letter, digit or 3-dots sequence
(#664) Inline comments must end in full-stops, exclamation marks, or question marks
course/format/flexpage/model/condition/completion.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.".
(#5) 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/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
course/format/flexpage/model/condition/field.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.".
(#5) 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/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#66) Visibility must be declared on method "__construct"
course/format/flexpage/model/condition/grade.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.".
(#5) 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/>.".
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#69) Space found before object operator
(#70) Space found before object operator
(#71) Space found before object operator
(#96) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
course/format/flexpage/model/page.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.".
(#5) 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/>.".
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#385) Line exceeds 132 characters; contains 171 characters
course/format/flexpage/renderer.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.".
(#5) 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/>.".
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) Inline doc block comments are not allowed; use "// Comment." instead
(#32) Inline doc block comments are not allowed; use "// Comment." instead
(#116) Line exceeds 132 characters; contains 143 characters
(#178) Inline doc block comments are not allowed; use "// Comment." instead
(#185) Line exceeds 132 characters; contains 159 characters
(#186) Expected 1 space before "=>"; 0 found
(#186) Expected 1 space after "=>"; 0 found
(#220) Inline comments must end in full-stops, exclamation marks, or question marks
(#227) Line exceeds 132 characters; contains 143 characters
(#239) Inline comments must end in full-stops, exclamation marks, or question marks
(#246) Line exceeds 132 characters; contains 149 characters
(#249) Inline comments must end in full-stops, exclamation marks, or question marks
(#299) Space found before object operator
(#316) Space found before object operator
(#375) Line exceeds 132 characters; contains 139 characters
(#381) Space found before object operator
(#401) Line exceeds 132 characters; contains 152 characters
(#403) Line exceeds 132 characters; contains 167 characters
(#453) Inline comments must end in full-stops, exclamation marks, or question marks
(#517) Line exceeds 132 characters; contains 142 characters
(#557) Space found before object operator
(#558) Space found before object operator
(#559) Space found before object operator
(#624) Line exceeds 132 characters; contains 169 characters
(#636) Space found before object operator
(#637) Space found before object operator
(#638) Space found before object operator
(#638) Line exceeds 132 characters; contains 137 characters
(#677) Space found before object operator
(#677) Line exceeds maximum limit of 180 characters; contains 181 characters
(#688) Line exceeds 132 characters; contains 168 characters
(#694) Space found before object operator
(#697) Space found before object operator
(#697) Line exceeds 132 characters; contains 146 characters
(#700) Space found before object operator
(#700) Line exceeds 132 characters; contains 158 characters
(#704) Space found before object operator
(#707) Space found before object operator
(#711) Space found before object operator
(#711) Line exceeds maximum limit of 180 characters; contains 229 characters
(#715) Space found before object operator
(#720) Space found before object operator
(#727) Space found before object operator
(#727) Line exceeds 132 characters; contains 134 characters
(#735) Line exceeds 132 characters; contains 135 characters
(#736) Space found before object operator
(#736) Line exceeds 132 characters; contains 174 characters
(#761) Inline comments must end in full-stops, exclamation marks, or question marks
(#783) Space found before object operator
(#808) Commas (,) must be followed by white space.
(#808) Commas (,) must be followed by white space.
(#809) Commas (,) must be followed by white space.
(#809) Commas (,) must be followed by white space.
(#813) Expected 1 space before "=>"; 0 found
(#814) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#822) Commas (,) must be followed by white space.
(#824) Commas (,) must be followed by white space.
(#883) Inline comments must end in full-stops, exclamation marks, or question marks
(#884) Variable "user_info_fields" must not contain underscores.
(#885) Variable "user_info_fields" must not contain underscores.
(#929) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#937) Expected 1 space before "="; 0 found
(#937) Expected 1 space after "="; 0 found
(#938) Commas (,) must be followed by white space.
(#939) Commas (,) must be followed by white space.
(#940) Commas (,) must be followed by white space.
(#941) Commas (,) must be followed by white space.
(#1006) Inline comments must end in full-stops, exclamation marks, or question marks
(#1007) Line exceeds 132 characters; contains 161 characters
course/format/flexpage/repository/cache.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.".
(#5) 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/>.".
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#53) Space found before object operator
(#54) Space found before object operator
(#55) Space found before object operator
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Line exceeds 132 characters; contains 133 characters
course/format/flexpage/repository/condition.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.".
(#5) 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/>.".
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) Inline doc block comments are not allowed; use "// Comment." instead
(#270) Space found before object operator
(#271) Space found before object operator
(#292) Expected 1 space before "=>"; 0 found
course/format/flexpage/repository/page.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.".
(#5) 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/>.".
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Inline doc block comments are not allowed; use "// Comment." instead
(#210) Inline comments must end in full-stops, exclamation marks, or question marks
(#212) Space found before object operator
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#225) Inline comments must end in full-stops, exclamation marks, or question marks
(#227) Space found before object operator
(#229) Inline comments must end in full-stops, exclamation marks, or question marks
(#240) Inline comments must end in full-stops, exclamation marks, or question marks
(#242) Space found before object operator
(#244) Inline comments must end in full-stops, exclamation marks, or question marks
(#273) Space found before object operator
(#291) Inline comments must end in full-stops, exclamation marks, or question marks
(#294) Inline comments must end in full-stops, exclamation marks, or question marks
(#297) Inline comments must end in full-stops, exclamation marks, or question marks
(#300) Inline comments must end in full-stops, exclamation marks, or question marks
(#304) Inline comments must end in full-stops, exclamation marks, or question marks
(#311) Inline comments must end in full-stops, exclamation marks, or question marks
(#315) Space found before object operator
(#317) Inline comments must end in full-stops, exclamation marks, or question marks
(#322) Inline comments must end in full-stops, exclamation marks, or question marks
course/format/flexpage/simpletest/testlibcache.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.".
(#5) 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/>.".
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#50) Inline doc block comments are not allowed; use "// Comment." instead
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#122) Commas (,) must be followed by white space.
(#122) Commas (,) must be followed by white space.
(#122) Commas (,) must be followed by white space.
(#122) Commas (,) must be followed by white space.
(#122) Commas (,) must be followed by white space.
(#122) Commas (,) must be followed by white space.
(#122) Commas (,) must be followed by white space.
(#122) Commas (,) must be followed by white space.
(#122) Commas (,) must be followed by white space.
course/format/flexpage/version.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.".
(#5) 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/>.".
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
course/format/flexpage/view.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.".
(#5) 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/>.".
(#33) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.

Javascript coding style problems

(20 errors, 159 warnings)

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

course/format/flexpage/javascript.js
(#26) Identifier 'format_flexpage' is not in camel case. (camelcase)
(#31) Identifier 'panel_stack' is not in camel case. (camelcase)
(#43) Identifier 'init_actionbar' is not in camel case. (camelcase)
(#78) 'e' is defined but never used (no-unused-vars)
(#83) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#88) Identifier 'init_edit' is not in camel case. (camelcase)
(#97) 'url' used outside of binding context. (block-scoped-var)
(#98) 'targetancestor' is not defined. (no-undef)
(#99) 'url' is already defined (no-redeclare)
(#99) 'url' used outside of binding context. (block-scoped-var)
(#99) 'targetancestor' is not defined. (no-undef)
(#101) 'url' used outside of binding context. (block-scoped-var)
(#101) 'url' used outside of binding context. (block-scoped-var)
(#116) There should be no space after '{' (object-curly-spacing)
(#116) Unexpected space before function parentheses. (space-before-function-paren)
(#116) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#116) Statement inside of curly braces should be on next line. (brace-style)
(#116) Missing space before value for key 'isDefault'. (key-spacing)
(#116) There should be no space before '}' (object-curly-spacing)
(#117) There should be no space after '{' (object-curly-spacing)
(#117) Unexpected space before function parentheses. (space-before-function-paren)
(#117) Statement inside of curly braces should be on next line. (brace-style)
(#117) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#117) 'url' used outside of binding context. (block-scoped-var)
(#117) 'url' used outside of binding context. (block-scoped-var)
(#117) Missing semicolon. (semi)
(#117) There should be no space before '}' (object-curly-spacing)
(#128) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#128) Missing JSDoc parameter type for 'url'. (valid-jsdoc)
(#128) Missing JSDoc @returns for function. (valid-jsdoc)
(#134) Identifier 'init_addpages' is not in camel case. (camelcase)
(#139) There should be no space after '{' (object-curly-spacing)
(#139) There should be no space before '}' (object-curly-spacing)
(#140) There should be no space after '{' (object-curly-spacing)
(#140) There should be no space before '}' (object-curly-spacing)
(#145) Unexpected space before function parentheses. (space-before-function-paren)
(#155) Missing JSDoc parameter type for 'url'. (valid-jsdoc)
(#155) Missing JSDoc @returns for function. (valid-jsdoc)
(#155) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#161) Identifier 'init_editpage' is not in camel case. (camelcase)
(#183) Unexpected space before function parentheses. (space-before-function-paren)
(#191) Unexpected space before function parentheses. (space-before-function-paren)
(#199) Unexpected space before function parentheses. (space-before-function-paren)
(#215) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#215) Missing JSDoc @returns for function. (valid-jsdoc)
(#215) Missing JSDoc parameter type for 'url'. (valid-jsdoc)
(#221) Identifier 'init_deletepage' is not in camel case. (camelcase)
(#226) There should be no space after '{' (object-curly-spacing)
(#226) There should be no space before '}' (object-curly-spacing)
(#227) There should be no space after '{' (object-curly-spacing)
(#227) There should be no space before '}' (object-curly-spacing)
(#235) Missing JSDoc @returns for function. (valid-jsdoc)
(#235) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#235) Missing JSDoc parameter type for 'url'. (valid-jsdoc)
(#241) Identifier 'init_managepages' is not in camel case. (camelcase)
(#248) 'e' is defined but never used (no-unused-vars)
(#258) Unexpected space before function parentheses. (space-before-function-paren)
(#268) Multiple spaces found before '='. (no-multi-spaces)
(#285) 'arguments' is defined but never used (no-unused-vars)
(#297) Missing JSDoc @returns for function. (valid-jsdoc)
(#297) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#297) Missing JSDoc parameter type for 'url'. (valid-jsdoc)
(#305) Identifier 'init_addactivity' is not in camel case. (camelcase)
(#338) Missing JSDoc @returns for function. (valid-jsdoc)
(#338) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#338) Missing JSDoc parameter type for 'url'. (valid-jsdoc)
(#344) Identifier 'init_addexistingactivity' is not in camel case. (camelcase)
(#351) There should be no space after '{' (object-curly-spacing)
(#351) There should be no space before '}' (object-curly-spacing)
(#352) There should be no space after '{' (object-curly-spacing)
(#366) Missing JSDoc parameter type for 'url'. (valid-jsdoc)
(#366) Missing JSDoc @returns for function. (valid-jsdoc)
(#366) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#372) Identifier 'init_addblock' is not in camel case. (camelcase)
(#398) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#398) Missing JSDoc @returns for function. (valid-jsdoc)
(#398) Missing JSDoc parameter type for 'url'. (valid-jsdoc)
(#404) Identifier 'init_movepage' is not in camel case. (camelcase)
(#409) There should be no space after '{' (object-curly-spacing)
(#409) There should be no space before '}' (object-curly-spacing)
(#410) There should be no space after '{' (object-curly-spacing)
(#410) There should be no space before '}' (object-curly-spacing)
(#416) There should be no space after '{' (object-curly-spacing)
(#416) There should be no space before '}' (object-curly-spacing)
(#425) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#425) Missing JSDoc parameter type for 'id'. (valid-jsdoc)
(#425) Missing JSDoc @returns for function. (valid-jsdoc)
(#431) Identifier 'init_default_panel' is not in camel case. (camelcase)
(#446) Missing JSDoc @returns for function. (valid-jsdoc)
(#446) Missing JSDoc parameter type for 'id'. (valid-jsdoc)
(#446) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#452) Identifier 'init_default_dialog' is not in camel case. (camelcase)
(#469) There should be no space after '{' (object-curly-spacing)
(#469) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#469) Statement inside of curly braces should be on next line. (brace-style)
(#469) Missing semicolon. (semi)
(#469) There should be no space before '}' (object-curly-spacing)
(#470) There should be no space after '{' (object-curly-spacing)
(#470) Statement inside of curly braces should be on next line. (brace-style)
(#470) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#470) Missing semicolon. (semi)
(#470) There should be no space before '}' (object-curly-spacing)
(#473) 'o' is defined but never used (no-unused-vars)
(#476) 'o' is defined but never used (no-unused-vars)
(#485) Missing JSDoc parameter type for 'url'. (valid-jsdoc)
(#485) Expected JSDoc for 'panel' but found 'url'. (valid-jsdoc)
(#485) Missing JSDoc for parameter 'onsuccess'. (valid-jsdoc)
(#485) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#491) Identifier 'populate_panel' is not in camel case. (camelcase)
(#525) 'o' is defined but never used (no-unused-vars)
(#532) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#532) Missing JSDoc parameter type for 'child'. (valid-jsdoc)
(#532) Missing JSDoc parameter type for 'reInit'. (valid-jsdoc)
(#532) Missing JSDoc parameter type for 'parent'. (valid-jsdoc)
(#540) Identifier 'connect_dialogs' is not in camel case. (camelcase)
(#549) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#549) Missing JSDoc parameter type for 'child'. (valid-jsdoc)
(#555) Identifier 'connect_dialogs_attach_events' is not in camel case. (camelcase)
(#557) 'e' is defined but never used (no-unused-vars)
(#562) 'o' is defined but never used (no-unused-vars)
(#567) 'o' is defined but never used (no-unused-vars)
(#568) 'e' is defined but never used (no-unused-vars)
(#574) 'e' is defined but never used (no-unused-vars)
(#579) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#579) Missing JSDoc parameter type for 'url'. (valid-jsdoc)
(#579) Missing JSDoc @returns for function. (valid-jsdoc)
(#579) Expected JSDoc for 'errorMessage' but found 'url'. (valid-jsdoc)
(#585) Identifier 'init_error_dialog' is not in camel case. (camelcase)
(#596) There should be no space after '{' (object-curly-spacing)
(#596) Unexpected space before function parentheses. (space-before-function-paren)
(#596) Statement inside of curly braces should be on next line. (brace-style)
(#596) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#596) Missing space before value for key 'isDefault'. (key-spacing)
(#596) There should be no space before '}' (object-curly-spacing)
(#607) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#607) Missing JSDoc parameter type for 'name'. (valid-jsdoc)
(#613) Identifier 'init_calendar' is not in camel case. (camelcase)
(#615) Multiple spaces found before '='. (no-multi-spaces)
(#616) Multiple spaces found before '='. (no-multi-spaces)
(#617) Multiple spaces found before '='. (no-multi-spaces)
(#621) Multiple spaces found before '='. (no-multi-spaces)
(#622) Multiple spaces found before '='. (no-multi-spaces)
(#629) 'obj' is defined but never used (no-unused-vars)
(#631) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#631) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#640) 'e' is defined but never used (no-unused-vars)
(#650) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#650) Missing JSDoc parameter type for 'url'. (valid-jsdoc)
(#650) Missing JSDoc @returns for function. (valid-jsdoc)
(#650) Expected JSDoc for 'buttons' but found 'url'. (valid-jsdoc)
(#656) Identifier 'init_region_buttons' is not in camel case. (camelcase)
(#667) Missing JSDoc parameter type for 'inputname'. (valid-jsdoc)
(#667) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#667) Missing JSDoc parameter type for 'buttonGroup'. (valid-jsdoc)
(#674) Identifier 'set_region_input' is not in camel case. (camelcase)
(#685) Missing JSDoc parameter type for 'select'. (valid-jsdoc)
(#685) Missing JSDoc @returns for function. (valid-jsdoc)
(#685) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#691) Identifier 'init_button_menu' is not in camel case. (camelcase)
(#692) Multiple spaces found before '='. (no-multi-spaces)
(#693) Multiple spaces found before '='. (no-multi-spaces)
(#706) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#706) Missing JSDoc parameter type for 'parentDialog'. (valid-jsdoc)
(#706) Missing JSDoc parameter type for 'selectNode'. (valid-jsdoc)
(#706) Missing JSDoc @returns for function. (valid-jsdoc)
(#706) Missing JSDoc parameter type for 'reInitParentDialog'. (valid-jsdoc)
(#714) Identifier 'init_action_menu' is not in camel case. (camelcase)
(#720) Multiple spaces found before '='. (no-multi-spaces)
(#722) Multiple spaces found before '='. (no-multi-spaces)
(#730) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#730) Missing JSDoc @returns for function. (valid-jsdoc)
(#735) Identifier 'init_actionbar_help_icon' is not in camel case. (camelcase)
(#751) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#756) Identifier 'init_help_icons' is not in camel case. (camelcase)
(#756) 'Y' is defined but never used (no-unused-vars)
(#760) Missing JSDoc parameter type for 'panel'. (valid-jsdoc)
(#760) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#767) Identifier 'constrain_panel_to_viewport' is not in camel case. (camelcase)
(#780) Line 780 exceeds the maximum line length of 132. (max-len)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(187 errors, 23 warnings)

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

course/format/flexpage/backup/moodle2/backup_format_flexpage_plugin.class.php
(#24) Class backup_format_flexpage_plugin does not have @copyright tag
(#24) Class backup_format_flexpage_plugin does not have @license tag
course/format/flexpage/backup/moodle2/restore_format_flexpage_plugin.class.php
(#47) Phpdocs for function restore_format_flexpage_plugin::process_flexpage_page has incomplete parameters list
(#64) Phpdocs for function restore_format_flexpage_plugin::process_flexpage_region has incomplete parameters list
(#76) Phpdocs for function restore_format_flexpage_plugin::process_flexpage_completion has incomplete parameters list
(#88) Phpdocs for function restore_format_flexpage_plugin::process_flexpage_grade has incomplete parameters list
(#100) Phpdocs for function restore_format_flexpage_plugin::process_flexpage_field has incomplete parameters list
(#135) Phpdocs for function restore_format_flexpage_plugin::process_flexpage_menu has incomplete parameters list
(#150) Phpdocs for function restore_format_flexpage_plugin::process_flexpage_link has incomplete parameters list
(#165) Phpdocs for function restore_format_flexpage_plugin::process_flexpage_config has incomplete parameters list
(#24) Class restore_format_flexpage_plugin does not have @copyright tag
(#24) Class restore_format_flexpage_plugin does not have @license tag
course/format/flexpage/controller/ajax.php
(#44) Class course_format_flexpage_controller_ajax does not have @copyright tag
(#44) Class course_format_flexpage_controller_ajax does not have @license tag
course/format/flexpage/db/install.php
(#594) Function xmldb_format_flexpage_install_migration::top_tabs is not documented
(#663) Function xmldb_format_flexpage_install_migration::cleanup is not documented
(#666) Found comment starting with three or more slashes
(#679) Found comment starting with three or more slashes
(#684) Found comment starting with three or more slashes
(#76) Class xmldb_format_flexpage_install_migration does not have @copyright tag
(#76) Class xmldb_format_flexpage_install_migration does not have @license tag
course/format/flexpage/db/upgrade.php
(#24) Phpdocs for function xmldb_format_flexpage_upgrade has incomplete parameters list
course/format/flexpage/lib.php
(#100) Function format_flexpage::supports_ajax is not documented
(#112) Function format_flexpage::get_view_url is not documented
(#116) Function format_flexpage::get_default_blocks is not documented
(#28) Class format_flexpage does not have @copyright tag
(#28) Class format_flexpage does not have @license tag
(#94) Invalid inline phpdocs tag @todo found
(#95) Invalid inline phpdocs tag @todo found
course/format/flexpage/lib/actionbar.php
(#46) There is no description in phpdocs for function get_menu
(#58) There is no description in phpdocs for function get_menus
(#65) There is no description in phpdocs for function add_menu
(#34) Class course_format_flexpage_lib_actionbar does not have @copyright tag
(#34) Class course_format_flexpage_lib_actionbar does not have @license tag
(#77) Not recommended phpdocs tag @static used
course/format/flexpage/lib/adminsettings.php
(#35) Function admin_setting_special_formatflexpageonfrontpage::__construct is not documented
(#39) Function admin_setting_special_formatflexpageonfrontpage::config_read is not documented
(#52) Function admin_setting_special_formatflexpageonfrontpage::config_write is not documented
(#24) No one-line description found in phpdocs for class admin_setting_special_formatflexpageonfrontpage
(#24) Class admin_setting_special_formatflexpageonfrontpage does not have @copyright tag
(#24) Class admin_setting_special_formatflexpageonfrontpage does not have @license tag
course/format/flexpage/lib/box.php
(#55) There is no description in phpdocs for function get_rows
(#62) There is no description in phpdocs for function add_row
(#71) There is no description in phpdocs for function add_new_row
(#34) Class course_format_flexpage_lib_box does not have @copyright tag
(#34) Class course_format_flexpage_lib_box does not have @license tag
course/format/flexpage/lib/box/abstract.php
(#38) There is no description in phpdocs for function __construct
(#53) There is no description in phpdocs for function get_attributes
(#24) Class course_format_flexpage_lib_box_abstract does not have @copyright tag
(#24) Class course_format_flexpage_lib_box_abstract does not have @license tag
(#48) Not recommended phpdocs tag @abstract used
course/format/flexpage/lib/box/cell.php
(#41) There is no description in phpdocs for function __construct
(#59) There is no description in phpdocs for function get_contents
(#66) There is no description in phpdocs for function set_contents
(#29) Class course_format_flexpage_lib_box_cell does not have @copyright tag
(#29) Class course_format_flexpage_lib_box_cell does not have @license tag
course/format/flexpage/lib/box/row.php
(#55) There is no description in phpdocs for function get_cells
(#62) There is no description in phpdocs for function add_cell
(#34) Class course_format_flexpage_lib_box_row does not have @copyright tag
(#34) Class course_format_flexpage_lib_box_row does not have @license tag
course/format/flexpage/lib/condition.php
(#26) No one-line description found in phpdocs for class course_format_flexpage_lib_condition
(#36) There is no description in phpdocs for function __construct
(#26) Class course_format_flexpage_lib_condition does not have @copyright tag
(#26) Class course_format_flexpage_lib_condition does not have @license tag
course/format/flexpage/lib/eventhandler.php
(#27) Class course_format_flexpage_lib_eventhandler does not have @copyright tag
(#27) Class course_format_flexpage_lib_eventhandler does not have @license tag
(#38) Not recommended phpdocs tag @static used
(#59) Not recommended phpdocs tag @static used
(#96) Not recommended phpdocs tag @static used
course/format/flexpage/lib/menu.php
(#46) There is no description in phpdocs for function __construct
(#53) There is no description in phpdocs for function get_id
(#69) There is no description in phpdocs for function get_action
(#81) There is no description in phpdocs for function get_actions
(#88) There is no description in phpdocs for function add_action
(#29) Class course_format_flexpage_lib_menu does not have @copyright tag
(#29) Class course_format_flexpage_lib_menu does not have @license tag
course/format/flexpage/lib/menu/action.php
(#60) There is no description in phpdocs for function __construct
(#74) There is no description in phpdocs for function get_action
(#81) There is no description in phpdocs for function get_name
(#88) There is no description in phpdocs for function get_url
(#95) There is no description in phpdocs for function get_visible
(#102) There is no description in phpdocs for function set_name
(#115) There is no description in phpdocs for function set_url
(#135) There is no description in phpdocs for function set_visible
(#26) Class course_format_flexpage_lib_menu_action does not have @copyright tag
(#26) Class course_format_flexpage_lib_menu_action does not have @license tag
course/format/flexpage/lib/mod.php
(#114) Phpdocs for function course_format_flexpage_lib_mod::sort_options has incomplete parameters list
(#24) Class course_format_flexpage_lib_mod does not have @copyright tag
(#24) Class course_format_flexpage_lib_mod does not have @license tag
(#34) Not recommended phpdocs tag @static used
(#81) Not recommended phpdocs tag @static used
(#113) Not recommended phpdocs tag @static used
course/format/flexpage/lib/moodlepage.php
(#104) There is no description in phpdocs for function get_region_json_options
(#293) There is no description in phpdocs for function delete_blocks
(#40) Phpdocs for function course_format_flexpage_lib_moodlepage::layout_exists has incomplete parameters list
(#61) Phpdocs for function course_format_flexpage_lib_moodlepage::get_layout has incomplete parameters list
(#24) Class course_format_flexpage_lib_moodlepage does not have @copyright tag
(#24) Class course_format_flexpage_lib_moodlepage does not have @license tag
(#39) Not recommended phpdocs tag @static used
(#59) Not recommended phpdocs tag @static used
(#80) Not recommended phpdocs tag @static used
(#123) Not recommended phpdocs tag @static used
(#134) Not recommended phpdocs tag @static used
(#164) Not recommended phpdocs tag @static used
(#182) Not recommended phpdocs tag @static used
(#200) Not recommended phpdocs tag @static used
(#251) Not recommended phpdocs tag @static used
(#294) Not recommended phpdocs tag @static used
(#315) Not recommended phpdocs tag @static used
(#339) Not recommended phpdocs tag @static used
course/format/flexpage/locallib.php
(#30) There is no description in phpdocs for function format_flexpage_cache
(#63) There is no description in phpdocs for function format_flexpage_clear_cache
(#160) Phpdocs for function format_flexpage_add_frontpage_block has incomplete parameters list
course/format/flexpage/model/abstract.php
(#38) There is no description in phpdocs for function get_id
(#45) There is no description in phpdocs for function set_id
(#24) Class course_format_flexpage_model_abstract does not have @copyright tag
(#24) Class course_format_flexpage_model_abstract does not have @license tag
course/format/flexpage/model/cache.php
(#115) Function course_format_flexpage_model_cache::__construct is not documented
(#121) There is no description in phpdocs for function get_courseid
(#128) There is no description in phpdocs for function set_courseid
(#137) There is no description in phpdocs for function get_buildcode
(#180) There is no description in phpdocs for function get_timemodified
(#187) There is no description in phpdocs for function set_timemodified
(#199) There is no description in phpdocs for function set_repository_page
(#208) There is no description in phpdocs for function set_repository_condition
(#217) There is no description in phpdocs for function get_page
(#230) There is no description in phpdocs for function get_pages
(#238) There is no description in phpdocs for function set_pages
(#239) Phpdocs for function course_format_flexpage_model_cache::set_pages has incomplete parameters list
(#44) Class course_format_flexpage_model_cache does not have @copyright tag
(#44) Class course_format_flexpage_model_cache does not have @license tag
(#49) Invalid inline phpdocs tag @see found
course/format/flexpage/model/condition/completion.php
(#51) There is no description in phpdocs for function __construct
(#60) There is no description in phpdocs for function get_cmid
(#67) There is no description in phpdocs for function get_requiredcompletion
(#24) Class course_format_flexpage_model_condition_completion does not have @copyright tag
(#24) Class course_format_flexpage_model_condition_completion does not have @license tag
course/format/flexpage/model/condition/field.php
(#66) Function course_format_flexpage_model_condition_field::__construct is not documented
(#78) There is no description in phpdocs for function get_field
(#85) There is no description in phpdocs for function get_fieldname
(#105) There is no description in phpdocs for function get_operator
(#112) There is no description in phpdocs for function get_value
(#24) Class course_format_flexpage_model_condition_field does not have @copyright tag
(#24) Class course_format_flexpage_model_condition_field does not have @license tag
course/format/flexpage/model/condition/grade.php
(#61) There is no description in phpdocs for function __construct
(#74) There is no description in phpdocs for function set_gradeitemid
(#83) There is no description in phpdocs for function get_gradeitemid
(#90) There is no description in phpdocs for function set_max
(#102) There is no description in phpdocs for function get_max
(#109) There is no description in phpdocs for function set_min
(#121) There is no description in phpdocs for function get_min
(#128) There is no description in phpdocs for function set_name
(#137) There is no description in phpdocs for function get_name
(#24) Class course_format_flexpage_model_condition_grade does not have @copyright tag
(#24) Class course_format_flexpage_model_condition_grade does not have @license tag
course/format/flexpage/model/page.php
(#164) Function course_format_flexpage_model_page::__construct is not documented
(#168) There is no description in phpdocs for function set_id
(#181) There is no description in phpdocs for function get_courseid
(#188) There is no description in phpdocs for function set_courseid
(#197) There is no description in phpdocs for function get_name
(#204) There is no description in phpdocs for function set_name
(#213) There is no description in phpdocs for function get_display
(#220) There is no description in phpdocs for function set_display
(#233) There is no description in phpdocs for function get_parentid
(#240) There is no description in phpdocs for function set_parentid
(#249) There is no description in phpdocs for function get_weight
(#256) There is no description in phpdocs for function set_weight
(#269) There is no description in phpdocs for function get_navigation
(#276) There is no description in phpdocs for function set_navigation
(#315) There is no description in phpdocs for function get_availablefrom
(#322) There is no description in phpdocs for function set_availablefrom
(#331) There is no description in phpdocs for function get_availableuntil
(#338) There is no description in phpdocs for function set_availableuntil
(#347) There is no description in phpdocs for function get_releasecode
(#354) There is no description in phpdocs for function set_releasecode
(#366) There is no description in phpdocs for function get_showavailability
(#393) There is no description in phpdocs for function get_region_widths
(#400) There is no description in phpdocs for function set_region_widths
(#241) Phpdocs for function course_format_flexpage_model_page::set_parentid has incomplete parameters list
(#29) Class course_format_flexpage_model_page does not have @copyright tag
(#29) Class course_format_flexpage_model_page does not have @license tag
(#431) Not recommended phpdocs tag @static used
(#445) Not recommended phpdocs tag @static used
(#460) Not recommended phpdocs tag @static used
course/format/flexpage/renderer.php
(#45) Function format_flexpage_renderer::__construct is not documented
(#977) There is no description in phpdocs for function navigation_link
(#995) There is no description in phpdocs for function navigation_button
(#791) Phpdocs for function format_flexpage_renderer::condition_grade has incomplete parameters list
(#834) Phpdocs for function format_flexpage_renderer::condition_field has incomplete parameters list
(#911) Phpdocs for function format_flexpage_renderer::condition_completion has incomplete parameters list
(#978) Phpdocs for function format_flexpage_renderer::navigation_link has incomplete parameters list
(#996) Phpdocs for function format_flexpage_renderer::navigation_button has incomplete parameters list
(#37) Class format_flexpage_renderer does not have @copyright tag
(#37) Class format_flexpage_renderer does not have @license tag
course/format/flexpage/repository/cache.php
(#110) There is no description in phpdocs for function cache_exists
(#120) There is no description in phpdocs for function delete_course_cache
(#29) Class course_format_flexpage_repository_cache does not have @copyright tag
(#29) Class course_format_flexpage_repository_cache does not have @license tag
course/format/flexpage/repository/condition.php
(#32) Class course_format_flexpage_repository_condition does not have @copyright tag
(#32) Class course_format_flexpage_repository_condition does not have @license tag
course/format/flexpage/repository/page.php
(#334) There is no description in phpdocs for function delete_course_pages
(#34) Class course_format_flexpage_repository_page does not have @copyright tag
(#34) Class course_format_flexpage_repository_page does not have @license tag
course/format/flexpage/simpletest/testlibcache.php
(#47) Function course_format_flexpage_lib_cache_test::setUp is not documented
(#110) Function course_format_flexpage_lib_cache_test::test_sort is not documented
(#125) Function course_format_flexpage_lib_cache_test::test_get_page_depth is not documented
(#140) Function course_format_flexpage_lib_cache_test::test_is_child_page is not documented
(#40) Variable course_format_flexpage_lib_cache_test::$includecoverage is not documented
(#32) Class course_format_flexpage_lib_cache_test does not have @copyright tag
(#32) Class course_format_flexpage_lib_cache_test does not have @license tag

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]