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

Rename "Attribute" rule to "Property" #1418

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

henriquemoody
Copy link
Member

Because now we have the concept of attributes in PHP, the rule with the name "Attribute" makes no sense because it doesn't validate attributes but properties.

In the future, it might be possible that Validation will have a rule called "Attribute" to validate PHP attributes.

@alganet
Copy link
Member

alganet commented Jun 14, 2023

Again, I wasnt't expecting more contributors :D (see #1424 (comment)).

I agree with this change and I'm willing to move it forward, we just need to figure out how we deal with the branches to keep 2.3 without this BC break, and introduce it later (2.4 or something else).

@henriquemoody
Copy link
Member Author

I'm not in a rush to get any of my changes merged. I was writing some code just because, as a manager, I sometimes miss coding :D

Because now we have the concept of attributes in PHP, the rule with the
name "Attribute" makes no sense because it doesn't validate attributes
but properties.

In the future, it might be possible that Validation will have a rule
called "Attribute" to validate PHP attributes.

Signed-off-by: Henrique Moody <[email protected]>
Copy link

codecov bot commented Jan 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (715bf4b) 94.91% compared to head (250fd93) 94.91%.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1418   +/-   ##
=========================================
  Coverage     94.91%   94.91%           
  Complexity      981      981           
=========================================
  Files           195      195           
  Lines          2223     2223           
=========================================
  Hits           2110     2110           
  Misses          113      113           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@henriquemoody henriquemoody merged commit 250fd93 into Respect:master Jan 28, 2024
7 checks passed
@henriquemoody henriquemoody deleted the property branch January 28, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants