PHP Class phplinter\Report\Base

Show file Open project: robotis/PHPLinter

Protected Properties

Property Type Description
$config Object
$dry_run boolean

Public Methods

Method Description
__construct ( Config $config ) ----------------------------------------------------------------------+
average ( $penalty, $num ) ----------------------------------------------------------------------+
create ( $report, $penaltys = null, $root = null ) ----------------------------------------------------------------------+
prepare ( ) ----------------------------------------------------------------------+
score ( $penalty, $num = null ) ----------------------------------------------------------------------+

Protected Methods

Method Description
_insert ( &$arr, $parts, $key, $value = null ) ----------------------------------------------------------------------+
mkdir ( $path, $oct = 509, $rec = false ) ----------------------------------------------------------------------+
write ( $filename, $content ) ----------------------------------------------------------------------+

Method Details

__construct() public method

----------------------------------------------------------------------+
public __construct ( Config $config )
$config phplinter\Config

_insert() protected method

----------------------------------------------------------------------+
protected _insert ( &$arr, $parts, $key, $value = null )

average() public method

----------------------------------------------------------------------+
public average ( $penalty, $num )
$penalty Float ----------------------------------------------------------------------+

create() abstract public method

----------------------------------------------------------------------+
abstract public create ( $report, $penaltys = null, $root = null )

mkdir() protected method

----------------------------------------------------------------------+
protected mkdir ( $path, $oct = 509, $rec = false )

prepare() public method

----------------------------------------------------------------------+
public prepare ( )

score() public method

----------------------------------------------------------------------+
public score ( $penalty, $num = null )
$penalty Float ----------------------------------------------------------------------+

write() protected method

----------------------------------------------------------------------+
protected write ( $filename, $content )

Property Details

$config protected property

Object
protected $config

$dry_run protected property

protected bool $dry_run
return boolean