Skip to content

Commit 6007154

Browse files
authored
Merge pull request #11746 from greg0ire/3.4.x
Merge 2.21.x up into 3.4.x
2 parents 50d7a0f + 22ce0af commit 6007154

File tree

7 files changed

+2553
-136
lines changed

7 files changed

+2553
-136
lines changed

.github/workflows/coding-standards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ on:
2424

2525
jobs:
2626
coding-standards:
27-
uses: "doctrine/.github/.github/workflows/coding-standards.yml@5.2.0"
27+
uses: "doctrine/.github/.github/workflows/coding-standards.yml@5.3.0"

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,8 @@ jobs:
323323
upload_coverage:
324324
name: "Upload coverage to Codecov"
325325
runs-on: "ubuntu-22.04"
326+
# Only run on PRs from forks
327+
if: "github.event.pull_request.head.repo.full_name != github.repository"
326328
needs:
327329
- "phpunit-smoke-check"
328330
- "phpunit-postgres"

.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ on:
1717
jobs:
1818
documentation:
1919
name: "Documentation"
20-
uses: "doctrine/.github/.github/workflows/documentation.yml@5.2.0"
20+
uses: "doctrine/.github/.github/workflows/documentation.yml@5.3.0"

.github/workflows/release-on-milestone-closed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
release:
10-
uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@5.2.0"
10+
uses: "doctrine/.github/.github/workflows/release-on-milestone-closed.yml@5.3.0"
1111
secrets:
1212
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
1313
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}

phpstan-baseline.neon

Lines changed: 2525 additions & 130 deletions
Large diffs are not rendered by default.

phpstan-dbal3.neon

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ includes:
33
- phpstan-params.neon
44

55
parameters:
6+
reportUnmatchedIgnoredErrors: false # Some errors in the baseline only apply to DBAL 4
67
ignoreErrors:
78
# Symfony cache supports passing a key prefix to the clear method.
89
- '/^Method Psr\\Cache\\CacheItemPoolInterface\:\:clear\(\) invoked with 1 parameter, 0 required\.$/'
@@ -16,9 +17,10 @@ parameters:
1617
-
1718
message: '~^Method Doctrine\\ORM\\Query\\AST\\Functions\\TrimFunction::getTrimMode\(\) never returns .* so it can be removed from the return type\.$~'
1819
path: src/Query/AST/Functions/TrimFunction.php
20+
1921
-
20-
message: '~^Method Doctrine\\ORM\\Persisters\\Entity\\BasicEntityPersister\:\:getArrayBindingType\(\) never returns .* so it can be removed from the return type\.$~'
21-
path: src/Persisters/Entity/BasicEntityPersister.php
22+
message: '~.*getTrimExpression.*expects int.*~'
23+
path: src/Query/AST/Functions/TrimFunction.php
2224

2325
- '~^Class Doctrine\\DBAL\\Platforms\\SQLitePlatform not found\.$~'
2426

@@ -39,3 +41,21 @@ parameters:
3941
-
4042
message: '#Expression on left side of \?\? is not nullable.#'
4143
path: src/Mapping/Driver/AttributeDriver.php
44+
45+
-
46+
message: '~^Method Doctrine\\ORM\\Persisters\\Entity\\BasicEntityPersister\:\:getArrayBindingType\(\) never returns .* so it can be removed from the return type\.$~'
47+
path: src/Persisters/Entity/BasicEntityPersister.php
48+
49+
-
50+
message: '~getTypes.*should return~'
51+
path: src/Persisters/Entity/BasicEntityPersister.php
52+
53+
-
54+
message: '~.*appendLockHint.*expects.*LockMode given~'
55+
paths:
56+
- src/Persisters/Entity/BasicEntityPersister.php
57+
- src/Persisters/Entity/JoinedSubclassPersister.php
58+
59+
-
60+
message: '~.*executeStatement.*expects~'
61+
path: src/Query/Exec/MultiTableUpdateExecutor.php

phpstan-params.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
level: 5
2+
level: 7
33
paths:
44
- src
55
- tests/StaticAnalysis

0 commit comments

Comments
 (0)