for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @package Nnx\DataGrid
* @author Lobanov Aleksandr
*/
namespace Nnx\DataGrid\View\Helper\JqGrid\Column;
use Nnx\DataGrid\Column\ColumnInterface;
* Class Radio
* @package Nnx\DataGrid\View\Helper\JqGrid\Column
class Radio extends Text
{
* Возвращает конфигурацию колонки
* @param ColumnInterface $column
* @return array
protected function getColumnConfig(ColumnInterface $column)
$config = parent::getColumnConfig($column);
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
$a = "a"; $ab = "ab"; $abc = "abc";
will produce issues in the first and second line, while this second example
will produce no issues.
$config['formatter'] = 'radio';
return $config;
}
This check marks files that end in a newline character, i.e. an empy line.
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
will produce issues in the first and second line, while this second example
will produce no issues.