We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 52465a9 + c58ef78 commit 221201dCopy full SHA for 221201d
tests/ParserTest.php
@@ -942,7 +942,7 @@ public function missingPropertyValueLenient()
942
$rulesets = $parsed->getAllRuleSets();
943
self::assertCount(1, $rulesets);
944
$block = $rulesets[0];
945
- self::assertTrue($block instanceof DeclarationBlock);
+ self::assertInstanceOf(DeclarationBlock::class, $block);
946
self::assertEquals([new Selector('div')], $block->getSelectors());
947
$rules = $block->getRules();
948
self::assertCount(1, $rules);
0 commit comments