Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1751

Use PHP5-style constructor names only in LibChart library code

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2-B3
    • Component/s: PHP Compatibility
    • Labels:
      None

      Description

      In the "core/units/general/libchart" folder replace all usages of PHP4-style constructors (method name matches class name) with "__construct" to avoid this warnings on PHP 7+:

      Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; foo has a deprecated constructor in example.php on line 3

      http://php.net/manual/en/migration70.deprecated.php

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Erik Snarski [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.75h
                  0.75h