contexts icon indicating copy to clipboard operation
contexts copied to clipboard

Fix: PHP 8 Support - do not call deprecated ReflectionProperty::getClass

Open silverbackdan opened this issue 4 years ago • 0 comments

See also: https://github.com/Behatch/contexts/pull/297

This PR has resolved all my issues in relation to the getClass method being called.

The error was preventing tests from completing or getting any genuine failures from the tests.

I referenced this post for a like-for-like comparison of the methods - https://php.watch/versions/8.0/deprecated-reflectionparameter-methods#getClass

silverbackdan avatar Mar 11 '21 19:03 silverbackdan