Skip to content

Mark all result methods in AbstractQuery as impure #1307

Mark all result methods in AbstractQuery as impure

Mark all result methods in AbstractQuery as impure #1307

Triggered via pull request December 2, 2024 10:35
Status Failure
Total duration 1m 31s
Artifacts

build.yml

on: pull_request
Coding Standard
16s
Coding Standard
Matrix: Lint
Matrix: PHPStan
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

4 errors
PHPStan (7.4): stubs/ORM/AbstractQuery.stub#L30
Method Doctrine\ORM\AbstractQuery::getResult() uses native union types but they're supported only on PHP 8.0 and later.
PHPStan (7.4): stubs/ORM/AbstractQuery.stub#L63
Method Doctrine\ORM\AbstractQuery::getOneOrNullResult() uses native union types but they're supported only on PHP 8.0 and later.
PHPStan (7.4): stubs/ORM/AbstractQuery.stub#L73
Method Doctrine\ORM\AbstractQuery::getSingleResult() uses native union types but they're supported only on PHP 8.0 and later.
PHPStan (7.4)
Process completed with exit code 2.