Uploaded image for project: 'Moodle Community Sites'
  1. Moodle Community Sites
  2. MDLSITE-2800

"Default timezone..." warnings from the phpcompatibility sniffs after upgrade to phpcs 1.5.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Component/s: Integration
    • Labels:
      None

      Description

      It seems that after upgrading the CI servers to phpcs 1.5.2, some "Default timezone is required since PHP 5.4" warnings have started to be shown for every file checked.

      Example: http://integration.moodle.org/job/Precheck%20remote%20branch/1574/artifact/work/smurf.html

      That Sniff is part of the "phpcompatibility" standard, that we have incorporated to our "moodle" one.

      This is about to research why this has started happening now and fix it (it shouldn't).

      The easiest solution is to set "date.timezone" in php.ini, but before that we need to understand why it was not happening before phpcs 1.5.2.

      That is, ciao

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Eloy Lafuente (stronk7)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: