Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-10768

Only use colors in tests if output device is a terminal

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • 3.0.14-RC1
    • 3.0.10
    • None

      http://php.net/manual/en/function.posix-isatty.php

      On windows I don't expect isatty to exist, and there color should always be off.

      On unix posix extension may not be installed. We can either require posix to be installed for color or add a knob to force color.

            nickvergessen Joas Schilling
            Oleg Oleg [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: