Skip to content

Fix SimpleXMLElement::offsetSet #21914

Fix SimpleXMLElement::offsetSet

Fix SimpleXMLElement::offsetSet #21914

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

e2e-tests.yml

on: pull_request
Matrix: E2E tests
Matrix: Result cache E2E tests
Fit to window
Zoom out
Zoom in

Annotations

50 errors
Result cache E2E tests (cd e2e/result-cache-4 echo -n > phpstan-baseline.neon ../../bin/phpstan -...: 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()
Result cache E2E tests (cd e2e/result-cache-1 echo -n > phpstan-baseline.neon ../../bin/phpstan -...: 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()
Result cache E2E tests (cd e2e/result-cache-2 echo -n > phpstan-baseline.neon ../../bin/phpstan -...: 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()
Result cache E2E tests (cd e2e/result-cache-5 echo -n > phpstan-baseline.neon ../../bin/phpstan -...: 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()
Result cache E2E tests (cd e2e/result-cache-3 echo -n > phpstan-baseline.neon ../../bin/phpstan -...: 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()
Result cache E2E tests (cd e2e/bug-9622 echo -n > phpstan-baseline.neon ../../bin/phpstan -vvv pa...: 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()
E2E tests (cd e2e/baseline-uninit-prop-trait ../../bin/phpstan analyse --debug --configuration te...: 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()
Result cache E2E tests (cd e2e/bug-11857 composer install ../../bin/phpstan )
Process completed with exit code 1.
Result cache E2E tests (cd e2e/bug-11857 composer install ../../bin/phpstan ): 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()
Result cache E2E tests (cd e2e/bug-11826 composer install OUTPUT=$(../bashunit -a exit_code "1" "...
Child process error (exit code 255): PHP Fatal error: A class constant must not be called 'class'; it is reserved for class name fetching in /home/runner/work/phpstan-src/phpstan-src/e2e/bug-11826/src/FatalErrorWhenAutoloaded.php on line 9 Fatal error: A class constant must not be called 'class'; it is reserved for class name fetching in /home/runner/work/phpstan-src/phpstan-src/e2e/bug-11826/src/FatalErrorWhenAutoloaded.php on line 9 while running parallel worker
Result cache E2E tests (cd e2e/bug-9622-trait echo -n > phpstan-baseline.neon ../../bin/phpstan -...: 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()
Result cache E2E tests (cd e2e/result-cache-scanned ../../bin/phpstan patch -b src/Generated/Foo....: 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()
E2E tests (bin/phpstan analyse e2e/only-files-not-analysed-trait/src -c e2e/only-files-not-analys...: 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()
Result cache E2E tests (cd e2e/bug10449b ../../bin/phpstan analyze git apply patch.diff rm phpsta...: 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()
Result cache E2E tests (cd e2e/bug10449 ../../bin/phpstan analyze git apply patch.diff rm phpstan...: 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()
Result cache E2E tests (cd e2e/result-cache-6 echo -n > phpstan-baseline.neon ../../bin/phpstan -...: 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()
Result cache E2E tests (cd e2e/bug-12606 export CONFIGTEST=test ../../bin/phpstan ): 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()
Result cache E2E tests (cd e2e/ignore-error-extension composer install ../../bin/phpstan ): 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()
Result cache E2E tests (cd e2e/result-cache-8 composer install ../../bin/phpstan echo -en '\n' >>...: 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()
E2E tests (cd e2e/discussion-11362 composer install ../../bin/phpstan )
Process completed with exit code 1.
E2E tests (cd e2e/discussion-11362 composer install ../../bin/phpstan ): 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()
Result cache E2E tests (cd e2e/result-cache-traits ../../bin/phpstan analyse patch -b src/FooTrai...: 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()
Result cache E2E tests (cd e2e/result-cache-meta-extension composer install ../../bin/phpstan -vv...: 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()
Result cache E2E tests (cd e2e/result-cache-7 echo -n > phpstan-baseline.neon ../../bin/phpstan -...: 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()