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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

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.

@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).

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
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