Log4php
  1. Log4php
  2. LOG4PHP-64

Remove deprecated call-by-reference in LoggerLayoutPattern

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: Code
    • Labels:
      None

      Description

      Hello

      This syntax is deprecated and should be replaced by an '&' in the method declaration:

      $c->format(&$sbuf, $event);

      Patch attached.

      bye,

      christian

        Activity

        Hide
        Christian Hammers added a comment -

        remove & in method call and put it into method declaration

        Show
        Christian Hammers added a comment - remove & in method call and put it into method declaration
        Hide
        Christian Grobmeier added a comment -

        Patch applied with rv 798408.
        Thanks again!

        Show
        Christian Grobmeier added a comment - Patch applied with rv 798408. Thanks again!

          People

          • Assignee:
            Unassigned
            Reporter:
            Christian Hammers
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development