File tree Expand file tree Collapse file tree 5 files changed +15
-15
lines changed Expand file tree Collapse file tree 5 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -149,11 +149,6 @@ jobs:
149149 if : ${{ !cancelled() }}
150150 run : moodle-plugin-ci phplint
151151
152- - name : PHP Copy/Paste Detector
153- continue-on-error : true # This step will show errors but will not fail
154- if : ${{ !cancelled() }}
155- run : moodle-plugin-ci phpcpd
156-
157152 - name : PHP Mess Detector
158153 continue-on-error : true # This step will show errors but will not fail
159154 if : ${{ !cancelled() }}
@@ -163,15 +158,6 @@ jobs:
163158 if : ${{ !cancelled() }}
164159 run : moodle-plugin-ci codechecker --max-warnings 0
165160
166- - name : Moodle PHPDoc Checker
167- if : ${{ false }}
168- run : |
169- if [ ${{ matrix.plugin-ci }} == "^3" ]; then
170- moodle-plugin-ci phpdoc
171- else
172- moodle-plugin-ci phpdoc --max-warnings 0
173- fi
174-
175161 - name : Validating
176162 if : ${{ !cancelled() }}
177163 run : moodle-plugin-ci validate
Original file line number Diff line number Diff line change 2222 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323 */
2424
25+ // phpcs:disable moodle.Commenting.VariableComment.Missing
26+ // phpcs:disable moodle.Commenting.MissingDocblock.Missing
27+ // phpcs:disable moodle.Commenting.VariableComment.TagNotAllowed
28+
2529defined ('MOODLE_INTERNAL ' ) || die;
2630
2731/**
Original file line number Diff line number Diff line change 2222 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323 */
2424
25+ // phpcs:disable moodle.Files.LangFilesOrdering
26+
2527$ string ['pluginname ' ] = 'Moodle PHPdoc check ' ;
2628$ string ['path ' ] = 'Path(s) ' ;
2729$ string ['ignorepath ' ] = 'Subpaths to ignore ' ;
Original file line number Diff line number Diff line change 2222 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323 */
2424
25+ // phpcs:disable moodle.Commenting.VariableComment.Missing
26+ // phpcs:disable moodle.Commenting.MissingDocblock.Missing
27+
2528defined ('MOODLE_INTERNAL ' ) || die;
2629require_once ($ CFG ->libdir . '/formslib.php ' );
27- require_once ($ CFG ->dirroot . '/local/moodlecheck/file.php ' );
30+ require_once ($ CFG ->dirroot . '/local/moodlecheck/file.php ' );
2831
2932/**
3033 * Handles one rule
Original file line number Diff line number Diff line change @@ -46,6 +46,11 @@ public function test_local_moodlecheck_normalise_function_type(string $inputtype
4646 );
4747 }
4848
49+ /**
50+ * Data provider for test_local_moodlecheck_normalise_function_type.
51+ *
52+ * @return array
53+ */
4954 public static function local_moodlecheck_normalise_function_type_provider (): array {
5055 return [
5156 'Simple case ' => [
You can’t perform that action at this time.
0 commit comments