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
Before attempting to call runkit functions, we first need to make sure that runkit/runkit7 are installed and active; if not, we mark the current test as skipped:
useAssertWell\PHPUnitGlobalState\Support\Runkit;
if (! Runkit::isAvailable()) {
$this->markTestSkipped('someMethod() requires Runkit be available, skipping.');
}
This check isn't happening in AssertWell\PHPUnitGlobalState\Functions::deleteFunction(), which can cause tests to error inappropriately if runkit isn't available.
The text was updated successfully, but these errors were encountered:
…f Runkit is unavailable
Similar checks are used elsewhere for Runkit-dependent methods, as this prevents tests from erroring due to Runkit not being present.
Fixes#24.
Before attempting to call runkit functions, we first need to make sure that runkit/runkit7 are installed and active; if not, we mark the current test as skipped:
This check isn't happening in
AssertWell\PHPUnitGlobalState\Functions::deleteFunction()
, which can cause tests to error inappropriately if runkit isn't available.The text was updated successfully, but these errors were encountered: