minor #23917 [VarDumper] Fix tests with phpredis 3.1.3 (nicolas-grekas)

This PR was merged into the 3.3 branch.

Discussion
----------

[VarDumper] Fix tests with phpredis 3.1.3

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

The "socket" property is gone with phpredis 3.1.3.

Commits
-------

773f166 [VarDumper] Fix tests with phpredis 3.1.3
This commit is contained in:
Nicolas Grekas 2017-08-17 15:36:17 +02:00
commit 3f81dd1837

View File

@ -61,8 +61,7 @@ Redis {
EODUMP;
} else {
$xCast = <<<'EODUMP'
Redis {
+"socket": Redis Socket Buffer resource
Redis {%A
isConnected: true
host: "127.0.0.1"
port: 6379