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

        Christian Hammers created issue -
        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
        Christian Hammers made changes -
        Field Original Value New Value
        Attachment LoggerLayoutPattern-CallTimeRef.diff [ 12414673 ]
        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!
        Christian Grobmeier made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ivan Habunek made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development