schmittjoh / JMSDebuggingBundle

This bundle provides advanced debugging tools for your Symfony2 project.
http://jmsyst.com/bundles/JMSDebuggingBundle
161 stars 29 forks source link

Symfony2.3: Property does not exists exception #71

Closed kingcrunch closed 11 years ago

kingcrunch commented 11 years ago
Property Symfony\Component\HttpFoundation\RequestMatcher::$ip does not exist

It can be resolved to https://github.com/schmittjoh/JMSDebuggingBundle/blob/master/HttpFoundation/TraceableRequestMatcher.php#L68 There is no property $ip anymore, but $ips.

jpalawaga commented 11 years ago

ping @schmittjoh

edit: 'ip' is now 'ips', an array of ips rather than just one single one. The checkIp() function is now in Symfony\Component\HttpFoundation\IpUtils.

I would fix it and send a PR, but I don't know how you want to handle the logging now that multiple IPs may be present. This seems to be the only thing that needs to be updated.

edit: #74

schmittjoh commented 11 years ago

Closing this in favor of the PR.