Skip to content

Commit a0c953f

Browse files
committed
fix: programmatically use infinity loop
Ref: #34
1 parent f17ae16 commit a0c953f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Scanner.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,10 @@ public function __construct()
319319
self::$pathDeobfuscate = Path::get(self::$root . self::$pathDeobfuscate);
320320

321321
if (!self::isCli()) {
322-
self::setSilentMode();
322+
self::$settings['silent'] = true;
323+
self::$settings['report'] = false;
324+
self::$settings['report-mode'] = false;
325+
self::$prompt = 'skip';
323326
}
324327

325328
self::$inited = true;

0 commit comments

Comments
 (0)