Skip to content

[DependencyInjection] Only dump array keys when value is not a list #49472

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

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

ruudk
Copy link
Contributor

@ruudk ruudk commented Feb 21, 2023

Q A
Branch? 6.3
Bug fix? no
New feature? no
Deprecations? no
Tickets
License MIT
Doc PR

When the value is a list, there is no point in dumping the keys.

When the value is a list, there is no point in dumping the keys.
@nicolas-grekas
Copy link
Member

While you're at PhpDumper, can you please send a PR to make all closures (function+fn) non-static? In 6.3, this is visual debt because they're declared in static methods only.

@nicolas-grekas
Copy link
Member

Thank you @ruudk.

@nicolas-grekas nicolas-grekas merged commit 24a5f20 into symfony:6.3 Feb 21, 2023
@ruudk ruudk deleted the list-array branch February 21, 2023 14:41
ruudk added a commit to ruudk/symfony that referenced this pull request Feb 21, 2023
nicolas-grekas added a commit that referenced this pull request Feb 21, 2023
This PR was merged into the 6.3 branch.

Discussion
----------

[DependencyInjection] Remove static from closures

| Q             | A
| ------------- | ---
| Branch?       | 6.3
| Bug fix?      | no
| New feature?  |no
| Deprecations? |no
| Tickets       |
| License       | MIT
| Doc PR        |

As per request from `@nicolas`-grekas.

#49472 (comment)

Commits
-------

9a94e00 Remove static from closures
symfony-splitter pushed a commit to symfony/dependency-injection that referenced this pull request Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy