There was an error while loading. Please reload this page.
assertArrayHasKey
assertTrue(isset($x))
-$this->assertTrue(isset($anything["foo"]), "message"); +$this->assertArrayHasKey("foo", $anything, "message");
similar to AssertSameNullExpectedRule and others
AssertSameNullExpectedRule
could be auto-fixable.
inspired by rector