Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-10768

Only use colors in tests if output device is a terminal

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 3.0.10
    • 3.0.14-RC1
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: