Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[DataCollector] Improves the readability of the collected arrays in the profiler.#10155

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
sukei wants to merge2 commits intosymfony:masterfromsukei:value-exporter

Conversation

@sukei
Copy link
Contributor

QA
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
LicenseMIT

It simply improves the readability of the collected arrays in the profiler:

before:

Array(date => Array(year => , month => , day => ), time => Array(hour => ))

after:

[  date => [      year => ,       month => ,       day =>   ],   time => [      hour =>   ]]

@wouterj
Copy link
Member

👍

Copy link
Contributor

Choose a reason for hiding this comment

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

may be this should be merged with theif just below ?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

I made it this way to improve readability, but you are right.

@sukei
Copy link
ContributorAuthor

Nobody want that? 😟

@sstok
Copy link
Contributor

Can you add some tests?

Copy link
Contributor

Choose a reason for hiding this comment

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

is here 2 spaces or 4 spaces better?

@cordoval
Copy link
Contributor

👍 it is a good idea

@fabpot
Copy link
Member

I don't understand how it could work with just these modifications. In my test on Symfony 2.3, 2.4, and 2.5, it just did not had the expected behavior described here. So, I've made the needed changes in#10352

@fabpotfabpot closed thisFeb 28, 2014
@sukei
Copy link
ContributorAuthor

I have a 2.4.1 and it just works as expected.

profiler

fabpot added a commit that referenced this pull requestMar 1, 2014
…ted arrays in the profiler (fabpot)This PR was merged into the 2.5-dev branch.Discussion----------[DataCollector] Improves the readability of the collected arrays in the profiler| Q             | A| ------------- | ---| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| License       | MITThis PR is based on#10155.Original description:It simply improves the readability of the collected arrays in the profiler:__before__:```Array(date => Array(year => , month => , day => ), time => Array(hour => ))```__after__:```[  date => [      year => ,      month => ,      day =>  ],  time => [      hour =>  ]]```Commits-------dce66c9 removed double-stringification of values in the profiler1cda2d4 [HttpKernel] tweaked value exporter3f297ea Improves the readability of the collected arrays in the profiler.
@sukeisukei deleted the value-exporter branchMarch 2, 2014 12:01
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@sukei@wouterj@sstok@cordoval@fabpot@vicb

[8]ページ先頭

©2009-2025 Movatter.jp