• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Low Low
    • Coding style
    • None

      There is a conflict between the Moodle Code styling and (MCS) and PSR for the use of else if.

      MCS directs: “else if”. PSR directs: “elseif” 

       

      Required decision:

      Which style should be followed?

       

      MCS: https://moodledev.io/general/development/policies/codingstyle#if--else 

      PSR: https://www.php-fig.org/psr/psr-12/#51-if-elseif-else

            matt.porritt@moodle.com Matt Porritt
            matt.porritt@moodle.com Matt Porritt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

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