repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cce11/DestinatarioTest.php | tests/CfdiUtilsTests/Elements/Cce11/DestinatarioTest.php | <?php
namespace CfdiUtilsTests\Elements\Cce11;
use CfdiUtils\Elements\Cce11\Destinatario;
use CfdiUtils\Elements\Cce11\Domicilio;
use PHPUnit\Framework\TestCase;
final class DestinatarioTest extends TestCase
{
public Destinatario $element;
protected function setUp(): void
{
parent::setUp();
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cce11/DomicilioTest.php | tests/CfdiUtilsTests/Elements/Cce11/DomicilioTest.php | <?php
namespace CfdiUtilsTests\Elements\Cce11;
use CfdiUtils\Elements\Cce11\Domicilio;
use PHPUnit\Framework\TestCase;
final class DomicilioTest extends TestCase
{
public Domicilio $element;
protected function setUp(): void
{
parent::setUp();
$this->element = new Domicilio();
}
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cce11/EmisorTest.php | tests/CfdiUtilsTests/Elements/Cce11/EmisorTest.php | <?php
namespace CfdiUtilsTests\Elements\Cce11;
use CfdiUtils\Elements\Cce11\Domicilio;
use CfdiUtils\Elements\Cce11\Emisor;
use PHPUnit\Framework\TestCase;
final class EmisorTest extends TestCase
{
public Emisor $element;
protected function setUp(): void
{
parent::setUp();
$this->element... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cce11/ReceptorTest.php | tests/CfdiUtilsTests/Elements/Cce11/ReceptorTest.php | <?php
namespace CfdiUtilsTests\Elements\Cce11;
use CfdiUtils\Elements\Cce11\Domicilio;
use CfdiUtils\Elements\Cce11\Receptor;
use PHPUnit\Framework\TestCase;
final class ReceptorTest extends TestCase
{
public Receptor $element;
protected function setUp(): void
{
parent::setUp();
$this->e... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cce11/ComercioExteriorTest.php | tests/CfdiUtilsTests/Elements/Cce11/ComercioExteriorTest.php | <?php
namespace CfdiUtilsTests\Elements\Cce11;
use CfdiUtils\Elements\Cce11\ComercioExterior;
use CfdiUtils\Elements\Cce11\Destinatario;
use CfdiUtils\Elements\Cce11\Emisor;
use CfdiUtils\Elements\Cce11\Mercancia;
use CfdiUtils\Elements\Cce11\Mercancias;
use CfdiUtils\Elements\Cce11\Propietario;
use CfdiUtils\Element... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cce11/Traits/DomicilioTraitTest.php | tests/CfdiUtilsTests/Elements/Cce11/Traits/DomicilioTraitTest.php | <?php
namespace CfdiUtilsTests\Elements\Cce11\Traits;
use CfdiUtils\Elements\Cce11\Domicilio;
use PHPUnit\Framework\TestCase;
final class DomicilioTraitTest extends TestCase
{
public UseDomicilio $element;
public function setUp(): void
{
parent::setUp();
$this->element = new UseDomicilio... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cce11/Traits/UseDomicilio.php | tests/CfdiUtilsTests/Elements/Cce11/Traits/UseDomicilio.php | <?php
namespace CfdiUtilsTests\Elements\Cce11\Traits;
use CfdiUtils\Elements\Cce11\Traits\DomicilioTrait;
use CfdiUtils\Elements\Common\AbstractElement;
final class UseDomicilio extends AbstractElement
{
use DomicilioTrait;
public function getElementName(): string
{
return 'X';
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/NotariosPublicos10/NotariosPublicosTest.php | tests/CfdiUtilsTests/Elements/NotariosPublicos10/NotariosPublicosTest.php | <?php
namespace CfdiUtilsTests\Elements\NotariosPublicos10;
use CfdiUtils\Elements\NotariosPublicos10\DatosAdquiriente;
use CfdiUtils\Elements\NotariosPublicos10\DatosAdquirienteCopSC;
use CfdiUtils\Elements\NotariosPublicos10\DatosAdquirientesCopSC;
use CfdiUtils\Elements\NotariosPublicos10\DatosEnajenante;
use Cfdi... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi40/ComprobanteTest.php | tests/CfdiUtilsTests/Elements/Cfdi40/ComprobanteTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi40;
use CfdiUtils\Elements\Cfdi40\ACuentaTerceros;
use CfdiUtils\Elements\Cfdi40\Addenda;
use CfdiUtils\Elements\Cfdi40\CfdiRelacionado;
use CfdiUtils\Elements\Cfdi40\CfdiRelacionados;
use CfdiUtils\Elements\Cfdi40\Complemento;
use CfdiUtils\Elements\Cfdi40\ComplementoConce... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Dividendos10/DividOUtilTest.php | tests/CfdiUtilsTests/Elements/Dividendos10/DividOUtilTest.php | <?php
namespace CfdiUtilsTests\Elements\Dividendos10;
use CfdiUtils\Elements\Dividendos10\DividOUtil;
use PHPUnit\Framework\TestCase;
final class DividOUtilTest extends TestCase
{
public DividOUtil $element;
public function setUp(): void
{
parent::setUp();
$this->element = new DividOUtil... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Dividendos10/DividendosTest.php | tests/CfdiUtilsTests/Elements/Dividendos10/DividendosTest.php | <?php
namespace CfdiUtilsTests\Elements\Dividendos10;
use CfdiUtils\Elements\Dividendos10\Dividendos;
use CfdiUtils\Elements\Dividendos10\DividOUtil;
use CfdiUtils\Elements\Dividendos10\Remanente;
use PHPUnit\Framework\TestCase;
final class DividendosTest extends TestCase
{
public Dividendos $element;
prote... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Dividendos10/RemanenteTest.php | tests/CfdiUtilsTests/Elements/Dividendos10/RemanenteTest.php | <?php
namespace CfdiUtilsTests\Elements\Dividendos10;
use CfdiUtils\Elements\Dividendos10\Remanente;
use PHPUnit\Framework\TestCase;
final class RemanenteTest extends TestCase
{
public Remanente $element;
public function setUp(): void
{
parent::setUp();
$this->element = new Remanente();
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/ConceptosTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/ConceptosTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\Concepto;
use CfdiUtils\Elements\Cfdi33\Conceptos;
use PHPUnit\Framework\TestCase;
final class ConceptosTest extends TestCase
{
public Conceptos $element;
public function setUp(): void
{
parent::setUp();
$this-... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/TrasladoTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/TrasladoTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\Traslado;
use PHPUnit\Framework\TestCase;
final class TrasladoTest extends TestCase
{
public Traslado $element;
protected function setUp(): void
{
parent::setUp();
$this->element = new Traslado();
}
pu... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/AddendaTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/AddendaTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\Addenda;
use CfdiUtils\Nodes\Node;
use PHPUnit\Framework\TestCase;
final class AddendaTest extends TestCase
{
public Addenda $element;
public function setUp(): void
{
parent::setUp();
$this->element = new Adden... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/ConceptoTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/ConceptoTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\ComplementoConcepto;
use CfdiUtils\Elements\Cfdi33\Concepto;
use CfdiUtils\Elements\Cfdi33\ConceptoImpuestos;
use CfdiUtils\Elements\Cfdi33\CuentaPredial;
use CfdiUtils\Elements\Cfdi33\Impuestos;
use CfdiUtils\Elements\Cfdi33\InformacionAdu... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/CfdiRelacionadoTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/CfdiRelacionadoTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\CfdiRelacionado;
use PHPUnit\Framework\TestCase;
final class CfdiRelacionadoTest extends TestCase
{
public CfdiRelacionado $element;
protected function setUp(): void
{
parent::setUp();
$this->element = new Cfdi... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/ComplementoTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/ComplementoTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\Complemento;
use CfdiUtils\Nodes\Node;
use PHPUnit\Framework\TestCase;
final class ComplementoTest extends TestCase
{
public Complemento $element;
public function setUp(): void
{
parent::setUp();
$this->element... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/TrasladosTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/TrasladosTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\Traslado;
use CfdiUtils\Elements\Cfdi33\Traslados;
use PHPUnit\Framework\TestCase;
final class TrasladosTest extends TestCase
{
public Traslados $element;
protected function setUp(): void
{
parent::setUp();
$th... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/CuentaPredialTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/CuentaPredialTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\CuentaPredial;
use PHPUnit\Framework\TestCase;
final class CuentaPredialTest extends TestCase
{
public CuentaPredial $element;
public function setUp(): void
{
parent::setUp();
$this->element = new CuentaPredial... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/EmisorTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/EmisorTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\Emisor;
use PHPUnit\Framework\TestCase;
final class EmisorTest extends TestCase
{
public Emisor $element;
public function setUp(): void
{
parent::setUp();
$this->element = new Emisor();
}
public functi... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/ParteTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/ParteTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\Parte;
use PHPUnit\Framework\TestCase;
final class ParteTest extends TestCase
{
public Parte $element;
protected function setUp(): void
{
parent::setUp();
$this->element = new Parte();
}
public functio... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/ComplementoConceptoTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/ComplementoConceptoTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\ComplementoConcepto;
use PHPUnit\Framework\TestCase;
final class ComplementoConceptoTest extends TestCase
{
public ComplementoConcepto $element;
public function setUp(): void
{
parent::setUp();
$this->element =... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/ReceptorTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/ReceptorTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\Receptor;
use PHPUnit\Framework\TestCase;
final class ReceptorTest extends TestCase
{
public Receptor $element;
protected function setUp(): void
{
parent::setUp();
$this->element = new Receptor();
}
pu... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/RetencionesTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/RetencionesTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\Retencion;
use CfdiUtils\Elements\Cfdi33\Retenciones;
use PHPUnit\Framework\TestCase;
final class RetencionesTest extends TestCase
{
public Retenciones $element;
protected function setUp(): void
{
parent::setUp();
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/ImpuestosOrderTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/ImpuestosOrderTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\Comprobante;
use CfdiUtils\Elements\Cfdi33\Concepto;
use CfdiUtils\Elements\Cfdi33\ConceptoImpuestos;
use CfdiUtils\Elements\Cfdi33\Impuestos;
use PHPUnit\Framework\TestCase;
final class ImpuestosOrderTest extends TestCase
{
public fun... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/ComprobanteTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/ComprobanteTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\Addenda;
use CfdiUtils\Elements\Cfdi33\CfdiRelacionado;
use CfdiUtils\Elements\Cfdi33\CfdiRelacionados;
use CfdiUtils\Elements\Cfdi33\Complemento;
use CfdiUtils\Elements\Cfdi33\Comprobante;
use CfdiUtils\Elements\Cfdi33\Concepto;
use CfdiUt... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/CfdiRelacionadosTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/CfdiRelacionadosTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\CfdiRelacionado;
use CfdiUtils\Elements\Cfdi33\CfdiRelacionados;
use PHPUnit\Framework\TestCase;
final class CfdiRelacionadosTest extends TestCase
{
public CfdiRelacionados $element;
protected function setUp(): void
{
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/RetencionTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/RetencionTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33;
use CfdiUtils\Elements\Cfdi33\Retencion;
use PHPUnit\Framework\TestCase;
final class RetencionTest extends TestCase
{
public Retencion $element;
protected function setUp(): void
{
parent::setUp();
$this->element = new Retencion();
}
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/Traits/InformacionAduaneraTraitTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/Traits/InformacionAduaneraTraitTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33\Traits;
use CfdiUtils\Elements\Cfdi33\InformacionAduanera;
use PHPUnit\Framework\TestCase;
final class InformacionAduaneraTraitTest extends TestCase
{
public function testAddInformacionAduanera(): void
{
// no childs
$node = new UseInformacionAdu... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/Traits/ImpuestosTraitTest.php | tests/CfdiUtilsTests/Elements/Cfdi33/Traits/ImpuestosTraitTest.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33\Traits;
use CfdiUtils\Elements\Cfdi33\Impuestos;
use CfdiUtils\Elements\Cfdi33\Retencion;
use CfdiUtils\Elements\Cfdi33\Retenciones;
use CfdiUtils\Elements\Cfdi33\Traslado;
use CfdiUtils\Elements\Cfdi33\Traslados;
use PHPUnit\Framework\TestCase;
final class ImpuestosTra... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/Traits/UseImpuestos.php | tests/CfdiUtilsTests/Elements/Cfdi33/Traits/UseImpuestos.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33\Traits;
use CfdiUtils\Elements\Cfdi33\Impuestos;
use CfdiUtils\Elements\Cfdi33\Traits\ImpuestosTrait;
use CfdiUtils\Elements\Common\AbstractElement;
final class UseImpuestos extends AbstractElement
{
use ImpuestosTrait;
public function getImpuestos(): Impuestos... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Elements/Cfdi33/Traits/UseInformacionAduanera.php | tests/CfdiUtilsTests/Elements/Cfdi33/Traits/UseInformacionAduanera.php | <?php
namespace CfdiUtilsTests\Elements\Cfdi33\Traits;
use CfdiUtils\Elements\Cfdi33\Traits\InformacionAduaneraTrait;
use CfdiUtils\Nodes\Node;
final class UseInformacionAduanera extends Node
{
use InformacionAduaneraTrait;
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Utils/RegimenCapitalRemoverTest.php | tests/CfdiUtilsTests/Utils/RegimenCapitalRemoverTest.php | <?php
namespace CfdiUtilsTests\Utils;
use CfdiUtils\Utils\RegimenCapitalRemover;
use CfdiUtilsTests\TestCase;
final class RegimenCapitalRemoverTest extends TestCase
{
/** @return array<string, array{string, string}> */
public function providerMostCommonCases(): array
{
return [
'SA' =... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Utils/CurrencyDecimalsTest.php | tests/CfdiUtilsTests/Utils/CurrencyDecimalsTest.php | <?php
namespace CfdiUtilsTests\Utils;
use CfdiUtils\Utils\CurrencyDecimals;
use CfdiUtilsTests\TestCase;
final class CurrencyDecimalsTest extends TestCase
{
public function testCreateGeneric(): void
{
$curdec = new CurrencyDecimals('FOO', 2);
$this->assertSame('FOO', $curdec->currency());
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Utils/RfcTest.php | tests/CfdiUtilsTests/Utils/RfcTest.php | <?php
namespace CfdiUtilsTests\Utils;
use CfdiUtils\Utils\Rfc;
use CfdiUtilsTests\TestCase;
final class RfcTest extends TestCase
{
public function testCreateRfcPerson(): void
{
$input = 'COSC8001137NA';
$rfc = new Rfc($input);
$this->assertSame($input, (string) $rfc);
$this->a... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Utils/SchemaLocationsTest.php | tests/CfdiUtilsTests/Utils/SchemaLocationsTest.php | <?php
namespace CfdiUtilsTests\Utils;
use CfdiUtils\Utils\SchemaLocations;
use CfdiUtilsTests\TestCase;
final class SchemaLocationsTest extends TestCase
{
public function testConstructorWithEmptyValue(): void
{
$schemaLocations = new SchemaLocations();
$this->assertSame([], $schemaLocations->... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Utils/XmlTest.php | tests/CfdiUtilsTests/Utils/XmlTest.php | <?php
namespace CfdiUtilsTests\Utils;
use CfdiUtils\Utils\Xml;
use CfdiUtilsTests\TestCase;
use DOMDocument;
final class XmlTest extends TestCase
{
public function testMethodNewDocumentContentWithInvalidXmlEncoding(): void
{
$invalidXml = mb_convert_encoding('<e a="ñ"></e>', 'ISO-8859-1', 'UTF-8'); /... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Retenciones/RetencionesCreatorCommonMethodsTrait.php | tests/CfdiUtilsTests/Retenciones/RetencionesCreatorCommonMethodsTrait.php | <?php
namespace CfdiUtilsTests\Retenciones;
use CfdiUtils\Retenciones\RetencionesCreator10;
use CfdiUtils\Retenciones\RetencionesCreator20;
use LogicException;
trait RetencionesCreatorCommonMethodsTrait
{
abstract public function createMinimalCreator(): RetencionesCreator10|RetencionesCreator20;
public func... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Retenciones/RetencionesTest.php | tests/CfdiUtilsTests/Retenciones/RetencionesTest.php | <?php
namespace CfdiUtilsTests\Retenciones;
use CfdiUtils\CfdiCreateObjectException;
use CfdiUtils\Retenciones\Retenciones;
use CfdiUtils\Utils\Xml;
use CfdiUtilsTests\TestCase;
final class RetencionesTest extends TestCase
{
public const XML_MINIMAL_DEFINITION = <<<XML
<retenciones:Retenciones xmlns:rete... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Retenciones/RetencionesCreator20Test.php | tests/CfdiUtilsTests/Retenciones/RetencionesCreator20Test.php | <?php
namespace CfdiUtilsTests\Retenciones;
use CfdiUtils\CadenaOrigen\DOMBuilder;
use CfdiUtils\Certificado\Certificado;
use CfdiUtils\Elements\Dividendos10\Dividendos;
use CfdiUtils\Retenciones\RetencionesCreator20;
use CfdiUtilsTests\TestCase;
final class RetencionesCreator20Test extends TestCase
{
use Retenc... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Retenciones/RetencionesCreator10Test.php | tests/CfdiUtilsTests/Retenciones/RetencionesCreator10Test.php | <?php
namespace CfdiUtilsTests\Retenciones;
use CfdiUtils\CadenaOrigen\DOMBuilder;
use CfdiUtils\Certificado\Certificado;
use CfdiUtils\Elements\Dividendos10\Dividendos;
use CfdiUtils\Retenciones\RetencionesCreator10;
use CfdiUtilsTests\TestCase;
final class RetencionesCreator10Test extends TestCase
{
use Retenc... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Retenciones/RetencionVersionTest.php | tests/CfdiUtilsTests/Retenciones/RetencionVersionTest.php | <?php
namespace CfdiUtilsTests\Retenciones;
use CfdiUtils\Nodes\Node;
use CfdiUtils\Nodes\XmlNodeUtils;
use CfdiUtils\Retenciones\RetencionVersion;
use CfdiUtilsTests\TestCase;
final class RetencionVersionTest extends TestCase
{
public function providerRetencionVersion(): array
{
return [
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Nodes/NodesTest.php | tests/CfdiUtilsTests/Nodes/NodesTest.php | <?php
namespace CfdiUtilsTests\Nodes;
use CfdiUtils\Nodes\Node;
use CfdiUtils\Nodes\NodeInterface;
use CfdiUtils\Nodes\Nodes;
use CfdiUtilsTests\TestCase;
final class NodesTest extends TestCase
{
public function testEmptyNodes(): void
{
$nodes = new Nodes();
$this->assertCount(0, $nodes);
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Nodes/XmlNodeUtilsTest.php | tests/CfdiUtilsTests/Nodes/XmlNodeUtilsTest.php | <?php
namespace CfdiUtilsTests\Nodes;
use CfdiUtils\Nodes\Node;
use CfdiUtils\Nodes\XmlNodeUtils;
use CfdiUtils\Utils\Xml;
use CfdiUtilsTests\TestCase;
final class XmlNodeUtilsTest extends TestCase
{
public function providerToNodeFromNode(): array
{
return [
'simple-xml' => [$this->utilAs... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Nodes/AttributesTest.php | tests/CfdiUtilsTests/Nodes/AttributesTest.php | <?php
namespace CfdiUtilsTests\Nodes;
use CfdiUtils\Nodes\Attributes;
use CfdiUtilsTests\TestCase;
final class AttributesTest extends TestCase
{
public function testConstructWithoutArguments(): void
{
$attributes = new Attributes();
$this->assertCount(0, $attributes);
}
public functi... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Nodes/NodeNsDefinitionsMoverTest.php | tests/CfdiUtilsTests/Nodes/NodeNsDefinitionsMoverTest.php | <?php
namespace CfdiUtilsTests\Nodes;
use CfdiUtils\Nodes\NodeNsDefinitionsMover;
use CfdiUtils\Nodes\XmlNodeUtils;
use CfdiUtilsTests\TestCase;
final class NodeNsDefinitionsMoverTest extends TestCase
{
public function testMoveDefinitionsWithFilter(): void
{
$inputFile = $this->utilAsset('xml-with-na... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Nodes/NodeTest.php | tests/CfdiUtilsTests/Nodes/NodeTest.php | <?php
namespace CfdiUtilsTests\Nodes;
use CfdiUtils\Nodes\Node;
use CfdiUtilsTests\TestCase;
final class NodeTest extends TestCase
{
public function testConstructWithoutArguments(): void
{
$node = new Node('name');
$this->assertSame('name', $node->name());
$this->assertCount(0, $node-... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Nodes/NodesSorterTest.php | tests/CfdiUtilsTests/Nodes/NodesSorterTest.php | <?php
namespace CfdiUtilsTests\Nodes;
use CfdiUtils\Nodes\Node;
use CfdiUtils\Nodes\NodesSorter;
use PHPUnit\Framework\TestCase;
final class NodesSorterTest extends TestCase
{
public function testConstructWithNames(): void
{
$values = ['foo', 'bar', 'baz'];
$sorter = new NodesSorter($values);... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/PemPrivateKey/PemPrivateKeyTest.php | tests/CfdiUtilsTests/PemPrivateKey/PemPrivateKeyTest.php | <?php
namespace CfdiUtilsTests\PemPrivateKey;
use CfdiUtils\Certificado\Certificado;
use CfdiUtils\PemPrivateKey\PemPrivateKey;
use CfdiUtilsTests\TestCase;
final class PemPrivateKeyTest extends TestCase
{
public function providerConstructWithBadArgument(): array
{
return [
'empty' => [''... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/CadenaOrigen/DOMBuilderTest.php | tests/CfdiUtilsTests/CadenaOrigen/DOMBuilderTest.php | <?php
namespace CfdiUtilsTests\CadenaOrigen;
use CfdiUtils\CadenaOrigen\DOMBuilder;
use CfdiUtils\CadenaOrigen\XsltBuilderInterface;
final class DOMBuilderTest extends GenericBuilderTestCase
{
protected function createBuilder(): XsltBuilderInterface
{
return new DOMBuilder();
}
}
| php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/CadenaOrigen/XsltBuilderPropertyTest.php | tests/CfdiUtilsTests/CadenaOrigen/XsltBuilderPropertyTest.php | <?php
namespace CfdiUtilsTests\CadenaOrigen;
use CfdiUtils\CadenaOrigen\DOMBuilder;
use CfdiUtils\CadenaOrigen\XsltBuilderPropertyInterface;
use CfdiUtils\CadenaOrigen\XsltBuilderPropertyTrait;
use CfdiUtilsTests\TestCase;
final class XsltBuilderPropertyTest extends TestCase
{
public function testXsltBuilderProp... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/CadenaOrigen/GenkgoXslBuilderTest.php | tests/CfdiUtilsTests/CadenaOrigen/GenkgoXslBuilderTest.php | <?php
namespace CfdiUtilsTests\CadenaOrigen;
use CfdiUtils\CadenaOrigen\GenkgoXslBuilder;
use CfdiUtils\CadenaOrigen\XsltBuilderInterface;
use Genkgo\Xsl\XsltProcessor;
final class GenkgoXslBuilderTest extends GenericBuilderTestCase
{
protected function setUp(): void
{
parent::setUp();
// IGN... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/CadenaOrigen/SaxonbCliBuilderTest.php | tests/CfdiUtilsTests/CadenaOrigen/SaxonbCliBuilderTest.php | <?php
namespace CfdiUtilsTests\CadenaOrigen;
use CfdiUtils\CadenaOrigen\SaxonbCliBuilder;
use CfdiUtils\CadenaOrigen\XsltBuilderInterface;
use CfdiUtils\CadenaOrigen\XsltBuildException;
final class SaxonbCliBuilderTest extends GenericBuilderTestCase
{
protected function createBuilder(): XsltBuilderInterface
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/CadenaOrigen/CfdiDefaultLocationsTest.php | tests/CfdiUtilsTests/CadenaOrigen/CfdiDefaultLocationsTest.php | <?php
namespace CfdiUtilsTests\CadenaOrigen;
use CfdiUtils\CadenaOrigen\CfdiDefaultLocations;
use CfdiUtilsTests\TestCase;
final class CfdiDefaultLocationsTest extends TestCase
{
public function providerLocationByVersion(): array
{
return [
'3.2' => ['3.2', CfdiDefaultLocations::XSLT_32],... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/CadenaOrigen/GenericBuilderTestCase.php | tests/CfdiUtilsTests/CadenaOrigen/GenericBuilderTestCase.php | <?php
namespace CfdiUtilsTests\CadenaOrigen;
use CfdiUtils\CadenaOrigen\CfdiDefaultLocations;
use CfdiUtils\CadenaOrigen\XsltBuilderInterface;
use CfdiUtils\CadenaOrigen\XsltBuildException;
use CfdiUtilsTests\TestCase;
abstract class GenericBuilderTestCase extends TestCase
{
abstract protected function createBui... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/OpenSSL/OpenSSLTest.php | tests/CfdiUtilsTests/OpenSSL/OpenSSLTest.php | <?php
namespace CfdiUtilsTests\OpenSSL;
use CfdiUtils\OpenSSL\OpenSSL;
use CfdiUtils\OpenSSL\OpenSSLCallerException;
use CfdiUtils\PemPrivateKey\PemPrivateKey;
use CfdiUtilsTests\TestCase;
final class OpenSSLTest extends TestCase
{
public function testCreateInstanceWithoutAnyArguments(): void
{
$open... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/OpenSSL/OpenSSLProtectedMethodCheckOutputFileTest.php | tests/CfdiUtilsTests/OpenSSL/OpenSSLProtectedMethodCheckOutputFileTest.php | <?php
namespace CfdiUtilsTests\OpenSSL;
use CfdiUtils\Internals\TemporaryFile;
use CfdiUtils\OpenSSL\OpenSSL;
use CfdiUtilsTests\TestCase;
final class OpenSSLProtectedMethodCheckOutputFileTest extends TestCase
{
private function openSSL(): object
{
return new class () extends OpenSSL {
pu... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/OpenSSL/PemExtractorTest.php | tests/CfdiUtilsTests/OpenSSL/PemExtractorTest.php | <?php
namespace CfdiUtilsTests\OpenSSL;
use CfdiUtils\OpenSSL\PemExtractor;
use CfdiUtilsTests\TestCase;
final class PemExtractorTest extends TestCase
{
public function testExtractorWithEmptyContent(): void
{
$extractor = new PemExtractor('');
$this->assertSame('', $extractor->getContents());... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/OpenSSL/CallerTest.php | tests/CfdiUtilsTests/OpenSSL/CallerTest.php | <?php
namespace CfdiUtilsTests\OpenSSL;
use CfdiUtils\OpenSSL\Caller;
use CfdiUtils\OpenSSL\OpenSSLCallerException;
use CfdiUtils\OpenSSL\OpenSSLException;
use CfdiUtilsTests\TestCase;
use PHPUnit\Framework\MockObject\MockObject;
use Symfony\Component\Process\Process;
final class CallerTest extends TestCase
{
pu... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/OpenSSL/OpenSSLProtectedMethodCheckInputFileTest.php | tests/CfdiUtilsTests/OpenSSL/OpenSSLProtectedMethodCheckInputFileTest.php | <?php
namespace CfdiUtilsTests\OpenSSL;
use CfdiUtils\Internals\TemporaryFile;
use CfdiUtils\OpenSSL\OpenSSL;
use CfdiUtilsTests\TestCase;
final class OpenSSLProtectedMethodCheckInputFileTest extends TestCase
{
private function openSSL(): object
{
return new class () extends OpenSSL {
pub... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/OpenSSL/OpenSSLPropertyTest.php | tests/CfdiUtilsTests/OpenSSL/OpenSSLPropertyTest.php | <?php
namespace CfdiUtilsTests\OpenSSL;
use CfdiUtils\OpenSSL\OpenSSL;
use CfdiUtils\OpenSSL\OpenSSLPropertyTrait;
use CfdiUtilsTests\TestCase;
final class OpenSSLPropertyTest extends TestCase
{
public function testCorrectImplementer(): void
{
$object = new class () {
use OpenSSLPropertyT... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Cleaner/CleanerTest.php | tests/CfdiUtilsTests/Cleaner/CleanerTest.php | <?php
namespace CfdiUtilsTests\Cleaner;
use CfdiUtils\Cleaner\Cleaner;
use CfdiUtils\Cleaner\CleanerException;
use CfdiUtilsTests\TestCase;
final class CleanerTest extends TestCase
{
public function testConstructorWithEmptyText(): void
{
$cleaner = new Cleaner('');
$this->expectException(Cle... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Cleaner/BeforeLoad/RemoveDuplicatedCfdi3NamespaceTest.php | tests/CfdiUtilsTests/Cleaner/BeforeLoad/RemoveDuplicatedCfdi3NamespaceTest.php | <?php
namespace CfdiUtilsTests\Cleaner\BeforeLoad;
use CfdiUtils\Cleaner\BeforeLoad\BeforeLoadCleanerInterface;
use CfdiUtils\Cleaner\BeforeLoad\RemoveDuplicatedCfdi3Namespace;
use CfdiUtilsTests\TestCase;
final class RemoveDuplicatedCfdi3NamespaceTest extends TestCase
{
public function testImplementsBeforeLoadC... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Cleaner/BeforeLoad/ChangeXmlnsSchemaLocationTest.php | tests/CfdiUtilsTests/Cleaner/BeforeLoad/ChangeXmlnsSchemaLocationTest.php | <?php
namespace CfdiUtilsTests\Cleaner\BeforeLoad;
use CfdiUtils\Cleaner\BeforeLoad\BeforeLoadCleanerInterface;
use CfdiUtils\Cleaner\BeforeLoad\ChangeXmlnsSchemaLocation;
use CfdiUtilsTests\TestCase;
final class ChangeXmlnsSchemaLocationTest extends TestCase
{
public function testImplementsBeforeLoadCleanerInte... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Cleaner/BeforeLoad/BeforeLoadCleanerTest.php | tests/CfdiUtilsTests/Cleaner/BeforeLoad/BeforeLoadCleanerTest.php | <?php
namespace CfdiUtilsTests\Cleaner\BeforeLoad;
use CfdiUtils\Cleaner\BeforeLoad\BeforeLoadCleaner;
use CfdiUtils\Cleaner\BeforeLoad\BeforeLoadCleanerInterface;
use CfdiUtilsTests\TestCase;
final class BeforeLoadCleanerTest extends TestCase
{
public function testImplementsBeforeLoadCleanerInterface(): void
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/SumasPagos20/CalculateFromCfdiCasesTest.php | tests/CfdiUtilsTests/SumasPagos20/CalculateFromCfdiCasesTest.php | <?php
namespace CfdiUtilsTests\SumasPagos20;
use CfdiUtils\Cfdi;
use CfdiUtils\Nodes\NodeInterface;
use CfdiUtils\SumasPagos20\Calculator;
use CfdiUtils\SumasPagos20\Decimal;
use CfdiUtils\SumasPagos20\Pago;
use CfdiUtilsTests\TestCase;
use LogicException;
final class CalculateFromCfdiCasesTest extends TestCase
{
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/SumasPagos20/DecimalTest.php | tests/CfdiUtilsTests/SumasPagos20/DecimalTest.php | <?php
namespace CfdiUtilsTests\SumasPagos20;
use CfdiUtils\SumasPagos20\Decimal;
use CfdiUtilsTests\TestCase;
final class DecimalTest extends TestCase
{
/** @return array<array{Decimal, Decimal, int}> */
public function providerRound(): array
{
return [
[new Decimal('45740.35'), new D... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/SumasPagos20/PagosWriterTest.php | tests/CfdiUtilsTests/SumasPagos20/PagosWriterTest.php | <?php
declare(strict_types=1);
namespace CfdiUtilsTests\SumasPagos20;
use CfdiUtils\Elements\Pagos20\Pagos as ElementPagos20;
use CfdiUtils\SumasPagos20\Calculator;
use CfdiUtils\SumasPagos20\PagosWriter;
use CfdiUtilsTests\TestCase;
final class PagosWriterTest extends TestCase
{
public function testWritePagoWi... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/SumasPagos20/CalculatorTest.php | tests/CfdiUtilsTests/SumasPagos20/CalculatorTest.php | <?php
namespace CfdiUtilsTests\SumasPagos20;
use CfdiUtils\Nodes\XmlNodeUtils;
use CfdiUtils\SumasPagos20\Calculator;
use CfdiUtils\SumasPagos20\Currencies;
use CfdiUtilsTests\TestCase;
final class CalculatorTest extends TestCase
{
public function testCalculatorDefaultProperties(): void
{
$calculator... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/ConsultaCfdiSat/StatusResponseTest.php | tests/CfdiUtilsTests/ConsultaCfdiSat/StatusResponseTest.php | <?php
namespace CfdiUtilsTests\ConsultaCfdiSat;
use CfdiUtils\ConsultaCfdiSat\StatusResponse;
use CfdiUtilsTests\TestCase;
final class StatusResponseTest extends TestCase
{
public function testConsultaResponseExpectedOk(): void
{
$response = new StatusResponse(
'S - Comprobante obtenido s... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/ConsultaCfdiSat/WebServiceTest.php | tests/CfdiUtilsTests/ConsultaCfdiSat/WebServiceTest.php | <?php
namespace CfdiUtilsTests\ConsultaCfdiSat;
use CfdiUtils\ConsultaCfdiSat\Config;
use CfdiUtils\ConsultaCfdiSat\RequestParameters;
use CfdiUtils\ConsultaCfdiSat\WebService;
use CfdiUtilsTests\TestCase;
use PHPUnit\Framework\MockObject\MockObject;
final class WebServiceTest extends TestCase
{
public function ... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/ConsultaCfdiSat/WebServiceConsumingTest.php | tests/CfdiUtilsTests/ConsultaCfdiSat/WebServiceConsumingTest.php | <?php
namespace CfdiUtilsTests\ConsultaCfdiSat;
use CfdiUtils\ConsultaCfdiSat\Config;
use CfdiUtils\ConsultaCfdiSat\RequestParameters;
use CfdiUtils\ConsultaCfdiSat\StatusResponse;
use CfdiUtils\ConsultaCfdiSat\WebService;
use CfdiUtilsTests\TestCase;
use SoapClient;
use SoapFault;
/**
* This test case is performin... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/ConsultaCfdiSat/RequestParametersTest.php | tests/CfdiUtilsTests/ConsultaCfdiSat/RequestParametersTest.php | <?php
namespace CfdiUtilsTests\ConsultaCfdiSat;
use CfdiUtils\Cfdi;
use CfdiUtils\ConsultaCfdiSat\RequestParameters;
use CfdiUtilsTests\TestCase;
final class RequestParametersTest extends TestCase
{
public function testConstructorAndGetters(): void
{
$parameters = new RequestParameters(
'... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/ConsultaCfdiSat/ConfigTest.php | tests/CfdiUtilsTests/ConsultaCfdiSat/ConfigTest.php | <?php
namespace CfdiUtilsTests\ConsultaCfdiSat;
use CfdiUtils\ConsultaCfdiSat\Config;
use CfdiUtilsTests\TestCase;
final class ConfigTest extends TestCase
{
public function testConstructorDefaultValues(): void
{
$config = new Config();
$this->assertSame(10, $config->getTimeout());
$th... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/SumasConceptos/SumasConceptosWriter33Test.php | tests/CfdiUtilsTests/SumasConceptos/SumasConceptosWriter33Test.php | <?php
namespace CfdiUtilsTests\SumasConceptos;
use CfdiUtils\Elements\Cfdi33\Comprobante as Comprobante33;
use CfdiUtils\SumasConceptos\SumasConceptos;
use CfdiUtils\SumasConceptos\SumasConceptosWriter;
use PHPUnit\Framework\TestCase;
final class SumasConceptosWriter33Test extends TestCase
{
use SumasConceptosWr... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/SumasConceptos/SumasConceptosTest.php | tests/CfdiUtilsTests/SumasConceptos/SumasConceptosTest.php | <?php
namespace CfdiUtilsTests\SumasConceptos;
use CfdiUtils\Elements\Cfdi33\Comprobante;
use CfdiUtils\Elements\ImpLocal10\ImpuestosLocales;
use CfdiUtils\Nodes\Node;
use CfdiUtils\SumasConceptos\SumasConceptos;
use PHPUnit\Framework\TestCase;
final class SumasConceptosTest extends TestCase
{
public function te... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/SumasConceptos/SumasConceptosWriter40Test.php | tests/CfdiUtilsTests/SumasConceptos/SumasConceptosWriter40Test.php | <?php
namespace CfdiUtilsTests\SumasConceptos;
use CfdiUtils\Elements\Cfdi40\Comprobante as Comprobante40;
use CfdiUtils\SumasConceptos\SumasConceptos;
use CfdiUtils\SumasConceptos\SumasConceptosWriter;
use PHPUnit\Framework\TestCase;
final class SumasConceptosWriter40Test extends TestCase
{
use SumasConceptosWr... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/SumasConceptos/SumasConceptosWriterTestTrait.php | tests/CfdiUtilsTests/SumasConceptos/SumasConceptosWriterTestTrait.php | <?php
namespace CfdiUtilsTests\SumasConceptos;
use CfdiUtils\Elements\ImpLocal10\ImpuestosLocales;
use CfdiUtils\Nodes\Node;
use CfdiUtils\Nodes\XmlNodeUtils;
use CfdiUtils\SumasConceptos\SumasConceptos;
use CfdiUtils\SumasConceptos\SumasConceptosWriter;
trait SumasConceptosWriterTestTrait
{
public function test... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/XmlResolver/XmlResolverPropertyTraitTest.php | tests/CfdiUtilsTests/XmlResolver/XmlResolverPropertyTraitTest.php | <?php
namespace CfdiUtilsTests\XmlResolver;
use CfdiUtils\XmlResolver\XmlResolver;
use CfdiUtils\XmlResolver\XmlResolverPropertyInterface;
use CfdiUtils\XmlResolver\XmlResolverPropertyTrait;
use CfdiUtilsTests\TestCase;
final class XmlResolverPropertyTraitTest extends TestCase
{
private XmlResolverPropertyInterf... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/XmlResolver/XmlResolverTest.php | tests/CfdiUtilsTests/XmlResolver/XmlResolverTest.php | <?php
namespace CfdiUtilsTests\XmlResolver;
use CfdiUtils\Certificado\SatCertificateNumber;
use CfdiUtils\XmlResolver\XmlResolver;
use CfdiUtilsTests\TestCase;
use Eclipxe\XmlResourceRetriever\Downloader\DownloaderInterface;
final class XmlResolverTest extends TestCase
{
public function testConstructor(): void
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Certificado/CertificadoTest.php | tests/CfdiUtilsTests/Certificado/CertificadoTest.php | <?php
namespace CfdiUtilsTests\Certificado;
use CfdiUtils\Certificado\Certificado;
use CfdiUtilsTests\TestCase;
final class CertificadoTest extends TestCase
{
public function testConstructWithValidExample(): void
{
// information checked using
// openssl x509 -nameopt utf8,sep_multiline,lname... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Certificado/SerialNumberTest.php | tests/CfdiUtilsTests/Certificado/SerialNumberTest.php | <?php
namespace CfdiUtilsTests\Certificado;
use CfdiUtils\Certificado\SerialNumber;
use PHPUnit\Framework\TestCase;
final class SerialNumberTest extends TestCase
{
public function testAsDecimalAsAscii(): void
{
$input = '3330303031303030303030333030303233373038';
$expectedDecimal = '292233162... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Certificado/SatCertificateNumberTest.php | tests/CfdiUtilsTests/Certificado/SatCertificateNumberTest.php | <?php
namespace CfdiUtilsTests\Certificado;
use CfdiUtils\Certificado\SatCertificateNumber;
use CfdiUtilsTests\TestCase;
final class SatCertificateNumberTest extends TestCase
{
public function providerValidNumbers(): array
{
return [
['00000000000000000000'],
['987654321098765... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Certificado/CerRetrieverTest.php | tests/CfdiUtilsTests/Certificado/CerRetrieverTest.php | <?php
namespace CfdiUtilsTests\Certificado;
use CfdiUtils\Certificado\Certificado;
use CfdiUtils\Certificado\SatCertificateNumber;
use CfdiUtilsTests\TestCase;
final class CerRetrieverTest extends TestCase
{
public function testRetrieveNonExistent(): void
{
// this certificate does not exists in the ... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Certificado/NodeCertificadoTest.php | tests/CfdiUtilsTests/Certificado/NodeCertificadoTest.php | <?php
namespace CfdiUtilsTests\Certificado;
use CfdiUtils\Certificado\NodeCertificado;
use CfdiUtils\Internals\TemporaryFile;
use CfdiUtils\Nodes\XmlNodeUtils;
use CfdiUtilsTests\TestCase;
final class NodeCertificadoTest extends TestCase
{
private function createNodeCertificado(string $contents): NodeCertificado... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Certificado/CertificadoPropertyTest.php | tests/CfdiUtilsTests/Certificado/CertificadoPropertyTest.php | <?php
namespace CfdiUtilsTests\Certificado;
use CfdiUtils\Certificado\Certificado;
use CfdiUtils\Certificado\CertificadoPropertyInterface;
use CfdiUtils\Certificado\CertificadoPropertyTrait;
use CfdiUtilsTests\TestCase;
final class CertificadoPropertyTest extends TestCase
{
public function testCertificadoPropert... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Certificado/CertificateDownloaderHelper.php | tests/CfdiUtilsTests/Certificado/CertificateDownloaderHelper.php | <?php
namespace CfdiUtilsTests\Certificado;
use Eclipxe\XmlResourceRetriever\Downloader\DownloaderInterface;
use Exception;
/**
* This class is a wrapper around PhpDownloader to retry the download if it fails (for any reason).
*
* The reason behind this is that the web server at https://rdc.sat.gob.mx/
* has iss... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Validate/AssertsTest.php | tests/CfdiUtilsTests/Validate/AssertsTest.php | <?php
namespace CfdiUtilsTests\Validate;
use CfdiUtils\Validate\Assert;
use CfdiUtils\Validate\Asserts;
use CfdiUtils\Validate\Status;
use PHPUnit\Framework\TestCase;
final class AssertsTest extends TestCase
{
public function testConstructor(): void
{
$asserts = new Asserts();
$this->assertIn... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Validate/Validate33TestCase.php | tests/CfdiUtilsTests/Validate/Validate33TestCase.php | <?php
namespace CfdiUtilsTests\Validate;
use CfdiUtils\Elements\Cfdi33\Comprobante;
abstract class Validate33TestCase extends ValidateBaseTestCase
{
protected function setUp(): void
{
parent::setUp();
$this->comprobante = new Comprobante();
}
/**
* Use this function to allow cod... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Validate/MultiValidatorFactoryTest.php | tests/CfdiUtilsTests/Validate/MultiValidatorFactoryTest.php | <?php
namespace CfdiUtilsTests\Validate;
use CfdiUtils\Validate\Discoverer;
use CfdiUtils\Validate\MultiValidatorFactory;
use CfdiUtils\Validate\Xml\XmlFollowSchema;
use PHPUnit\Framework\TestCase;
final class MultiValidatorFactoryTest extends TestCase
{
public function testConstructWithoutArguments(): void
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Validate/ValidateBaseTestCase.php | tests/CfdiUtilsTests/Validate/ValidateBaseTestCase.php | <?php
namespace CfdiUtilsTests\Validate;
use CfdiUtils\CadenaOrigen\DOMBuilder;
use CfdiUtils\Certificado\Certificado;
use CfdiUtils\Cfdi;
use CfdiUtils\Nodes\Node;
use CfdiUtils\Nodes\NodeInterface;
use CfdiUtils\Validate\Assert;
use CfdiUtils\Validate\Asserts;
use CfdiUtils\Validate\Contracts\ValidatorInterface;
us... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Validate/StatusTest.php | tests/CfdiUtilsTests/Validate/StatusTest.php | <?php
namespace CfdiUtilsTests\Validate;
use CfdiUtils\Validate\Status;
use PHPUnit\Framework\TestCase;
final class StatusTest extends TestCase
{
public function testConstructWithInvalidCode(): void
{
$this->expectException(\UnexpectedValueException::class);
new Status('foo');
}
publ... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Validate/DiscovererTest.php | tests/CfdiUtilsTests/Validate/DiscovererTest.php | <?php
namespace CfdiUtilsTests\Validate;
use CfdiUtils\Validate\Contracts\ValidatorInterface;
use CfdiUtils\Validate\Discoverer;
use PHPUnit\Framework\TestCase;
final class DiscovererTest extends TestCase
{
public function testDiscoverInFolder(): void
{
$discoverer = new Discoverer();
$namesp... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Validate/AssertTest.php | tests/CfdiUtilsTests/Validate/AssertTest.php | <?php
namespace CfdiUtilsTests\Validate;
use CfdiUtils\Validate\Assert;
use CfdiUtils\Validate\Status;
use PHPUnit\Framework\TestCase;
final class AssertTest extends TestCase
{
public function testConstructor(): void
{
$assert = new Assert('X');
$this->assertSame('X', $assert->getCode());
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Validate/Validate40TestCase.php | tests/CfdiUtilsTests/Validate/Validate40TestCase.php | <?php
namespace CfdiUtilsTests\Validate;
use CfdiUtils\Elements\Cfdi40\Comprobante;
abstract class Validate40TestCase extends ValidateBaseTestCase
{
protected function setUp(): void
{
parent::setUp();
$this->comprobante = new Comprobante();
}
/**
* Use this function to allow cod... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Validate/MultiValidatorTest.php | tests/CfdiUtilsTests/Validate/MultiValidatorTest.php | <?php
namespace CfdiUtilsTests\Validate;
use CfdiUtils\Nodes\Node;
use CfdiUtils\Validate\Asserts;
use CfdiUtils\Validate\Hydrater;
use CfdiUtils\Validate\MultiValidator;
use CfdiUtils\Validate\Status;
use CfdiUtilsTests\TestCase;
use CfdiUtilsTests\Validate\FakeObjects\ImplementationRequireXmlResolverInterface;
use ... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Validate/HydraterTest.php | tests/CfdiUtilsTests/Validate/HydraterTest.php | <?php
namespace CfdiUtilsTests\Validate;
use CfdiUtils\Validate\Hydrater;
use CfdiUtilsTests\TestCase;
use CfdiUtilsTests\Validate\FakeObjects\ImplementationRequireXmlResolverInterface;
use CfdiUtilsTests\Validate\FakeObjects\ImplementationRequireXmlStringInterface;
final class HydraterTest extends TestCase
{
pu... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Validate/Xml/XmlFollowSchemaTest.php | tests/CfdiUtilsTests/Validate/Xml/XmlFollowSchemaTest.php | <?php
namespace CfdiUtilsTests\Validate\Xml;
use CfdiUtils\Cfdi;
use CfdiUtils\Validate\Contracts\ValidatorInterface;
use CfdiUtils\Validate\Status;
use CfdiUtils\Validate\Xml\XmlFollowSchema;
use CfdiUtilsTests\Validate\Validate33TestCase;
final class XmlFollowSchemaTest extends Validate33TestCase
{
/** @var Xm... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
eclipxe13/CfdiUtils | https://github.com/eclipxe13/CfdiUtils/blob/6786b3ee34831ef0d633302226414682a7a35aca/tests/CfdiUtilsTests/Validate/Common/SelloDigitalCertificadoWithCfdiRegistroFiscalTrait.php | tests/CfdiUtilsTests/Validate/Common/SelloDigitalCertificadoWithCfdiRegistroFiscalTrait.php | <?php
namespace CfdiUtilsTests\Validate\Common;
use CfdiUtils\Elements\Tfd11\TimbreFiscalDigital;
use CfdiUtils\Nodes\Node;
use CfdiUtils\Validate\Status;
trait SelloDigitalCertificadoWithCfdiRegistroFiscalTrait
{
public function testFailWhenHasNotCfdiRegistroFiscalAndCertificadosDoNotMatch(): void
{
... | php | MIT | 6786b3ee34831ef0d633302226414682a7a35aca | 2026-01-05T04:57:52.988826Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.