diff --git a/classes/privacy/provider.php b/classes/privacy/provider.php index 51fe0a5..f5d0850 100644 --- a/classes/privacy/provider.php +++ b/classes/privacy/provider.php @@ -21,6 +21,7 @@ * @copyright 2019 Université de Montréal * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ + namespace tool_cohortsync\privacy; /** diff --git a/db/access.php b/db/access.php index a625fca..1de9d26 100644 --- a/db/access.php +++ b/db/access.php @@ -22,4 +22,3 @@ * @author Issam Taboubi * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ - diff --git a/tests/cohortmembersync_test.php b/tests/cohortmembersync_test.php index 423938d..55f58c8 100644 --- a/tests/cohortmembersync_test.php +++ b/tests/cohortmembersync_test.php @@ -22,8 +22,11 @@ * @author Issam Taboubi * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ + namespace tool_cohortsync; +use tool_cohortsync\cohortmembersync; + defined('MOODLE_INTERNAL') || die(); global $CFG; @@ -37,37 +40,38 @@ * @copyright 2016 Université de Montréal * @author Issam Taboubi * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @covers \tool_cohortsync\cohortmembersync */ class cohortmembersync_test extends \advanced_testcase { - /** @var progress_trace trace */ + /** @var \progress_trace trace */ protected $trace = null; - /** @var coursecat created */ + /** @var \coursecat created */ protected $cat1 = null; - /** @var coursecat created */ + /** @var \coursecat created */ protected $cat2 = null; - /** @var context of category 1 */ + /** @var \context of category 1 */ protected $contextcat1 = null; - /** @var context of category 2 */ + /** @var \context of category 2 */ protected $contextcat2 = null; - /** @var cohort created */ + /** @var \cohort created */ protected $cohort1 = null; - /** @var cohort created */ + /** @var \cohort created */ protected $cohort2 = null; - /** @var user created */ + /** @var \user created */ protected $user1 = null; - /** @var user created */ + /** @var \user created */ protected $user2 = null; - /** @var user created */ + /** @var \user created */ protected $user3 = null; /** diff --git a/tests/cohortsync_test.php b/tests/cohortsync_test.php index 5c2abe5..edd1b71 100644 --- a/tests/cohortsync_test.php +++ b/tests/cohortsync_test.php @@ -22,8 +22,11 @@ * @author Issam Taboubi * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ + namespace tool_cohortsync; +use tool_cohortsync\cohortsync; + defined('MOODLE_INTERNAL') || die(); global $CFG; @@ -37,10 +40,11 @@ * @copyright 2016 Université de Montréal * @author Issam Taboubi * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @covers \tool_cohortsync\cohortsync */ class cohortsync_test extends \advanced_testcase { - /** @var progress_trace trace */ + /** @var \progress_trace trace */ protected $trace = null; /** @var array common columns in header */