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


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • Integration
    • None

      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

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            0 Vote for this issue
            1 Start watching this issue


                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.