plagiarismsearch /
assignsubmission_edulegit
| 1 | <?php |
||
| 2 | // This file is part of Moodle - http://moodle.org/ |
||
| 3 | // |
||
| 4 | // Moodle is free software: you can redistribute it and/or modify |
||
| 5 | // it under the terms of the GNU General Public License as published by |
||
| 6 | // the Free Software Foundation, either version 3 of the License, or |
||
| 7 | // (at your option) any later version. |
||
| 8 | // |
||
| 9 | // Moodle is distributed in the hope that it will be useful, |
||
| 10 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
| 11 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
| 12 | // GNU General Public License for more details. |
||
| 13 | // |
||
| 14 | // You should have received a copy of the GNU General Public License |
||
| 15 | // along with Moodle. If not, see <http://www.gnu.org/licenses/>. |
||
| 16 | |||
| 17 | /** |
||
| 18 | * This file defines the admin settings for this plugin. |
||
| 19 | * |
||
| 20 | * @package assignsubmission_edulegit |
||
| 21 | * @author Alex Crosby <[email protected]> |
||
| 22 | * @copyright @2024 EduLegit.com |
||
| 23 | * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
||
| 24 | */ |
||
| 25 | |||
| 26 | defined('MOODLE_INTERNAL') || die; |
||
| 27 | |||
| 28 | $settings->add(new admin_setting_configcheckbox('assignsubmission_edulegit/default', |
||
|
0 ignored issues
–
show
|
|||
| 29 | new lang_string('default', 'assignsubmission_edulegit'), |
||
|
0 ignored issues
–
show
The type
lang_string was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 30 | new lang_string('default_help', 'assignsubmission_edulegit'), 0)); |
||
| 31 | |||
| 32 | $settings->add(new admin_setting_configtext('assignsubmission_edulegit/api_token', |
||
|
0 ignored issues
–
show
The type
admin_setting_configtext was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 33 | new lang_string('api_token', 'assignsubmission_edulegit'), |
||
| 34 | new lang_string('api_token_help', 'assignsubmission_edulegit'), |
||
| 35 | '', |
||
| 36 | PARAM_RAW, 30)); |
||
|
0 ignored issues
–
show
|
|||
| 37 | |||
| 38 | $settings->add(new admin_setting_configcheckbox('assignsubmission_edulegit/enable_attention', |
||
| 39 | new lang_string('enable_attention', 'assignsubmission_edulegit'), |
||
| 40 | new lang_string('enable_attention_help', 'assignsubmission_edulegit'), 0)); |
||
| 41 | |||
| 42 | $settings->add(new admin_setting_configcheckbox('assignsubmission_edulegit/enable_camera', |
||
| 43 | new lang_string('enable_camera', 'assignsubmission_edulegit'), |
||
| 44 | new lang_string('enable_camera_help', 'assignsubmission_edulegit'), 0)); |
||
| 45 | |||
| 46 | $settings->add(new admin_setting_configcheckbox('assignsubmission_edulegit/enable_screen', |
||
| 47 | new lang_string('enable_screen', 'assignsubmission_edulegit'), |
||
| 48 | new lang_string('enable_screen_help', 'assignsubmission_edulegit'), 0)); |
||
| 49 | |||
| 50 | $settings->add(new admin_setting_configcheckbox('assignsubmission_edulegit/enable_plagiarism', |
||
| 51 | new lang_string('enable_plagiarism', 'assignsubmission_edulegit'), |
||
| 52 | new lang_string('enable_plagiarism_help', 'assignsubmission_edulegit'), 0)); |
||
| 53 | |||
| 54 | $settings->add(new admin_setting_configcheckbox('assignsubmission_edulegit/enable_ai', |
||
| 55 | new lang_string('enable_ai', 'assignsubmission_edulegit'), |
||
| 56 | new lang_string('enable_ai_help', 'assignsubmission_edulegit'), 0)); |
||
| 57 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths