Skip to content

IBX-10278: Allowed any object to be used with Ibexa Migrations steps #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 7, 2025

Conversation

Steveb-p
Copy link
Contributor

@Steveb-p Steveb-p commented Jul 7, 2025

🎫 Issue IBX-10278

Description:

This PR extends previously existing capacity to change argument type, making it more generic - and configuring it for changes required for Ibexa Migrations drop of ValueObject dependency.

For QA:

Documentation:

@Steveb-p Steveb-p requested a review from a team July 7, 2025 11:29
/**
* @see \Ibexa\Rector\Tests\Rule\ChangeArgumentTypeRector\ChangeArgumentTypeRectorTest
*/
final class ChangeArgumentTypeRector extends AbstractRector implements ConfigurableRectorInterface
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Naming: this still changes any type to object, right? Then rather ChangeArgumentTypeToObjectTypeRector.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can change it to something else. See 5th argument of the Configuration class.

@alongosz alongosz changed the title IBX-10278: Allow any object to be used with Ibexa Migrations steps IBX-10278: Allowed any object to be used with Ibexa Migrations steps Jul 7, 2025
@adamwojs adamwojs merged commit 6e32021 into main Jul 7, 2025
3 checks passed
@adamwojs adamwojs deleted the allow-flexible-argument-change branch July 7, 2025 19:13
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.

4 participants