Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8597 PHP strict warning: Only variables should be assigned by reference.
  3. CRM-8590

Various "Strict warning: Only variables should be assigned by reference" messages in CRM/Core/Component.php

    Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.4
    • Fix Version/s: 4.0.5
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Assignment by reference is deprecated and will be removed in future versions of PHP. Furthermore, if a function returns an object, assignment by reference is unnecessary.

      Also, certain class functions are called in a static context but are not defined as static, which also raises warnings or errors, depending on the PHP configuration.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              pillarsdotnet Bob Vincent
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: