• internal This class is not covered by the backward compatibility promise for PHPUnit
CloneableFinalInstantiable
Methods
public static colorize(string $color, string $buffer) : string
public static colorizePath(string $path, ?string $prevPath = NULL, bool $colorizeFilename = false) : string
public static dim(string $buffer) : string
public static visualizeWhitespace(string $buffer, bool $visualizeEOL = false) : string
Constants
private PHPUnit\Util\Color::WHITESPACE_EOL_MAP = [' ' => '·', ' ' => '⇥', ' ' => '↵', ' ' => '⟵']
 
  • var array
private PHPUnit\Util\Color::WHITESPACE_MAP = [' ' => '·', ' ' => '⇥']
 
  • var array
Properties
private static $ansiCodes = ['reset' => '0', 'bold' => '1', 'dim' => '2', 'dim-reset' => '22', 'underlined' => '4', 'fg-default' => '39', 'fg-black' => '30', 'fg-red' => '31', 'fg-green' => '32', 'fg-yellow' => '33', 'fg-blue' => '34', 'fg-magenta' => '35', 'fg-cyan' => '36', 'fg-white' => '37', 'bg-default' => '49', 'bg-black' => '40', 'bg-red' => '41', 'bg-green' => '42', 'bg-yellow' => '43', 'bg-blue' => '44', 'bg-magenta' => '45', 'bg-cyan' => '46', 'bg-white' => '47']
 
  • var array
Methods
private static optimizeColor(string $buffer) : string
Properties
private static $ansiCodes = ['reset' => '0', 'bold' => '1', 'dim' => '2', 'dim-reset' => '22', 'underlined' => '4', 'fg-default' => '39', 'fg-black' => '30', 'fg-red' => '31', 'fg-green' => '32', 'fg-yellow' => '33', 'fg-blue' => '34', 'fg-magenta' => '35', 'fg-cyan' => '36', 'fg-white' => '37', 'bg-default' => '49', 'bg-black' => '40', 'bg-red' => '41', 'bg-green' => '42', 'bg-yellow' => '43', 'bg-blue' => '44', 'bg-magenta' => '45', 'bg-cyan' => '46', 'bg-white' => '47']
 
  • var array
Methods
public static colorize(string $color, string $buffer) : string
public static colorizePath(string $path, ?string $prevPath = NULL, bool $colorizeFilename = false) : string
public static dim(string $buffer) : string
private static optimizeColor(string $buffer) : string
public static visualizeWhitespace(string $buffer, bool $visualizeEOL = false) : string
© 2020 Bruce Wells
Search Namespaces \ Classes
ConfigurationNumbers (0-9.) only