From 4948e6710b986652a9adfd5ef29ed586bea236d0 Mon Sep 17 00:00:00 2001 From: Daniel Thee Roperto Date: Fri, 19 May 2017 09:21:46 +1000 Subject: [PATCH 1/2] Added validate to Travis. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 3a1975d..ef8a198 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,6 +32,7 @@ install: - moodle-plugin-ci install -vvv script: + - moodle-plugin-ci validate - moodle-plugin-ci phplint - moodle-plugin-ci phpcpd - moodle-plugin-ci phpmd From 95cec8397079f776857fe71fb54d05cfe8fab004 Mon Sep 17 00:00:00 2001 From: Daniel Thee Roperto Date: Fri, 19 May 2017 09:41:57 +1000 Subject: [PATCH 2/2] Fixed code style. --- tests/phpunit/lib_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/lib_test.php b/tests/phpunit/lib_test.php index f72fb56..cbc5a29 100644 --- a/tests/phpunit/lib_test.php +++ b/tests/phpunit/lib_test.php @@ -68,7 +68,7 @@ class lib_test extends auth_outage_base_testcase { $realfile = $realdir.'/example.txt'; file_put_contents($realfile, 'Outage Unit Test Message'); - // Create a symlink + // Create a symlink. $symdir = $CFG->dataroot.'/auth_outage/climaintenance'; if (!symlink($realdir, $symdir)) { unlink($realfile);