Mixin LifecycleTest - Add phpCall() helper
authorTim Otten <totten@civicrm.org>
Wed, 23 Nov 2022 22:17:11 +0000 (14:17 -0800)
committerTim Otten <totten@civicrm.org>
Wed, 23 Nov 2022 22:17:11 +0000 (14:17 -0800)
commit45a4c6ea449e969924e41c0eb9636d92e547aaad
treec991cba7e0829fe4562b8141d139db4608409ddb
parent8de7881b35e3f98d38b147dcf23f5a44d5dfe035
Mixin LifecycleTest - Add phpCall() helper

This is similar to the existing phpEval() helper, but it only calls one function, and it handles escaping the params.

Tangentially, relax the return type for `phpEval()` - since it's equally valid to return scalars.
tests/extensions/shimmy/tests/phpunit/E2E/Shimmy/LifecycleTest.php