src/Renderer/Rich.php 1 location
|
@@ 195-200 (lines=6) @@
|
| 192 |
|
$output .= '<var>'.$s.'</var> '; |
| 193 |
|
} |
| 194 |
|
|
| 195 |
|
if (($s = $o->getSize()) !== null) { |
| 196 |
|
if (self::$escape_types) { |
| 197 |
|
$s = $this->escape($s); |
| 198 |
|
} |
| 199 |
|
$output .= '('.$s.') '; |
| 200 |
|
} |
| 201 |
|
|
| 202 |
|
if (($s = $o->getValueShort()) !== null) { |
| 203 |
|
$s = preg_replace('/\s+/', ' ', $s); |
src/Renderer/Text.php 1 location
|
@@ 153-155 (lines=3) @@
|
| 150 |
|
$output[] = $this->colorType($this->escape($s)); |
| 151 |
|
} |
| 152 |
|
|
| 153 |
|
if (($s = $o->getSize()) !== null) { |
| 154 |
|
$output[] = '('.$this->escape($s).')'; |
| 155 |
|
} |
| 156 |
|
|
| 157 |
|
if (($s = $o->getValueShort()) !== null) { |
| 158 |
|
if (self::$strlen_max && Kint_Object_Blob::strlen($s) > self::$strlen_max) { |