use of com.kalessil.phpStorm.phpInspectionsEA.inspectors.apiUsage.IsCountableCanBeUsedInspector in project phpinspectionsea by kalessil.
the class IsCountableCanBeUsedInspectorTest method testIfFindsAllPatterns.
public void testIfFindsAllPatterns() {
final PhpLanguageLevel level = PhpLanguageLevel.parse("7.4");
if (level != null && level.getVersionString().equals("7.4")) {
PhpProjectConfigurationFacade.getInstance(myFixture.getProject()).setLanguageLevel(level);
myFixture.enableInspections(new IsCountableCanBeUsedInspector());
myFixture.configureByFile("testData/fixtures/api/is-countable.php");
myFixture.testHighlighting(true, false, true);
}
}
Aggregations