Skip to content

Commit 4563f2f

Browse files
authored
Merge pull request doctrine#11737 from doctrine/2.20.x
Merge 2.20.x up into 2.21.x
2 parents 91201c0 + 7c0eebe commit 4563f2f

File tree

7 files changed

+3819
-248
lines changed

7 files changed

+3819
-248
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/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: 3784 additions & 244 deletions
Large diffs are not rendered by default.

phpstan-dbal2.neon

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,19 @@ parameters:
6666
message: '~deprecated class Doctrine\\DBAL\\Tools\\Console\\Command\\ImportCommand\:~'
6767
path: src/Tools/Console/ConsoleRunner.php
6868

69+
-
70+
message: '#^Method Doctrine\\ORM\\AbstractQuery\:\:getHydrationCacheId\(\) should return array\{string, string\} but returns array\<string\>\.$#'
71+
path: src/AbstractQuery.php
72+
73+
-
74+
message: '#^Method Doctrine\\ORM\\Internal\\Hydration\\AbstractHydrator\:\:\w+\(\) has parameter \$stmt with no value type specified in iterable type Doctrine\\DBAL\\Driver\\ResultStatement\.$#'
75+
path: src/Internal/Hydration/AbstractHydrator.php
76+
77+
-
78+
message: '#^Parameter \#1 \$key of method Psr\\Cache\\CacheItemPoolInterface\:\:deleteItem\(\) expects string, string\|false given\.$#'
79+
path: src/Query
80+
81+
6982
# Symfony cache supports passing a key prefix to the clear method.
7083
- '/^Method Psr\\Cache\\CacheItemPoolInterface\:\:clear\(\) invoked with 1 parameter, 0 required\.$/'
7184

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

phpstan-persistence2.neon

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,21 @@ parameters:
8282
-
8383
message: '~deprecated class Doctrine\\Common\\Persistence\\PersistentObject\:~'
8484
path: src/EntityManager.php
85+
86+
-
87+
message: '#Cannot access offset \S+ on .*ClassMetadata.*#'
88+
paths:
89+
- src/Mapping/Driver/XmlDriver.php
90+
- src/Mapping/Driver/YamlDriver.php
91+
92+
-
93+
message: '#^Parameter \#1 \$orderings of method Doctrine\\Common\\Collections\\Criteria\:\:orderBy\(\) expects array\<string\>, array\<string, Doctrine\\Common\\Collections\\Order\|string\> given\.$#'
94+
path: src/PersistentCollection.php
95+
96+
-
97+
message: '#^Parameter \#5 \.\.\.\$args of static method Doctrine\\Deprecations\\Deprecation\:\:trigger\(\) expects float\|int\|string, string\|false given\.$#'
98+
path: src/Mapping/ClassMetadataFactory.php
99+
100+
-
101+
message: '#^Parameter \#1 \$classNames of method Doctrine\\ORM\\Mapping\\ClassMetadataInfo\<object\>\:\:setParentClasses\(\) expects array\<int, class\-string\>, array\<string\> given\.$#'
102+
path: src/Mapping/ClassMetadataFactory.php

0 commit comments

Comments
 (0)