Skip to content

Commit d598545

Browse files
committed
Move upgrading notes
1 parent f1853a8 commit d598545

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: UPGRADING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ Tags without a PHP version are no longer published - `nightly`, `2`, `latest` ar
113113
* Removed unused config parameter `memoryLimitFile`
114114
* Removed unused feature toggle `disableRuntimeReflectionProvider`
115115
* Removed unused config parameter `staticReflectionClassNamePatterns`
116+
* Remove `fixerTmpDir` config parameter, use `pro.tmpDir` instead
117+
* Remove `tempResultCachePath` config parameter, use `resultCachePath` instead
118+
* `additionalConfigFiles` config parameter must be a list
116119

117120
## Upgrading guide for extension developers
118121

@@ -305,11 +308,8 @@ Instead of `AccessoryArrayListType::intersectWith($type)`, do `TypeCombinator::i
305308
* `acceptsNamedArguments()` in `FunctionReflection`, `ExtendedMethodReflection` and `CallableParametersAcceptor` interfaces returns `TrinaryLogic` instead of `bool`
306309
* Remove `FunctionReflection::isFinal()`
307310
* [`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)
308-
* `additionalConfigFiles` config parameter must be a list
309311
* Remove `__set_state()` on objects that should not be serialized in cache
310312
* Parameter `$selfClass` of [`TypehintHelper::decideTypeFromReflection()`](https://apiref.phpstan.org/2.0.x/PHPStan.Type.TypehintHelper.html#_decideTypeFromReflection) no longer accepts `string`
311-
* Remove `fixerTmpDir` config parameter, use `pro.tmpDir` instead
312-
* Remove `tempResultCachePath` config parameter, use `resultCachePath` instead
313313
* `LevelsTestCase::dataTopics()` data provider made static
314314
* `PHPStan\Node\Printer\Printer` no longer autowired as `PhpParser\PrettyPrinter\Standard`, use `PHPStan\Node\Printer\Printer` in the typehint
315315
* Remove `Type::acceptsWithReason()`, `Type:accepts()` return type changed from `TrinaryLogic` to [`AcceptsResult`](https://apiref.phpstan.org/2.0.x/PHPStan.Type.AcceptsResult.html)

0 commit comments

Comments
 (0)