Moodle
  1. Moodle
  2. MDL-19235

Clean up and rationalise phpdocs and copyright statements across Moodle

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Administration
    • Labels:
      None

      Description

      Update phpdocs and copyright notices in files so that:

      • every file has a GPL v3 statement
      • every file has a copyright owner
      • every file has the minimal set of phpdocs tags
      • remove all the $Id$ tags

        Gliffy Diagrams

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

            Hide
            Martin Dougiamas added a comment -

            Example from Coding Style docs:

            <?php
             
            // This file is part of Moodle - http://moodle.org/
            //
            // Moodle is free software: you can redistribute it and/or modify
            // it under the terms of the GNU General Public License as published by
            // the Free Software Foundation, either version 3 of the License, or
            // (at your option) any later version.
            //
            // Moodle is distributed in the hope that it will be useful,
            // but WITHOUT ANY WARRANTY; without even the implied warranty of
            // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
            // GNU General Public License for more details.
            //
            // You should have received a copy of the GNU General Public License
            // along with Moodle. If not, see <http://www.gnu.org/licenses/>.
             
             
            /**
             * This is a one-line short description of the file
             *
             * You can have a rather longer description of the file as well,
             * if you like, and it can span multiple lines.
             *
             * @package moodlecore
             * @copyright 2008 Kim Bloggs
             * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
             */
            

            Show
            Martin Dougiamas added a comment - Example from Coding Style docs: <?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * This is a one-line short description of the file * * You can have a rather longer description of the file as well, * if you like, and it can span multiple lines. * * @package moodlecore * @copyright 2008 Kim Bloggs * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: