Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-16038

"Notice: Undefined index: strict[-end]" in cli

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.3.0alpha1
    • 4.2.0
    • Misc
    • None

    Description

      Suggested patch (changes warning to use yellow color, so that strict can use purple color):

      Index: lib/ezutils/classes/ezcli.php
      ===================================================================
      --- lib/ezutils/classes/ezcli.php	(revision 24591)
      +++ lib/ezutils/classes/ezcli.php	(working copy)
      @@ -68,7 +68,7 @@
               }
               $this->EndlineString = $endl;
               $this->WebOutput = $webOutput;
      -        $this->TerminalStyles = array( 'warning' => "\033[1;35m",
      +        $this->TerminalStyles = array( 'warning' => "\033[1;33m",
                                              'warning-end' => "\033[0;39m",
                                              'error' => "\033[1;31m",
                                              'error-end' => "\033[0;39m",
      @@ -76,6 +76,8 @@
                                              'failure-end' => "\033[0;39m",
                                              'notice' => "\033[0;32m",
                                              'notice-end' => "\033[0;39m",
      +                                       'strict' => "\033[0;35m",
      +                                       'strict-end' => "\033[0;39m",
                                              'debug' => "\033[0;30m",
                                              'debug-end' => "\033[0;39m",
                                              'timing' => "\033[1;34m",
      

      Attachments

        Activity

          People

            andre1 andre1
            andre1 andre1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: