Skip to content

Commit 6ad07bc

Browse files
bwalkerlbrendanheywood
authored andcommitted
Add more types of error logs to warnings test page
1 parent 47b3e75 commit 6ad07bc

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

errors.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
<h3>PHP level errors and setup</h3>
5555
<p>These are errors are awkward to theme because they can appear in the middle of a themed page</p>
56-
<li>A 200 page which emits a notice and a warning
56+
<li>A 200 page which emits a notice, a warning and multiple error_log calls
5757
<a href='errors/phpwarnings.php'>phpwarnings.php</a></li>
5858
<li>A 200 unthemed moodle script which 'Fatal errors' times out after 1 second
5959
<a href='errors/moodletimeout.php'>moodletimeout.php</a></li>

errors/phpwarnings.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,7 @@
3838

3939
// @codingStandardsIgnoreStart
4040
error_log("This is an error_log");
41+
error_log("This is another error_log");
42+
error_log("This is an error_log\n with multiple lines");
4143
// @codingStandardsIgnoreEnd
4244
file_put_contents("php://stderr", "This writing to php://stderr");

version.php

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

2525
defined('MOODLE_INTERNAL') || die();
2626

27-
$plugin->version = 2024111802;
28-
$plugin->release = 2024111802; // Match release exactly to version.
27+
$plugin->version = 2024111803;
28+
$plugin->release = 2024111803; // Match release exactly to version.
2929
$plugin->requires = 2020061500; // Support for 3.9 and above, due to the Check API.
3030
$plugin->supported = [39, 405];
3131
$plugin->component = 'tool_heartbeat';

0 commit comments

Comments
 (0)