Mantenimiento y corrección del build (versión 2.0.6) #41
Annotations
7 warnings
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
infection:
src/XmlCancelacionHelper.php#L69
Escaped Mutant for Mutator "PublicVisibility":
@@ @@
return $this->setCredentials($credentials);
}
- public function createDateTime(?DateTimeImmutable $dateTime): DateTimeImmutable
+ protected function createDateTime(?DateTimeImmutable $dateTime): DateTimeImmutable
{
if (null === $dateTime) {
return new DateTimeImmutable();
|
|
infection:
src/Signers/DOMSigner.php#L96
Escaped Mutant for Mutator "ProtectedVisibility":
@@ @@
$signature->appendChild($document->importNode($keyInfoElement, self::IMPORT_NODE_DEEP));
}
- protected function createSignedInfoElement(): DOMElement
+ private function createSignedInfoElement(): DOMElement
{
$template = '<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
|
|
infection:
src/Signers/CreateKeyInfoElementTrait.php#L13
Escaped Mutant for Mutator "ProtectedVisibility":
@@ @@
trait CreateKeyInfoElementTrait
{
/** @param array<mixed> $pubKeyData */
- protected function createKeyInfoElement(
+ private function createKeyInfoElement(
DOMDocument $document,
string $issuerName,
string $serialNumber,
|
|
infection:
src/Credentials.php#L102
Escaped Mutant for Mutator "ProtectedVisibility":
@@ @@
}
/** @throws CertificateIsNotCSD */
- protected function setCsd(Credential $credential): void
+ private function setCsd(Credential $credential): void
{
if (! $credential->isCsd()) {
throw new CertificateIsNotCSD($credential->certificate()->serialNumber()->bytes());
|
|
infection:
src/Credentials.php#L96
Escaped Mutant for Mutator "ReturnRemoval":
@@ @@
if (null === $this->csd) {
$credential = $this->makePhpCfdiCredential();
$this->setCsd($credential);
- return $credential;
+
}
return $this->csd;
}
|
|
infection:
src/Credentials.php#L91
Escaped Mutant for Mutator "ProtectedVisibility":
@@ @@
}
}
- protected function getCsd(): Credential
+ private function getCsd(): Credential
{
if (null === $this->csd) {
$credential = $this->makePhpCfdiCredential();
|
background
wait
wait-all
cancel
Loading