sop/asn1

Function usage invokeArgs() (@call_with_passing_by_reference) is deprecated.

danielmarschall opened this issue · 2 comments

Hello,

I was checking the files on my server with PHP codefixer and I found following error in ElementDecodeTest.php line 72:

Function usage invokeArgs() (@call_with_passing_by_reference) is deprecated.

sop commented

Hi!

I ran phpcf and it indeed reports an error as you described. However, i would argue that this is a bug in PhpCodeFixer, since that's the only way to pass refs to reflected methods. See PHP docs for info.

sop commented

I reported this and the author fixed it.
wapmorgan/PhpDeprecationDetector#38