tests/unit/remessa/ParserCEFCobrancaCnab400Test.php
Method testRemessaOk
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function testRemessaOk()
{
$remessaLayout = new Layout(__DIR__.'/../../../config/cef/cnab400/cobranca_sigcb.yml');
$remessa = new Remessa($remessaLayout);
$this->assertInstanceOf('CnabParser\Model\Remessa', $remessa);
The method testRemessaOk() has 101 lines of code. Current threshold is set to 100. Avoid really long methods. Open
Open
public function testRemessaOk()
{
$remessaLayout = new Layout(__DIR__.'/../../../config/cef/cnab400/cobranca_sigcb.yml');
$remessa = new Remessa($remessaLayout);
$this->assertInstanceOf('CnabParser\Model\Remessa', $remessa);
- Exclude checks