-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Stop passing parameters by reference in mapping drivers #2609
Conversation
5033463
to
a4733e3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for taking so long to review, should we check that the value received from Driver::readExtendedMetadata()
call is actually an array
? in case we are calling to someone else's implementation.
src/Uploadable/Mapping/Validator.php
Outdated
*/ | ||
#[\ReturnTypeWillChange] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same concern here about the use of the ReturnTypeWillChange
attribute.
e9e7100
to
3077db3
Compare
3077db3
to
eac0d7d
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2609 +/- ##
==========================================
+ Coverage 79.60% 79.64% +0.03%
==========================================
Files 161 161
Lines 8415 8468 +53
==========================================
+ Hits 6699 6744 +45
- Misses 1716 1724 +8
☔ View full report in Codecov by Sentry. |
Nice catch! 😶🌫️ Thank you! |
eac0d7d
to
f3f4ff5
Compare
7b3a0a1
to
f4a6945
Compare
f4a6945
to
3772a39
Compare
Related to #2605, as this is the first step to gain governance around the manipulation performed on the received mapping configuration.