8000 [VarDumper] Towards PHP7 support by nicolas-grekas · Pull Request #14204 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[VarDumper] Towards PHP7 support #14204

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
Apr 4, 2015
Merged

Conversation

nicolas-grekas
Copy link
Member
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

That's a start

@@ -69,23 +70,23 @@ public static function castErrorException(\ErrorException $e, array $a, Stub $st

public static function castThrowingCasterException(ThrowingCasterException $e, array $a, Stub $stub, $isNested)
{
$b = (array) $a["\0Exception\0previous"];
$b = (array) $a[$xPrefix.'previous'];
Copy link
Contributor

Choose a reason for hiding this comment

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

Undefined var in this scope

Copy link
Member Author

Choose a reason for hiding this comment

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

indeed, fixed, thanks

@@ -81,7 +80,7 @@ public function testGet()
</samp>}
"<span class=sf-dump-key>closure</span>" => <span class=sf-dump-note>Closure</span> {<a class=sf-dump-ref>#%d</a><samp>
<span class=sf-dump-meta>reflection</span>: """
<span class=sf-dump-str title="%d characters">Closure [ &lt;user&gt; {$closureLabel} Symfony\Component\VarDumper\Tests\Fixture\{closure} ] {</span>
<span class=sf-dump-str title="%d characters">Closure [ &lt;user&gt; %s
Copy link
Member

Choose a reason for hiding this comment

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

you should keep the closing space as part of the assertion

@nicolas-grekas nicolas-grekas force-pushed the php7-var-dumper branch 4 times, most recently from d0f923d to be98abd Compare April 4, 2015 14:53
@nicolas-grekas
Copy link
Member Author

This PR is ready. The last failing test should be fixed once https://bugs.php.net/69376 is.

@fabpot
Copy link
Member
fabpot commented Apr 4, 2015

Thank you @nicolas-grekas.

@fabpot fabpot merged commit df484da into symfony:2.6 Apr 4, 2015
fabpot added a commit that referenced this pull request Apr 4, 2015
This PR was merged into the 2.6 branch.

Discussion
----------

[VarDumper] Towards PHP7 support

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

That's a start

Commits
-------

df484da [VarDumper] Towards PHP7 support
@nicolas-grekas nicolas-grekas deleted the php7-var-dumper branch April 5, 2015 08:45
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.

4 participants
0