Skip to content

Conversation

@kamil-tekiela
Copy link
Contributor

My idea here is to tidy this all up by splitting the static functionality from the value objects. But the ultimate goal is to fix the instantiation of all Component objects, which this PR doesn't really help with. I consider this to be a good change nonetheless.

@codecov
Copy link

codecov bot commented Jan 16, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (578d3aa) 96.20% compared to head (33e49e6) 96.54%.

Files Patch % Lines
src/Components/Parsers/UnionKeywords.php 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #535      +/-   ##
============================================
+ Coverage     96.20%   96.54%   +0.33%     
+ Complexity     2162     2147      -15     
============================================
  Files            64       73       +9     
  Lines          5032     5006      -26     
============================================
- Hits           4841     4833       -8     
+ Misses          191      173      -18     

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

Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>

c
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Copy link
Member

@MauricioFauth MauricioFauth left a comment

Choose a reason for hiding this comment

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

I agree with these changes.

@kamil-tekiela kamil-tekiela force-pushed the Components-refactoring branch from 891d9ff to 33e49e6 Compare January 20, 2024 18:13
@kamil-tekiela
Copy link
Contributor Author

I agree with these changes.

Thanks. I rebased it. I am wondering if I should move all parse methods into their own classes in the Parsers namespace.

@kamil-tekiela kamil-tekiela marked this pull request as ready for review January 20, 2024 18:16
@MauricioFauth
Copy link
Member

I am wondering if I should move all parse methods into their own classes in the Parsers namespace.

This is a good idea.

@MauricioFauth MauricioFauth merged commit 04a9299 into phpmyadmin:master Jan 20, 2024
@MauricioFauth MauricioFauth self-assigned this Jan 20, 2024
@MauricioFauth MauricioFauth added this to the 6.0.0 milestone Jan 20, 2024
@kamil-tekiela kamil-tekiela deleted the Components-refactoring branch January 20, 2024 20:31
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