Skip to content

Use templating to allow a more flexible type inference in QueryBuilder::setParameters() method #7384

Use templating to allow a more flexible type inference in QueryBuilder::setParameters() method

Use templating to allow a more flexible type inference in QueryBuilder::setParameters() method #7384

static-analysis.yml

on: pull_request
Matrix: Static Analysis with PHPStan
Matrix: Static Analysis with Psalm
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 7 warnings
Static Analysis with PHPStan (default, phpstan.neon): src/QueryBuilder.php#L478
Property Doctrine\ORM\QueryBuilder::$parameters (Doctrine\Common\Collections\ArrayCollection<int, Doctrine\ORM\Query\Parameter>) does not accept Doctrine\Common\Collections\ArrayCollection<TKey of int, Doctrine\ORM\Query\Parameter>.
Static Analysis with PHPStan (default, phpstan.neon)
Process completed with exit code 1.
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon)
The job was canceled because "default_phpstan_neon" failed.
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon): src/QueryBuilder.php#L478
Property Doctrine\ORM\QueryBuilder::$parameters (Doctrine\Common\Collections\ArrayCollection<int, Doctrine\ORM\Query\Parameter>) does not accept Doctrine\Common\Collections\ArrayCollection<TKey of int, Doctrine\ORM\Query\Parameter>.
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon)
The operation was canceled.
Static Analysis with Psalm (3.8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Analysis with Psalm (3.8.2)
The process '/usr/bin/git' failed with exit code 128
Static Analysis with PHPStan (default, phpstan.neon)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Analysis with PHPStan (default, phpstan.neon)
The process '/usr/bin/git' failed with exit code 128
Static Analysis with PHPStan (3.8.2, phpstan-dbal3.neon)
The process '/usr/bin/git' failed with exit code 128
Static Analysis with Psalm (default)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Static Analysis with Psalm (default)
The process '/usr/bin/git' failed with exit code 128