Skip to content

Commit 7bfd934

Browse files
authored
Merge pull request #149 from stronk7/bump_codechecker_305
Bump to codechecker v3.0.5
2 parents 726ebfa + 3abe72f commit 7bfd934

File tree

6 files changed

+94
-27
lines changed

6 files changed

+94
-27
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@
4040
"type": "package",
4141
"package": {
4242
"name": "moodlehq/moodle-local_codechecker",
43-
"version": "3.0.4",
43+
"version": "3.0.5",
4444
"source": {
4545
"url": "https://github.com/moodlehq/moodle-local_codechecker.git",
4646
"type": "git",
47-
"reference": "v3.0.4"
47+
"reference": "v3.0.5"
4848
}
4949
}
5050
},
@@ -75,7 +75,7 @@
7575
],
7676
"require": {
7777
"php": ">=7.0.8",
78-
"moodlehq/moodle-local_codechecker": "^3.0.4",
78+
"moodlehq/moodle-local_codechecker": "^3.0.5",
7979
"moodlehq/moodle-local_ci": "^1.0.12",
8080
"moodlehq/moodle-local_moodlecheck": "^1.0.9",
8181
"sebastian/phpcpd": "^3.0",

composer.lock

Lines changed: 90 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/Fixture/moodle-local_ci/classes/math.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@
2424

2525
namespace local_ci;
2626

27-
defined('MOODLE_INTERNAL') || die();
28-
2927
/**
3028
* Math class.
3129
*

tests/Fixture/moodle-local_ci/db/upgrade.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

25-
defined('MOODLE_INTERNAL') || die();
26-
2725
/**
2826
* Execute local_ci upgrade from the given old version.
2927
*

tests/Fixture/moodle-local_ci/lib.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
2323
*/
2424

25-
defined('MOODLE_INTERNAL') || die();
26-
2725
/**
2826
* Add
2927
*

tests/Process/ExecuteTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function testMustRunAllFail()
130130
/** @var Process[] $processes */
131131
$processes = [
132132
new Process('php -r "echo 42;"'),
133-
new Process('php -r "syntax error"'),
133+
new Process('php -r "syntax wrong_code_error_ignore_me"'), // This may appear in logs, ignore it!
134134
new Process('php -r "echo 42;"'),
135135
];
136136

0 commit comments

Comments
 (0)