This repository was archived by the owner on Jan 31, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -125,10 +125,10 @@ public function crawled(
125125
126126 $ timestamp = date ('Y-m-d H:i:s ' );
127127
128- $ message = "{$ statusCode } {$ reason } - " . (string ) $ url ;
128+ $ message = "{$ statusCode } {$ reason } - " . (string ) $ url ;
129129
130130 if ($ this ->outputFile && $ colorTag === 'error ' ) {
131- file_put_contents ($ this ->outputFile , $ message . PHP_EOL , FILE_APPEND );
131+ file_put_contents ($ this ->outputFile , $ message. PHP_EOL , FILE_APPEND );
132132 }
133133
134134 $ this ->consoleOutput ->writeln ("< {$ colorTag }>[ {$ timestamp }] {$ message }</ {$ colorTag }> " );
@@ -151,14 +151,14 @@ public function crawlFailed(
151151
152152 $ timestamp = date ('Y-m-d H:i:s ' );
153153
154- $ message = "{$ statusCode }: {$ reason } - " . (string ) $ url ;
154+ $ message = "{$ statusCode }: {$ reason } - " . (string ) $ url ;
155155
156156 if ($ foundOnUrl ) {
157157 $ message .= " (found on {$ foundOnUrl }) " ;
158158 }
159159
160160 if ($ this ->outputFile ) {
161- file_put_contents ($ this ->outputFile , $ message . PHP_EOL , FILE_APPEND );
161+ file_put_contents ($ this ->outputFile , $ message. PHP_EOL , FILE_APPEND );
162162 }
163163
164164 $ this ->consoleOutput ->writeln ("< {$ colorTag }>[ {$ timestamp }] {$ message }</ {$ colorTag }> " );
You can’t perform that action at this time.
0 commit comments