Details

    • Improvement
    • Status: Open
    • Low
    • Resolution: Unresolved
    • Coding style
    • None

    Description

      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

      Attachments

        Activity

          People

            matt.porritt@moodle.com Matt Porritt
            matt.porritt@moodle.com Matt Porritt
            Marina Glancy, Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: