File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed 
src/Utils/Test/src/Fluent Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -229,6 +229,8 @@ public function withAttributes(array $attributes): self
229229    /** 
230230     * Assert that the span has the expected status. 
231231     * 
232+      * @psalm-suppress PossiblyUnusedMethod 
233+      * 
232234     * @param int|Constraint $code The expected status code 
233235     * @param string|Constraint|null $description The expected status description 
234236     * @throws TraceAssertionFailedException 
@@ -592,7 +594,8 @@ private function formatValue($value): string
592594        } elseif  (null  === $ value
593595            return  'null ' ;
594596        } elseif  (is_array ($ value
595-             return  json_encode ($ value
597+             $ jsonjson_encode ($ value
598+             return  $ jsonfalse  ? '[unable to encode] '  : $ json
596599        }
597600
598601        return  (string ) $ value
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments