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
use Rector\Utils\PHPStan\Rule\CheaperGuardFirstRule;
/**
* @extends RuleTestCase<CheaperGuardFirstRule>
*/
final class CheaperGuardFirstRuleTest extends RuleTestCase
{
public function testExpensiveBeforeCheapGuard(): void
{
$expectedErrorMessage = 'Cheap guard on line 32 can run before the expensive call on line 26; move the early return up to bail before the costly analysis.';