Last modified: 2013-10-15 09:04:31 UTC
cli.php uses the non-standardly named legacy global $options. Because of this, we have to add code comments to not let CodeSniffer got mad over it. function STDOUT( $str, $channel = null, $force = false ) { // @codingStandardsIgnoreStart Globals should have prefix "wg". global $options; // @codingStandardsIgnoreEnd Code should be refactored to not use the legacy global $options.
The whole file is legacy, except perhaps language code parser.
Change 89775 had a related patch set uploaded by Siebrand: Get rid of cli.php https://gerrit.wikimedia.org/r/89775
Following patches were needed to ensure this code is no longer used: * https://gerrit.wikimedia.org/r/#/c/88957/ * https://gerrit.wikimedia.org/r/#/c/88961/ * https://gerrit.wikimedia.org/r/#/c/88982/ * https://gerrit.wikimedia.org/r/#/c/88985/ * https://gerrit.wikimedia.org/r/#/c/89033/ * https://gerrit.wikimedia.org/r/#/c/89114/ * https://gerrit.wikimedia.org/r/#/c/89344/
Change 89775 merged by jenkins-bot: Get rid of cli.php https://gerrit.wikimedia.org/r/89775