spelling: does

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-20 23:09:18 -04:00
parent 52a25ce618
commit ab4689e1b6
4 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@ class SpoolPost {
// It is not named like a spool file, so we don't care.
if (substr($file, 0, 5) != "item-") {
Logger::info('Spool file does does not start with "item-"', ['file' => $file]);
Logger::info('Spool file does not start with "item-"', ['file' => $file]);
continue;
}

View File

@ -1,3 +1,3 @@
2021-05-24T15:23:58Z index [INFO]: No HTTP_SIGNATURE header [] - {"file":"HTTPSignature.php","line":476,"function":"getSigner","uid":"0a3934","process_id":14826}
2021-05-24T15:30:01Z worker [NOTICE]: Load: 0.01/20 - processes: 0/1/6 (0:0, 30:1) - maximum: 10/10 {"worker_id":"ece8fc8","worker_cmd":"Cron"} - {"file":"Worker.php","line":786,"function":"tooMuchWorkers","uid":"364d3c","process_id":20754}
2021-05-24T15:40:01Z worker [WARNING]: Spool file does does not start with "item-" {"file":".","worker_id":"560c8b6","worker_cmd":"SpoolPost"} - {"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}
2021-05-24T15:40:01Z worker [WARNING]: Spool file does not start with "item-" {"file":".","worker_id":"560c8b6","worker_cmd":"SpoolPost"} - {"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}

View File

@ -94,7 +94,7 @@ class ParsedLogIteratorTest extends TestCase
'date' => '2021-05-24T15:40:01Z',
'context' => 'worker',
'level' => 'WARNING',
'message' => 'Spool file does does not start with "item-"',
'message' => 'Spool file does not start with "item-"',
'data' => '{"file":".","worker_id":"560c8b6","worker_cmd":"SpoolPost"}',
'source' => '{"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}',
]

View File

@ -43,12 +43,12 @@ class ParsedLogLineTest extends TestCase
public function testGenericLogLine()
{
self::do_log_line(
'2021-05-24T15:40:01Z worker [WARNING]: Spool file does does not start with "item-" {"file":".","worker_id":"560c8b6","worker_cmd":"SpoolPost"} - {"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}',
'2021-05-24T15:40:01Z worker [WARNING]: Spool file does not start with "item-" {"file":".","worker_id":"560c8b6","worker_cmd":"SpoolPost"} - {"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}',
[
'date' => '2021-05-24T15:40:01Z',
'context' => 'worker',
'level' => 'WARNING',
'message' => 'Spool file does does not start with "item-"',
'message' => 'Spool file does not start with "item-"',
'data' => '{"file":".","worker_id":"560c8b6","worker_cmd":"SpoolPost"}',
'source' => '{"file":"SpoolPost.php","line":40,"function":"execute","uid":"fd8c37","process_id":20846}',
]