Skip to content

[Config] Add withPhpPolyfill() method to load php polyfill set on RectorConfigBuilder#5983

Merged
TomasVotruba merged 1 commit intomainfrom
add-with-php-polyfill
Jun 20, 2024
Merged

[Config] Add withPhpPolyfill() method to load php polyfill set on RectorConfigBuilder#5983
TomasVotruba merged 1 commit intomainfrom
add-with-php-polyfill

Conversation

@samsonasik
Copy link
Copy Markdown
Member

Per #5981 (review), this is to avoid too many changes on step by step process upgrade, this can be enabled manually by enable it:

<?php

use Rector\Config\RectorConfig;
use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector;

return RectorConfig::configure()
     // ...
    ->withPhpPolyfill();

@samsonasik
Copy link
Copy Markdown
Member Author

All checks have passed 🎉 @TomasVotruba it is ready for review.

@TomasVotruba TomasVotruba merged commit 61a419f into main Jun 20, 2024
@TomasVotruba TomasVotruba deleted the add-with-php-polyfill branch June 20, 2024 06:58
@TomasVotruba
Copy link
Copy Markdown
Member

Makese sense, thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants