diff --git a/composer.json b/composer.json
index 50f6218a..d7954610 100755
--- a/composer.json
+++ b/composer.json
@@ -63,7 +63,7 @@
],
"require": {
"php": ">=7.4",
- "moodlehq/moodle-cs": "^3.3.2",
+ "moodlehq/moodle-cs": "^3.3.3",
"moodlehq/moodle-local_ci": "^1.0.17",
"moodlehq/moodle-local_moodlecheck": "^1.1.4",
"sebastian/phpcpd": "^6.0.3",
diff --git a/composer.lock b/composer.lock
index 0dd6741a..3da575a9 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "1d1e8dad82790d664b3086fb66633dc5",
+ "content-hash": "8ed5da7977e3d1a734c5375a2b425f5d",
"packages": [
{
"name": "composer/pcre",
@@ -282,16 +282,16 @@
},
{
"name": "moodlehq/moodle-cs",
- "version": "v3.3.2",
+ "version": "v3.3.3",
"source": {
"type": "git",
"url": "https://github.com/moodlehq/moodle-cs.git",
- "reference": "f1f5538278f815cdeddc7f2ea95686e1a727e4e1"
+ "reference": "1dbc536d792b6ef3b3470958e7f1831f511a4044"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/moodlehq/moodle-cs/zipball/f1f5538278f815cdeddc7f2ea95686e1a727e4e1",
- "reference": "f1f5538278f815cdeddc7f2ea95686e1a727e4e1",
+ "url": "https://api.github.com/repos/moodlehq/moodle-cs/zipball/1dbc536d792b6ef3b3470958e7f1831f511a4044",
+ "reference": "1dbc536d792b6ef3b3470958e7f1831f511a4044",
"shasum": ""
},
"require": {
@@ -337,7 +337,7 @@
"source": "https://github.com/moodlehq/moodle-cs",
"wiki": "https://github.com/moodlehq/moodle-cs/wiki"
},
- "time": "2023-02-13T08:03:29+00:00"
+ "time": "2023-03-14T07:54:37+00:00"
},
{
"name": "moodlehq/moodle-local_ci",
@@ -361,16 +361,16 @@
},
{
"name": "nikic/php-parser",
- "version": "v4.15.3",
+ "version": "v4.15.4",
"source": {
"type": "git",
"url": "https://github.com/nikic/PHP-Parser.git",
- "reference": "570e980a201d8ed0236b0a62ddf2c9cbb2034039"
+ "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/570e980a201d8ed0236b0a62ddf2c9cbb2034039",
- "reference": "570e980a201d8ed0236b0a62ddf2c9cbb2034039",
+ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/6bb5176bc4af8bcb7d926f88718db9b96a2d4290",
+ "reference": "6bb5176bc4af8bcb7d926f88718db9b96a2d4290",
"shasum": ""
},
"require": {
@@ -411,9 +411,9 @@
],
"support": {
"issues": "https://github.com/nikic/PHP-Parser/issues",
- "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.3"
+ "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.4"
},
- "time": "2023-01-16T22:05:37+00:00"
+ "time": "2023-03-05T19:49:14+00:00"
},
{
"name": "pdepend/pdepend",
@@ -703,7 +703,7 @@
"issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues",
"source": "https://github.com/PHPCompatibility/PHPCompatibility"
},
- "time": "2023-02-11T00:52:13+00:00"
+ "time": "2023-03-08T13:51:55+00:00"
},
{
"name": "phpcsstandards/phpcsutils",
@@ -2884,79 +2884,6 @@
],
"time": "2021-03-30T17:13:30+00:00"
},
- {
- "name": "composer/package-versions-deprecated",
- "version": "1.11.99.5",
- "source": {
- "type": "git",
- "url": "https://github.com/composer/package-versions-deprecated.git",
- "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d",
- "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.1.0 || ^2.0",
- "php": "^7 || ^8"
- },
- "replace": {
- "ocramius/package-versions": "1.11.99"
- },
- "require-dev": {
- "composer/composer": "^1.9.3 || ^2.0@dev",
- "ext-zip": "^1.13",
- "phpunit/phpunit": "^6.5 || ^7"
- },
- "type": "composer-plugin",
- "extra": {
- "class": "PackageVersions\\Installer",
- "branch-alias": {
- "dev-master": "1.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "PackageVersions\\": "src/PackageVersions"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Marco Pivetta",
- "email": "ocramius@gmail.com"
- },
- {
- "name": "Jordi Boggiano",
- "email": "j.boggiano@seld.be"
- }
- ],
- "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)",
- "support": {
- "issues": "https://github.com/composer/package-versions-deprecated/issues",
- "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.5"
- },
- "funding": [
- {
- "url": "https://packagist.com",
- "type": "custom"
- },
- {
- "url": "https://github.com/composer",
- "type": "github"
- },
- {
- "url": "https://tidelift.com/funding/github/packagist/composer/composer",
- "type": "tidelift"
- }
- ],
- "time": "2022-01-17T14:14:24+00:00"
- },
{
"name": "composer/semver",
"version": "3.3.2",
@@ -3506,16 +3433,16 @@
},
{
"name": "friendsofphp/php-cs-fixer",
- "version": "v3.14.4",
+ "version": "v3.15.1",
"source": {
"type": "git",
"url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",
- "reference": "1b3d9dba63d93b8a202c31e824748218781eae6b"
+ "reference": "d48755372a113bddb99f749e34805d83f3acfe04"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/1b3d9dba63d93b8a202c31e824748218781eae6b",
- "reference": "1b3d9dba63d93b8a202c31e824748218781eae6b",
+ "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/d48755372a113bddb99f749e34805d83f3acfe04",
+ "reference": "d48755372a113bddb99f749e34805d83f3acfe04",
"shasum": ""
},
"require": {
@@ -3582,9 +3509,15 @@
}
],
"description": "A tool to automatically fix PHP code style",
+ "keywords": [
+ "Static code analysis",
+ "fixer",
+ "standards",
+ "static analysis"
+ ],
"support": {
"issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",
- "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.14.4"
+ "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.15.1"
},
"funding": [
{
@@ -3592,7 +3525,7 @@
"type": "github"
}
],
- "time": "2023-02-09T21:49:13+00:00"
+ "time": "2023-03-13T23:26:30+00:00"
},
{
"name": "hamcrest/hamcrest-php",
@@ -3719,16 +3652,16 @@
},
{
"name": "myclabs/deep-copy",
- "version": "1.11.0",
+ "version": "1.11.1",
"source": {
"type": "git",
"url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614"
+ "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614",
- "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c",
+ "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c",
"shasum": ""
},
"require": {
@@ -3766,7 +3699,7 @@
],
"support": {
"issues": "https://github.com/myclabs/DeepCopy/issues",
- "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0"
+ "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1"
},
"funding": [
{
@@ -3774,7 +3707,7 @@
"type": "tidelift"
}
],
- "time": "2022-03-03T13:19:32+00:00"
+ "time": "2023-03-08T13:26:56+00:00"
},
{
"name": "netresearch/jsonmapper",
@@ -4105,16 +4038,16 @@
},
{
"name": "phpunit/php-code-coverage",
- "version": "9.2.25",
+ "version": "9.2.26",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git",
- "reference": "0e2b40518197a8c0d4b08bc34dfff1c99c508954"
+ "reference": "443bc6912c9bd5b409254a40f4b0f4ced7c80ea1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/0e2b40518197a8c0d4b08bc34dfff1c99c508954",
- "reference": "0e2b40518197a8c0d4b08bc34dfff1c99c508954",
+ "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/443bc6912c9bd5b409254a40f4b0f4ced7c80ea1",
+ "reference": "443bc6912c9bd5b409254a40f4b0f4ced7c80ea1",
"shasum": ""
},
"require": {
@@ -4136,8 +4069,8 @@
"phpunit/phpunit": "^9.3"
},
"suggest": {
- "ext-pcov": "*",
- "ext-xdebug": "*"
+ "ext-pcov": "PHP extension that provides line coverage",
+ "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage"
},
"type": "library",
"extra": {
@@ -4170,7 +4103,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/php-code-coverage/issues",
- "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.25"
+ "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.26"
},
"funding": [
{
@@ -4178,7 +4111,7 @@
"type": "github"
}
],
- "time": "2023-02-25T05:32:00+00:00"
+ "time": "2023-03-06T12:58:08+00:00"
},
{
"name": "phpunit/php-invoker",
@@ -4304,16 +4237,16 @@
},
{
"name": "phpunit/phpunit",
- "version": "9.6.4",
+ "version": "9.6.5",
"source": {
"type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git",
- "reference": "9125ee085b6d95e78277dc07aa1f46f9e0607b8d"
+ "reference": "86e761949019ae83f49240b2f2123fb5ab3b2fc5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/9125ee085b6d95e78277dc07aa1f46f9e0607b8d",
- "reference": "9125ee085b6d95e78277dc07aa1f46f9e0607b8d",
+ "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/86e761949019ae83f49240b2f2123fb5ab3b2fc5",
+ "reference": "86e761949019ae83f49240b2f2123fb5ab3b2fc5",
"shasum": ""
},
"require": {
@@ -4346,8 +4279,8 @@
"sebastian/version": "^3.0.2"
},
"suggest": {
- "ext-soap": "*",
- "ext-xdebug": "*"
+ "ext-soap": "To be able to generate mocks based on WSDL files",
+ "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage"
},
"bin": [
"phpunit"
@@ -4386,7 +4319,7 @@
],
"support": {
"issues": "https://github.com/sebastianbergmann/phpunit/issues",
- "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.4"
+ "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.5"
},
"funding": [
{
@@ -4402,7 +4335,7 @@
"type": "tidelift"
}
],
- "time": "2023-02-27T13:06:37+00:00"
+ "time": "2023-03-09T06:34:10+00:00"
},
{
"name": "psr/cache",
@@ -5769,22 +5702,22 @@
},
{
"name": "vimeo/psalm",
- "version": "5.7.7",
+ "version": "5.8.0",
"source": {
"type": "git",
"url": "https://github.com/vimeo/psalm.git",
- "reference": "e028ba46ba0d7f9a78bc3201c251e137383e145f"
+ "reference": "9cf4f60a333f779ad3bc704a555920e81d4fdcda"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/vimeo/psalm/zipball/e028ba46ba0d7f9a78bc3201c251e137383e145f",
- "reference": "e028ba46ba0d7f9a78bc3201c251e137383e145f",
+ "url": "https://api.github.com/repos/vimeo/psalm/zipball/9cf4f60a333f779ad3bc704a555920e81d4fdcda",
+ "reference": "9cf4f60a333f779ad3bc704a555920e81d4fdcda",
"shasum": ""
},
"require": {
"amphp/amp": "^2.4.2",
"amphp/byte-stream": "^1.5",
- "composer/package-versions-deprecated": "^1.10.0",
+ "composer-runtime-api": "^2",
"composer/semver": "^1.4 || ^2.0 || ^3.0",
"composer/xdebug-handler": "^2.0 || ^3.0",
"dnoegel/php-xdg-base-dir": "^0.1.1",
@@ -5799,7 +5732,7 @@
"felixfbecker/language-server-protocol": "^1.5.2",
"fidry/cpu-core-counter": "^0.4.1 || ^0.5.1",
"netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0",
- "nikic/php-parser": "^4.13",
+ "nikic/php-parser": "^4.14",
"php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0",
"sebastian/diff": "^4.0 || ^5.0",
"spatie/array-to-xml": "^2.17.0 || ^3.0",
@@ -5868,9 +5801,9 @@
],
"support": {
"issues": "https://github.com/vimeo/psalm/issues",
- "source": "https://github.com/vimeo/psalm/tree/5.7.7"
+ "source": "https://github.com/vimeo/psalm/tree/5.8.0"
},
- "time": "2023-02-25T01:05:07+00:00"
+ "time": "2023-03-09T04:14:35+00:00"
},
{
"name": "webmozart/assert",
diff --git a/tests/Fixture/moodle-local_ci/amd/build/keys.min.js.map b/tests/Fixture/moodle-local_ci/amd/build/keys.min.js.map
index 3eee452b..d2181cd8 100644
--- a/tests/Fixture/moodle-local_ci/amd/build/keys.min.js.map
+++ b/tests/Fixture/moodle-local_ci/amd/build/keys.min.js.map
@@ -1 +1 @@
-{"version":3,"file":"keys.min.js","sources":["../src/keys.js"],"sourcesContent":["// This file is part of Moodle - http://moodle.org/\n//\n// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with Moodle. If not, see .\n\n/**\n * This is copied from mod/lti.\n *\n * @module local_ci/keys\n * @class keys\n * @copyright 2015 Ryan Wyllie \n * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n * @since 3.1\n */\ndefine([], function ()\n{\n return /** @alias module:local_ci/keys */ {\n ENTER: 13,\n SPACE: 32\n };\n});\n"],"names":["define","ENTER","SPACE"],"mappings":";;;;;;;;;AAwBAA,OAAM,gBAAC,IAAI,WAEP,MAA0C,CACtCC,MAAO,GACPC,MAAO,GAEf"}
\ No newline at end of file
+{"version":3,"file":"keys.min.js","sources":["../src/keys.js"],"sourcesContent":["// This file is part of Moodle - http://moodle.org/\n//\n// Moodle is free software: you can redistribute it and/or modify\n// it under the terms of the GNU General Public License as published by\n// the Free Software Foundation, either version 3 of the License, or\n// (at your option) any later version.\n//\n// Moodle is distributed in the hope that it will be useful,\n// but WITHOUT ANY WARRANTY; without even the implied warranty of\n// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n// GNU General Public License for more details.\n//\n// You should have received a copy of the GNU General Public License\n// along with Moodle. If not, see .\n\n/**\n * This is copied from mod/lti.\n *\n * @module local_ci/keys\n * @class keys\n * @copyright 2015 Ryan Wyllie \n * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later\n * @since 3.1\n */\ndefine([], function ()\n{\n return /** @alias module:local_ci/keys */ {\n ENTER: 13,\n SPACE: 32\n };\n});\n"],"names":["define","ENTER","SPACE"],"mappings":";;;;;;;;;AAwBAA,uBAAO,IAAI,iBAEmC,CACtCC,MAAO,GACPC,MAAO"}
\ No newline at end of file
diff --git a/tests/Fixture/moodle-local_ci/db/access.php b/tests/Fixture/moodle-local_ci/db/access.php
index 09eff0c4..5ca6fccf 100644
--- a/tests/Fixture/moodle-local_ci/db/access.php
+++ b/tests/Fixture/moodle-local_ci/db/access.php
@@ -26,12 +26,12 @@
$capabilities = [
'local/travis:view' => [
- 'captype' => 'read',
+ 'captype' => 'read',
'contextlevel' => CONTEXT_SYSTEM,
- 'archetypes' => [
- 'teacher' => CAP_ALLOW,
+ 'archetypes' => [
+ 'teacher' => CAP_ALLOW,
'editingteacher' => CAP_ALLOW,
- 'manager' => CAP_ALLOW,
+ 'manager' => CAP_ALLOW,
],
],
];
diff --git a/tests/Fixture/moodle-local_ci/version.php b/tests/Fixture/moodle-local_ci/version.php
index 8882d942..a96328a1 100644
--- a/tests/Fixture/moodle-local_ci/version.php
+++ b/tests/Fixture/moodle-local_ci/version.php
@@ -25,8 +25,8 @@
defined('MOODLE_INTERNAL') || die();
/** @var object $plugin */
-$plugin->version = 2015071000;
-$plugin->requires = 2014051200; // Moodle 2.7.
-$plugin->component = 'local_ci';
+$plugin->version = 2015071000;
+$plugin->requires = 2014051200; // Moodle 2.7.
+$plugin->component = 'local_ci';
$plugin->dependencies = ['mod_forum' => ANY_VERSION];
-$plugin->maturity = MATURITY_STABLE;
+$plugin->maturity = MATURITY_STABLE;