for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Automattic\Jetpack\Analyzer\Warnings;
use Automattic\Jetpack\Analyzer\PersistentList\Item as PersistentListItem;
class Warning extends PersistentListItem {
public $path;
public $line;
public $message;
function __construct( $path, $line, $message ) {
$this->path = $path;
$this->line = $line;
$this->message = $message;
}
function to_csv_array() {
return array(
$this->path,
$this->line,
$this->message
);