Page MenuHomePhabricator

Get rid of cli.php
Closed, ResolvedPublic

Description

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.


Version: master
Severity: enhancement

Details

Reference
bz55517