Skip to content

Conversation

@samsonasik
Copy link
Member

@TomasVotruba this PR covers:

  • has normal property
  • has readonly promoted property

so should be skipped as well, ref #7498 (review)

@samsonasik samsonasik changed the title [Php84] Skip has normal property, and readonly promoted property on PropertyHookRector [Php84] Skip has mix between normal property and readonly promoted property on PropertyHookRector Oct 15, 2025
@samsonasik
Copy link
Member Author

Fixed 🎉 /cc @TomasVotruba

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit 64f20de into main Oct 15, 2025
52 checks passed
@samsonasik samsonasik deleted the skip-mix-normal-prop-readonly-prop branch October 15, 2025 02:18
return [];
}
}
}
Copy link
Member

Choose a reason for hiding this comment

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

👍

Copy link
Member Author

Choose a reason for hiding this comment

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

After some various check, this seems ok to have it mix, as we can't redeclare both in prop and property promotion.

https://3v4l.org/mvgLB

I am reverting it ;)

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.

3 participants