]> git.mxchange.org Git - friendica.git/commitdiff
spelling: does
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Tue, 21 Mar 2023 03:09:18 +0000 (23:09 -0400)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 26 Mar 2023 20:03:23 +0000 (16:03 -0400)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
src/Worker/SpoolPost.php
tests/datasets/log/friendica.log.txt
tests/src/Model/Log/ParsedLogIteratorTest.php
tests/src/Object/Log/ParsedLogLineTest.php

index c2712519ca8e214ef811bb8ddeab874ecffd3f63..5dc021fa0bad5d9396a16ee16533a6563107f001 100644 (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;
                                        }
 
index ed695bd8e3358528711a48f613ff434bd5f2bd0c..b633801aab7fa0c0b9c8bb3943f790f9c4b1aa67 100644 (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}
index d709cf916f08c452843766b634ffab87dadd3b89..eb650a9dc03826f5cbe6abf8f86c3a5286d37473 100644 (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}',
                        ]
index d4a903ce83a4c97f9703def294f9cf919602a786..1bebd34bd115878481b5d8c3b099e40444edca17 100644 (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}',
                        ]