You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's an easy one to get your fingers wet while you explore what's under the hood.
Task
Enable invoke method functionality for Respect/Test/Reflect::on. Completion would allow us to execute any private, public, protected, static or instance method against either a supplied class or object.
ReflectObject already has the invoke($name, array $args array()) method and getInstance has an implementation for executing the constructor as example. invoke needs to become public, added to the Reflectable interface and exposed through Respect\Test\Reflect.
Expand the TestGuy class in the ReflectTest unit test to include public, protected and private methods, both instance and static. Also add pass by reference parameters to test things thoroughly.
Test invoke functionality in both ReflectTest and ReflectObjectTest (see get/setProperty for examples) to ensure we get closer to 100% code coverage.
Suggestions
Have fun and don't hesitate to ask for help.
Claim your Easy Pick now
To let everyone else know that you have claimed the task, simply comment to this post before you start. Fork the project and submit a pull request with your changes for revue.
Be awesome as you are and make for Happy Pandas! =)
The text was updated successfully, but these errors were encountered:
Here's an easy one to get your fingers wet while you explore what's under the hood.
Task
Enable invoke method functionality for Respect/Test/Reflect::on. Completion would allow us to execute any private, public, protected, static or instance method against either a supplied class or object.
Heads-up
ReflectObject already has the
invoke($name, array $args array())
method and getInstance has an implementation for executing the constructor as example.invoke
needs to become public, added to theReflectable
interface and exposed throughRespect\Test\Reflect
.Expand the TestGuy class in the ReflectTest unit test to include public, protected and private methods, both instance and static. Also add pass by reference parameters to test things thoroughly.
Test invoke functionality in both ReflectTest and ReflectObjectTest (see get/setProperty for examples) to ensure we get closer to 100% code coverage.
Suggestions
Have fun and don't hesitate to ask for help.
Claim your Easy Pick now
To let everyone else know that you have claimed the task, simply comment to this post before you start. Fork the project and submit a pull request with your changes for revue.
Be awesome as you are and make for Happy Pandas! =)
The text was updated successfully, but these errors were encountered: