@@ -192,7 +192,7 @@ public static function castTraceStub(TraceStub $trace, array $a, Stub $stub, boo
192192 } else {
193193 $ label = substr_replace ($ prefix , "title=Stack level $ j. " , 2 , 0 ).$ lastCall ;
194194 }
195- $ a [substr_replace ($ label , sprintf ('separator=%s& ' , $ frame instanceof EnumStub ? ' ' : ': ' ), 2 , 0 )] = $ frame ;
195+ $ a [substr_replace ($ label , \ sprintf ('separator=%s& ' , $ frame instanceof EnumStub ? ' ' : ': ' ), 2 , 0 )] = $ frame ;
196196
197197 $ lastCall = $ call ;
198198 }
@@ -240,7 +240,7 @@ public static function castFrameStub(FrameStub $frame, array $a, Stub $stub, boo
240240 if (isset ($ f ['object ' ])) {
241241 $ template = $ f ['object ' ];
242242 } elseif ((new \ReflectionClass ($ f ['class ' ]))->isInstantiable ()) {
243- $ template = unserialize (sprintf ('O:%d:"%s":0:{} ' , \strlen ($ f ['class ' ]), $ f ['class ' ]));
243+ $ template = unserialize (\ sprintf ('O:%d:"%s":0:{} ' , \strlen ($ f ['class ' ]), $ f ['class ' ]));
244244 }
245245 if (null !== $ template ) {
246246 $ ellipsis = 0 ;
@@ -264,7 +264,7 @@ public static function castFrameStub(FrameStub $frame, array $a, Stub $stub, boo
264264 $ ellipsis += 1 + \strlen ($ f ['line ' ]);
265265 }
266266 }
267- $ srcAttr .= sprintf ('&separator= &file=%s&line=%d ' , rawurlencode ($ f ['file ' ]), $ f ['line ' ]);
267+ $ srcAttr .= \ sprintf ('&separator= &file=%s&line=%d ' , rawurlencode ($ f ['file ' ]), $ f ['line ' ]);
268268 } else {
269269 $ srcAttr .= '&separator=: ' ;
270270 }
@@ -295,7 +295,7 @@ public static function castFrameStub(FrameStub $frame, array $a, Stub $stub, boo
295295 public static function castFlattenException (FlattenException $ e , array $ a , Stub $ stub , bool $ isNested )
296296 {
297297 if ($ isNested ) {
298- $ k = sprintf (Caster::PATTERN_PRIVATE , FlattenException::class, 'traceAsString ' );
298+ $ k = \ sprintf (Caster::PATTERN_PRIVATE , FlattenException::class, 'traceAsString ' );
299299 $ a [$ k ] = new CutStub ($ a [$ k ]);
300300 }
301301
@@ -411,7 +411,7 @@ private static function extractSource(string $srcLines, int $line, int $srcConte
411411 }
412412 }
413413 $ c ->attr ['lang ' ] = $ lang ;
414- $ srcLines [sprintf ("\0~separator=› &%d \0" , $ i + $ line - $ srcContext )] = $ c ;
414+ $ srcLines [\ sprintf ("\0~separator=› &%d \0" , $ i + $ line - $ srcContext )] = $ c ;
415415 }
416416
417417 return new EnumStub ($ srcLines );
0 commit comments