Skip to content

Declare Connection::fetch methods as impure #1594

Declare Connection::fetch methods as impure

Declare Connection::fetch methods as impure #1594

Triggered via pull request November 3, 2025 12:05
Status Failure
Total duration 1m 43s
Artifacts

build.yml

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

Annotations

3 errors
PHPStan (7.4)
Process completed with exit code 2.
PHPStan (7.4): stubs/DBAL/Connection.stub#L99
Method Doctrine\DBAL\Connection::fetchNumeric() uses native union types but they're supported only on PHP 8.0 and later.
PHPStan (7.4): stubs/DBAL/Connection.stub#L87
Method Doctrine\DBAL\Connection::fetchAssociative() uses native union types but they're supported only on PHP 8.0 and later.