tests/unit/remessa/JsonSerializeTest.php
Method testJsonSerializeRemessaOk
has 103 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testJsonSerializeRemessaOk()
{
$remessaLayout = new Layout(__DIR__.'/../../../config/itau/cnab240/cobranca.yml');
$remessa = new Remessa($remessaLayout);
$this->assertInstanceOf('CnabParser\Model\Remessa', $remessa);
The method testJsonSerializeRemessaOk() has 125 lines of code. Current threshold is set to 100. Avoid really long methods. Open
Open
public function testJsonSerializeRemessaOk()
{
$remessaLayout = new Layout(__DIR__.'/../../../config/itau/cnab240/cobranca.yml');
$remessa = new Remessa($remessaLayout);
$this->assertInstanceOf('CnabParser\Model\Remessa', $remessa);
- Exclude checks