Skip to content

Commit 7fce4eb

Browse files
authored
Merge pull request api-platform#5319 from soyuka/3.0
Merge 2.7
2 parents 9632b64 + 3252696 commit 7fce4eb

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ jobs:
172172
if: matrix.coverage
173173
uses: codecov/codecov-action@v3
174174
with:
175+
directory: build/logs/phpunit
175176
name: phpunit-php${{ matrix.php }}
176177
flags: phpunit
177178
fail_ci_if_error: true
@@ -257,6 +258,7 @@ jobs:
257258
if: matrix.coverage
258259
uses: codecov/codecov-action@v3
259260
with:
261+
directory: build/logs/behat
260262
name: behat-php${{ matrix.php }}
261263
flags: behat
262264
fail_ci_if_error: true
@@ -469,6 +471,7 @@ jobs:
469471
- name: Upload coverage results to Codecov
470472
uses: codecov/codecov-action@v3
471473
with:
474+
directory: build/logs/behat
472475
name: behat-php${{ matrix.php }}
473476
flags: behat
474477
fail_ci_if_error: true

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"require-dev": {
3030
"behat/behat": "^3.1",
3131
"behat/mink": "^1.9@dev",
32-
"soyuka/contexts": "dev-main",
3332
"doctrine/cache": "^1.11 || ^2.1",
3433
"doctrine/common": "^2.11 || ^3.0",
3534
"doctrine/data-fixtures": "^1.2.2",
@@ -56,7 +55,7 @@
5655
"psr/log": "^1.0 || ^2.0 || ^3.0",
5756
"ramsey/uuid": "^3.7 || ^4.0",
5857
"ramsey/uuid-doctrine": "^1.4",
59-
"rector/rector": "^0.13.9",
58+
"soyuka/contexts": "^3.3.6",
6059
"soyuka/stubs-mongodb": "^1.0",
6160
"symfony/asset": "^6.1",
6261
"symfony/browser-kit": "^6.1",

src/Doctrine/Orm/Util/QueryBuilderHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ public static function addJoinOnce(QueryBuilder $queryBuilder, QueryNameGenerato
4343
$query = "$alias.$association";
4444

4545
if (Join::LEFT_JOIN === $joinType || QueryChecker::hasLeftJoin($queryBuilder)) {
46-
$queryBuilder->leftJoin($query, $associationAlias, $conditionType, $condition); // @phpstan-ignore-line
46+
$queryBuilder->leftJoin($query, $associationAlias, $conditionType, $condition);
4747
} else {
48-
$queryBuilder->innerJoin($query, $associationAlias, $conditionType, $condition); // @phpstan-ignore-line
48+
$queryBuilder->innerJoin($query, $associationAlias, $conditionType, $condition);
4949
}
5050

5151
return $associationAlias;

tests/Doctrine/Orm/Extension/EagerLoadingExtensionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ public function testApplyToCollectionWithExistingJoin(string $joinType): void
830830
$queryBuilderProphecy->getEntityManager()->willReturn($emProphecy);
831831
$queryBuilderProphecy->getDQLPart('join')->willReturn([
832832
'o' => [
833-
new Join($joinType, 'o.relatedDummy', 'existing_join_alias'), // @phpstan-ignore-line
833+
new Join($joinType, 'o.relatedDummy', 'existing_join_alias'),
834834
],
835835
]);
836836
$queryBuilderProphecy->getDQLPart('select')->willReturn([]);

0 commit comments

Comments
 (0)