Skip to content

Commit b1d176e

Browse files
authored
UPGRADING: fix missing backticks
1 parent 25cd191 commit b1d176e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

UPGRADING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -287,15 +287,15 @@ Instead of `AccessoryArrayListType::intersectWith($type)`, do `TypeCombinator::i
287287
* Remove `TypeUtils::getEnumCaseObjects()`, use [`Type::getEnumCases()`](https://apiref.phpstan.org/2.0.x/PHPStan.Type.Type.html#_getEnumCases) instead
288288
* Remove `TypeUtils::containsCallable()`, use [`Type::isCallable()`](https://apiref.phpstan.org/2.0.x/PHPStan.Type.Type.html#_isCallable) instead
289289
* Removed `Scope::doNotTreatPhpDocTypesAsCertain()`, use `getNativeType()` instead
290-
* Parameter `$isList` in `ConstantArrayType` constructor can only be `TrinaryLogic`, no longer bool
291-
* Parameter `$nextAutoIndexes` in `ConstantArrayType` constructor can only be `non-empty-list<int>`, no longer int
290+
* Parameter `$isList` in `ConstantArrayType` constructor can only be `TrinaryLogic`, no longer `bool`
291+
* Parameter `$nextAutoIndexes` in `ConstantArrayType` constructor can only be `non-empty-list<int>`, no longer `int`
292292
* Remove `ConstantType` interface, use [`Type::isConstantValue()`](https://apiref.phpstan.org/2.0.x/PHPStan.Type.Type.html#_isConstantValue) instead
293293
* `acceptsNamedArguments()` in `FunctionReflection`, `ExtendedMethodReflection` and `CallableParametersAcceptor` interfaces returns `TrinaryLogic` instead of `bool`
294294
* Remove `FunctionReflection::isFinal()`
295295
* [`Type::getProperty()`](https://apiref.phpstan.org/2.0.x/PHPStan.Type.Type.html#_getProperty) now returns [`ExtendedPropertyReflection`](https://apiref.phpstan.org/2.0.x/PHPStan.Reflection.ExtendedPropertyReflection.html)
296296
* `additionalConfigFiles` config parameter must be a list
297297
* Remove `__set_state()` on objects that should not be serialized in cache
298-
* Parameter `$selfClass` of [`TypehintHelper::decideTypeFromReflection()`](https://apiref.phpstan.org/2.0.x/PHPStan.Type.TypehintHelper.html#_decideTypeFromReflection) no longer accepts string
298+
* Parameter `$selfClass` of [`TypehintHelper::decideTypeFromReflection()`](https://apiref.phpstan.org/2.0.x/PHPStan.Type.TypehintHelper.html#_decideTypeFromReflection) no longer accepts `string`
299299
* Remove `fixerTmpDir` config parameter, use `pro.tmpDir` instead
300300
* Remove `tempResultCachePath` config parameter, use `resultCachePath` instead
301301
* `LevelsTestCase::dataTopics()` data provider made static
@@ -309,5 +309,5 @@ Instead of `AccessoryArrayListType::intersectWith($type)`, do `TypeCombinator::i
309309
* Added more methods around PHPDoc types and native types to the (new) `ClassConstantReflection`
310310
* Interface `GlobalConstantReflection` renamed to `ConstantReflection`
311311
* Renamed interfaces and classes from `*WithPhpDocs` to `Extended*`
312-
* `ClassPropertyNode::getNativeType()` return type changed from AST node to `Type|null
312+
* `ClassPropertyNode::getNativeType()` return type changed from AST node to `Type|null`
313313
* Class `PHPStan\Node\ClassMethod` (accessible from `ClassMethodsNode`) is no longer an AST node

0 commit comments

Comments
 (0)