active-record
active-record copied to clipboard
Fix extensibility issue
| Q | A |
|---|---|
| Is bugfix? | ✔️ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Fixed issues | #55, #18 |
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
41c6691) 87.75% compared to head (c802f0a) 87.71%.
Additional details and impacted files
@@ Coverage Diff @@
## master #278 +/- ##
============================================
- Coverage 87.75% 87.71% -0.04%
+ Complexity 598 593 -5
============================================
Files 7 7
Lines 1331 1327 -4
============================================
- Hits 1168 1164 -4
Misses 163 163
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
PR Summary
-
Refinement of
BaseActiveRecordTrait.php- This updates the way we access object properties within this PHP file. By refining the method we use to extract data from items in our
attributesandrelatedsets, we are aiming to increase the performance of this action while also reducing potential for errors.
- This updates the way we access object properties within this PHP file. By refining the method we use to extract data from items in our
-
Enhancements to
ActiveRecordTest.php- The updates here are primarily to add in additional testing facilities. A new test,
testGetExtraAttribute, has been added to ensure the accurate retrieval of a specific attribute (sex) in our Customer database. This will improve the robustness of our product by enabling early detection and resolution of issues.
- The updates here are primarily to add in additional testing facilities. A new test,
-
Inclusion of
CustomerExtraAttributes.php- This new addition is essentially a model of customer's records which includes extra attributes. By incorporating this into our system, we're allowing our application to store and deal with more complex customer data more efficiently.