Skip to content

Fix #235. Rename attributes to properties. Rename methods #236

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

Closed
wants to merge 2 commits into from

Conversation

FrankiFixx
Copy link

Q A
Is bugfix?
New feature?
Breaks BC?

@samdark samdark added this to the 1.0 milestone Jan 16, 2025
Comment on lines -284 to +285
'{attributes}' => Html::renderTagAttributes($this->attributes),
'{containerAttributes}' => Html::renderTagAttributes($this->containerAttributes),
'{attributes}' => Html::renderTagAttributes($this->properties),
'{containerAttributes}' => Html::renderTagAttributes($this->containerProperties),
Copy link
Member

Choose a reason for hiding this comment

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

This looks wrong. These are HTML tag attributes.

@vjik which properties/attributes did you mean?

Copy link
Member

Choose a reason for hiding this comment

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

You're right. All HTML-related "attributes" must be keep.

Need to rename "attribute" that means "property of object": DataField::$attribute and related variables and methods.

Copy link

codecov bot commented Feb 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.31%. Comparing base (1fb609b) to head (6494157).
Report is 40 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #236      +/-   ##
============================================
- Coverage     64.66%   62.31%   -2.35%     
- Complexity      558      639      +81     
============================================
  Files            46       52       +6     
  Lines          1862     2160     +298     
============================================
+ Hits           1204     1346     +142     
- Misses          658      814     +156     

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

@samdark samdark closed this Feb 8, 2025
@samdark
Copy link
Member

samdark commented Feb 8, 2025

Seems to be done already.

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