You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 2.20.x:
Introduce testNotListedValueInEnumArray
Fix documentation for JoinColumn nullable (doctrine#11798)
Ignore deprecations from doctrine/common
Fix fields of transient classes being considered duplicate with `reportFieldsWhereDeclared`
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+63Lines changed: 63 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3144,6 +3144,15 @@ parameters:
3144
3144
count:1
3145
3145
path:src/Persisters/SqlValueVisitor.php
3146
3146
3147
+
-
3148
+
message:'''
3149
+
#^Class Doctrine\\ORM\\Proxy\\Autoloader extends deprecated class Doctrine\\Common\\Proxy\\Autoloader\:
3150
+
The Autoloader class is deprecated since doctrine/common 3\.5\.$#
3151
+
'''
3152
+
identifier:class.extendsDeprecatedClass
3153
+
count:1
3154
+
path:src/Proxy/Autoloader.php
3155
+
3147
3156
-
3148
3157
message:'#^Method Doctrine\\ORM\\Proxy\\DefaultProxyClassNameResolver\:\:resolveClassName\(\) should return class\-string\<T of object\> but returns class\-string\<Doctrine\\Persistence\\Proxy\<T of object\>\>\|class\-string\<T of object\>\.$#'
3149
3158
identifier:return.type
@@ -3186,6 +3195,42 @@ parameters:
3186
3195
count:1
3187
3196
path:src/Proxy/ProxyFactory.php
3188
3197
3198
+
-
3199
+
message:'''
3200
+
#^Call to method __construct\(\) of deprecated class Doctrine\\Common\\Proxy\\AbstractProxyFactory\:
3201
+
The AbstractProxyFactory class is deprecated since doctrine/common 3\.5\.$#
3202
+
'''
3203
+
identifier:staticMethod.deprecatedClass
3204
+
count:1
3205
+
path:src/Proxy/ProxyFactory.php
3206
+
3207
+
-
3208
+
message:'''
3209
+
#^Call to method generateProxyClasses\(\) of deprecated class Doctrine\\Common\\Proxy\\AbstractProxyFactory\:
3210
+
The AbstractProxyFactory class is deprecated since doctrine/common 3\.5\.$#
3211
+
'''
3212
+
identifier:staticMethod.deprecatedClass
3213
+
count:1
3214
+
path:src/Proxy/ProxyFactory.php
3215
+
3216
+
-
3217
+
message:'''
3218
+
#^Call to method getProxy\(\) of deprecated class Doctrine\\Common\\Proxy\\AbstractProxyFactory\:
3219
+
The AbstractProxyFactory class is deprecated since doctrine/common 3\.5\.$#
3220
+
'''
3221
+
identifier:staticMethod.deprecatedClass
3222
+
count:1
3223
+
path:src/Proxy/ProxyFactory.php
3224
+
3225
+
-
3226
+
message:'''
3227
+
#^Class Doctrine\\ORM\\Proxy\\ProxyFactory extends deprecated class Doctrine\\Common\\Proxy\\AbstractProxyFactory\:
3228
+
The AbstractProxyFactory class is deprecated since doctrine/common 3\.5\.$#
3229
+
'''
3230
+
identifier:class.extendsDeprecatedClass
3231
+
count:1
3232
+
path:src/Proxy/ProxyFactory.php
3233
+
3189
3234
-
3190
3235
message:'#^Comparison operation "\<" between 0\|1\|2\|3\|4 and 0 is always false\.$#'
3191
3236
identifier:smaller.alwaysFalse
@@ -3198,6 +3243,15 @@ parameters:
3198
3243
count:1
3199
3244
path:src/Proxy/ProxyFactory.php
3200
3245
3246
+
-
3247
+
message:'''
3248
+
#^Instantiation of deprecated class Doctrine\\Common\\Proxy\\ProxyGenerator\:
3249
+
The ProxyGenerator class is deprecated since doctrine/common 3\.5\.$#
3250
+
'''
3251
+
identifier:new.deprecated
3252
+
count:1
3253
+
path:src/Proxy/ProxyFactory.php
3254
+
3201
3255
-
3202
3256
message:'#^Method Doctrine\\ORM\\Proxy\\ProxyFactory\:\:createCloner\(\) has Doctrine\\ORM\\EntityNotFoundException in PHPDoc @throws tag but it''s not thrown\.$#'
3203
3257
identifier:throws.unusedType
@@ -3336,6 +3390,15 @@ parameters:
3336
3390
count:1
3337
3391
path:src/Proxy/ProxyFactory.php
3338
3392
3393
+
-
3394
+
message:'''
3395
+
#^Return type of method Doctrine\\ORM\\Proxy\\ProxyFactory\:\:getProxy\(\) has typehint with deprecated interface Doctrine\\Common\\Proxy\\Proxy\:
3396
+
The Proxy interface is deprecated since doctrine/common 3\.5\.$#
3397
+
'''
3398
+
identifier:return.deprecatedInterface
3399
+
count:1
3400
+
path:src/Proxy/ProxyFactory.php
3401
+
3339
3402
-
3340
3403
message:'#^Call to function method_exists\(\) with ''Doctrine\\\\DBAL\\\\Cache\\\\QueryCacheProfile'' and ''getResultCache'' will always evaluate to true\.$#'
0 commit comments