Skip to content
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

Add missing flag helper methods to Property and PropertyHook #1051

Merged
merged 3 commits into from
Dec 13, 2024

Conversation

ondrejmirtes
Copy link
Contributor

No description provided.

/**
* @dataProvider provideModifiers
*/
public function testModifiers($modifier): void {
Copy link
Owner

Choose a reason for hiding this comment

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

A bit complicated to test a single modifier?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just followed the structure of other similar tests. Maybe when in the future more modifiers are allowed, it will be easier to add tests for them.

Copy link
Owner

Choose a reason for hiding this comment

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

Fair enough. If we want to keep this we should drop the separate testIsFinal test though, because the two of them are redundant.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated, thanks.

@nikic nikic merged commit f212bb7 into nikic:master Dec 13, 2024
10 checks passed
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