diff --git a/resources/docs/levels.md b/resources/docs/levels.md index 0c27343b3..22ced11f7 100644 --- a/resources/docs/levels.md +++ b/resources/docs/levels.md @@ -1,6 +1,6 @@ -What is a PHP 8.3 project without a single type declaration? - -A horse with Tesla bodywork. +> "What is a PHP 8.4 project without a single type declaration?" +> +> "A horse with Tesla bodywork."
@@ -89,3 +89,21 @@ return RectorConfig::configure() We increase it by 1, run Rector, create a pull request, get a review, and merge. Once we reach the highest level, we can move on to [next prepared sets](/documentation/set-lists#content-prepared-sets). + +
+ +## Leveling up PHP Upgrade + +One of the main Rector features – PHP upgrades – is also covered via levels: + + +```php +withPhpLevel(5); +``` + +This way you can handle enormous project upgrades effortlessly, step by step.