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