Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-40410

Strict php standards not met by tablelib.php, DEVELOPER debugging mode

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.9, 2.4.6, 2.5, 2.5.2, 2.6
    • Fix Version/s: 2.5.5, 2.6.2
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      1. Set the debugging mode to DEVELOPER
      2. Download, e.g., a quiz statistics report in ODS format.
      3. Verify the file is valid.
    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-40410-Strict-Standards

      Description

      1) Set the debugging mode to DEVELOPER
      2) Download, e.g., a quiz statistics report in ODS format.
      3) The file is invalid because PHP strict standards are not met by tablelib.php
      The file looks as follows:
      --------------------------
      Strict Standards: Only variables should be assigned by reference in /home/jzimmer/git/25/lib/tablelib.php on line 1504

      Strict Standards: Only variables should be assigned by reference in /home/jzimmer/git/25/lib/tablelib.php on line 1506
      PK########�h�B�l9�,###.#######mimetype#A # ##
      --------------------------

      I agree, the problem is not critical but very annoying during development...
      and, I suppose, Moodle should meet the strict standards.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Mar/14