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

Wildcards in yii\log\Target::$maskVars array #20297

Merged
merged 7 commits into from
Jan 1, 2025

Conversation

xcopy
Copy link
Contributor

@xcopy xcopy commented Dec 10, 2024

Q A
Is bugfix?
New feature? ✔️
Breaks BC?
Fixed issues #20295

*
* @return array the flattened array.
*/
private static function flatten($array, $prefix = ''): array
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure this method should be here.

Copy link
Member

Choose a reason for hiding this comment

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

Looks like a good candidate for array helper.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can I leave as is for now and then handle it in a separate PR? (dedicated to new ArrayHelper::flatten() method)

Copy link
Member

Choose a reason for hiding this comment

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

Yes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Refer to #20306

@xcopy
Copy link
Contributor Author

xcopy commented Dec 10, 2024

Unfortunately English is not my native language. Can anyone help with the documentation?

Copy link

codecov bot commented Dec 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.84%. Comparing base (a7b2a4e) to head (078d50d).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master   #20297   +/-   ##
=========================================
  Coverage     64.83%   64.84%           
- Complexity    11417    11421    +4     
=========================================
  Files           431      431           
  Lines         37155    37164    +9     
=========================================
+ Hits          24090    24099    +9     
  Misses        13065    13065           

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

@samdark
Copy link
Member

samdark commented Dec 10, 2024

Write it via Google Translate or something alike. We'll fix the language.

framework/CHANGELOG.md Outdated Show resolved Hide resolved
*
* @return array the flattened array.
*/
private static function flatten($array, $prefix = ''): array
Copy link
Member

Choose a reason for hiding this comment

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

Looks like a good candidate for array helper.

@xcopy
Copy link
Contributor Author

xcopy commented Dec 12, 2024

Write it via Google Translate or something alike. We'll fix the language.

I tried my best :)

@samdark samdark requested review from a team December 16, 2024 19:07
@samdark samdark merged commit 3fc7e71 into yiisoft:master Jan 1, 2025
87 checks passed
@samdark
Copy link
Member

samdark commented Jan 1, 2025

Thank you!

@samdark samdark added this to the 2.0.52 milestone Jan 1, 2025
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