Skip to content

Introduce default hydration mode #1550

Introduce default hydration mode

Introduce default hydration mode #1550

Triggered via pull request October 25, 2025 16:33
Status Failure
Total duration 1m 41s
Artifacts

build.yml

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

Annotations

35 errors
PHPStan (8.4)
Process completed with exit code 2.
PHPStan (8.4): tests/Type/Doctrine/Query/QueryResultTypeWalkerHydrationModeTest.php#L102
Parameter #1 $query of method PHPStan\Type\Doctrine\Query\QueryResultTypeWalkerHydrationModeTest::getQueryResult() expects Doctrine\ORM\Query<mixed, mixed, 1>, Doctrine\ORM\Query<mixed, mixed> given.
PHPStan (8.4): tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php#L5086
Method PHPStan\Platform\QueryResultTypeWalkerFetchTypeMatrixTest::cloneQueryAndInjectConnectionWithUnknownPdoMysqlDriver() should return Doctrine\ORM\Query<null, mixed> but returns Doctrine\ORM\Query<mixed, mixed, int>.
PHPStan (8.1)
Process completed with exit code 2.
PHPStan (8.1): tests/Type/Doctrine/Query/QueryResultTypeWalkerHydrationModeTest.php#L102
Parameter #1 $query of method PHPStan\Type\Doctrine\Query\QueryResultTypeWalkerHydrationModeTest::getQueryResult() expects Doctrine\ORM\Query<mixed, mixed, 1>, Doctrine\ORM\Query<mixed, mixed> given.
PHPStan (8.1): tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php#L5086
Method PHPStan\Platform\QueryResultTypeWalkerFetchTypeMatrixTest::cloneQueryAndInjectConnectionWithUnknownPdoMysqlDriver() should return Doctrine\ORM\Query<null, mixed> but returns Doctrine\ORM\Query<mixed, mixed, int>.
PHPStan (8.3)
Process completed with exit code 2.
PHPStan (8.3): tests/Type/Doctrine/Query/QueryResultTypeWalkerHydrationModeTest.php#L102
Parameter #1 $query of method PHPStan\Type\Doctrine\Query\QueryResultTypeWalkerHydrationModeTest::getQueryResult() expects Doctrine\ORM\Query<mixed, mixed, 1>, Doctrine\ORM\Query<mixed, mixed> given.
PHPStan (8.3): tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php#L5086
Method PHPStan\Platform\QueryResultTypeWalkerFetchTypeMatrixTest::cloneQueryAndInjectConnectionWithUnknownPdoMysqlDriver() should return Doctrine\ORM\Query<null, mixed> but returns Doctrine\ORM\Query<mixed, mixed, int>.
PHPStan (7.4)
Process completed with exit code 2.
PHPStan (7.4): tests/Type/Doctrine/Query/QueryResultTypeWalkerHydrationModeTest.php#L102
Parameter #1 $query of method PHPStan\Type\Doctrine\Query\QueryResultTypeWalkerHydrationModeTest::getQueryResult() expects Doctrine\ORM\Query<mixed, mixed, 1>, Doctrine\ORM\Query<mixed, mixed> given.
PHPStan (7.4): tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php#L5086
Method PHPStan\Platform\QueryResultTypeWalkerFetchTypeMatrixTest::cloneQueryAndInjectConnectionWithUnknownPdoMysqlDriver() should return Doctrine\ORM\Query<null, mixed> but returns Doctrine\ORM\Query<mixed, mixed, int>.
PHPStan (7.4): stubs/ORM/AbstractQuery.stub#L93
Method Doctrine\ORM\AbstractQuery::setHydrationMode() uses native union types but they're supported only on PHP 8.0 and later.
PHPStan (8.0)
Process completed with exit code 2.
PHPStan (8.0): tests/Type/Doctrine/Query/QueryResultTypeWalkerHydrationModeTest.php#L102
Parameter #1 $query of method PHPStan\Type\Doctrine\Query\QueryResultTypeWalkerHydrationModeTest::getQueryResult() expects Doctrine\ORM\Query<mixed, mixed, 1>, Doctrine\ORM\Query<mixed, mixed> given.
PHPStan (8.0): tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php#L5086
Method PHPStan\Platform\QueryResultTypeWalkerFetchTypeMatrixTest::cloneQueryAndInjectConnectionWithUnknownPdoMysqlDriver() should return Doctrine\ORM\Query<null, mixed> but returns Doctrine\ORM\Query<mixed, mixed, int>.
PHPStan (8.2)
Process completed with exit code 2.
PHPStan (8.2): tests/Type/Doctrine/Query/QueryResultTypeWalkerHydrationModeTest.php#L102
Parameter #1 $query of method PHPStan\Type\Doctrine\Query\QueryResultTypeWalkerHydrationModeTest::getQueryResult() expects Doctrine\ORM\Query<mixed, mixed, 1>, Doctrine\ORM\Query<mixed, mixed> given.
PHPStan (8.2): tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php#L5086
Method PHPStan\Platform\QueryResultTypeWalkerFetchTypeMatrixTest::cloneQueryAndInjectConnectionWithUnknownPdoMysqlDriver() should return Doctrine\ORM\Query<null, mixed> but returns Doctrine\ORM\Query<mixed, mixed, int>.
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/Type/Doctrine/Query/QueryResultTypeWalkerHydrationModeTest.php#L102
Parameter #1 $query of method PHPStan\Type\Doctrine\Query\QueryResultTypeWalkerHydrationModeTest::getQueryResult() expects Doctrine\ORM\Query<mixed, mixed, 1>, Doctrine\ORM\Query<mixed, mixed> given.
PHPStan (8.3, composer require --dev doctrine/orm:^3.0 doctrine/dbal:^4.0 carbonphp/carbon-doctri...: tests/Platform/QueryResultTypeWalkerFetchTypeMatrixTest.php#L5086
Method PHPStan\Platform\QueryResultTypeWalkerFetchTypeMatrixTest::cloneQueryAndInjectConnectionWithUnknownPdoMysqlDriver() should return Doctrine\ORM\Query<null, mixed> but returns Doctrine\ORM\Query<mixed, mixed, int>.
Tests (8.4, highest)
Process completed with exit code 2.
Tests (8.2, lowest)
Process completed with exit code 2.
Tests (8.1, highest)
Process completed with exit code 2.
Tests (8.3, highest)
Process completed with exit code 2.
Tests (8.4, lowest)
Process completed with exit code 2.
Tests (8.3, lowest)
Process completed with exit code 2.
Tests (8.2, highest)
Process completed with exit code 2.
Tests (8.0, highest)
Process completed with exit code 2.
Tests (7.4, lowest)
Process completed with exit code 2.
Tests (8.0, lowest)
Process completed with exit code 2.
Tests (8.1, lowest)
Process completed with exit code 2.
Tests (7.4, highest)
Process completed with exit code 2.