Skip to content

Fix SimpleXMLElement::offsetSet #22163

Fix SimpleXMLElement::offsetSet

Fix SimpleXMLElement::offsetSet #22163

Triggered via pull request August 1, 2025 15:30
Status Failure
Total duration 12m 25s
Artifacts

static-analysis.yml

on: pull_request
Generate baseline
1m 47s
Generate baseline
Generate PHP baseline
1m 39s
Generate PHP baseline
Matrix: PHPStan with result cache
Matrix: PHPStan
Fit to window
Zoom out
Zoom in

Annotations

36 errors
PHPStan with result cache (8.2)
Process completed with exit code 2.
PHPStan with result cache (8.2): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan (8.5, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.5, ubuntu-latest): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan (8.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.4, ubuntu-latest): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan with result cache (8.5)
Process completed with exit code 2.
PHPStan with result cache (8.5): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan (8.2, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.2, ubuntu-latest): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan with result cache (8.3)
Process completed with exit code 2.
PHPStan with result cache (8.3): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan (8.3, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.3, ubuntu-latest): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan with result cache (8.4)
Process completed with exit code 2.
PHPStan with result cache (8.4): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan (8.0, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.0, ubuntu-latest): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan (8.1, ubuntu-latest)
Process completed with exit code 2.
PHPStan (8.1, ubuntu-latest): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan (8.4, windows-latest)
Process completed with exit code 1.
PHPStan (8.4, windows-latest): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan (8.3, windows-latest)
Process completed with exit code 1.
PHPStan (8.3, windows-latest): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan (8.2, windows-latest)
Process completed with exit code 1.
PHPStan (8.2, windows-latest): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan (8.5, windows-latest)
Process completed with exit code 1.
PHPStan (8.5, windows-latest): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan (8.0, windows-latest)
Process completed with exit code 1.
PHPStan (8.0, windows-latest): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan (8.1, windows-latest)
Process completed with exit code 1.
PHPStan (8.1, windows-latest): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan (7.4, ubuntu-latest)
Process completed with exit code 2.
PHPStan (7.4, ubuntu-latest): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()
PHPStan (7.4, windows-latest)
Process completed with exit code 1.
PHPStan (7.4, windows-latest): stubs/iterable.stub#L107
Parameter #1 $key (int|string) of method SimpleXMLElement::offsetSet() should be contravariant with parameter $offset (int|string|null) of method ArrayAccess<int|string,static(SimpleXMLElement)>::offsetSet()