PHP Class phplinter\CLI

Show file Open project: robotis/PHPLinter

Protected Properties

Property Type Description
$config * @var Config Object
$penalty * @var float
$stats * @var Array
$target * @var String
$use_rules * @var Array

Public Methods

Method Description
__construct ( ) ----------------------------------------------------------------------+
lint ( ) ----------------------------------------------------------------------+
process_options ( $argv, $argc ) ----------------------------------------------------------------------+

Protected Methods

Method Description
consume ( $argv, &$i ) ----------------------------------------------------------------------+
error ( $msg ) ----------------------------------------------------------------------+
help ( ) ----------------------------------------------------------------------+
lint_directory ( ) ----------------------------------------------------------------------+
lint_file ( $file ) ----------------------------------------------------------------------+
msg ( $msg, $flag = OPT_VERBOSE ) ----------------------------------------------------------------------+
setReport ( ) ----------------------------------------------------------------------+

Method Details

__construct() public method

----------------------------------------------------------------------+
public __construct ( )

consume() protected method

----------------------------------------------------------------------+
protected consume ( $argv, &$i )

error() protected method

----------------------------------------------------------------------+
protected error ( $msg )

help() protected method

----------------------------------------------------------------------+
protected help ( )

lint() public method

----------------------------------------------------------------------+
public lint ( )

lint_directory() protected method

----------------------------------------------------------------------+
protected lint_directory ( )

lint_file() protected method

----------------------------------------------------------------------+
protected lint_file ( $file )

msg() protected method

----------------------------------------------------------------------+
protected msg ( $msg, $flag = OPT_VERBOSE )

process_options() public method

----------------------------------------------------------------------+
public process_options ( $argv, $argc )

setReport() protected method

----------------------------------------------------------------------+
protected setReport ( )

Property Details

$config protected property

* @var Config Object
protected $config

$penalty protected property

* @var float
protected $penalty

$stats protected property

* @var Array
protected $stats

$target protected property

* @var String
protected $target

$use_rules protected property

* @var Array
protected $use_rules