Doctrine Common
  1. Doctrine Common
  2. DCOM-216

[GH-298] Silence E_NOTICE warning: "Undefined index".

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of fredrik-w:

      Url: https://github.com/doctrine/common/pull/298

      Message:

      Running PHP with error reporting on for E_NOTICE this bit me. Fix is simple and straightforward, check if key is defined and use that value if so, otherwise use null.

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-298] was closed:
        https://github.com/doctrine/common/pull/298

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-298] was closed: https://github.com/doctrine/common/pull/298
        Show
        Marco Pivetta added a comment - Merged: https://github.com/doctrine/common/commit/d9dea98243c733ff589aab10e321de4f14a63ab4

          People

          • Assignee:
            Marco Pivetta
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: