@@ -20,7 +20,7 @@ public function testSimpleLoad(): void
2020 {
2121 $ res = $ this ->getBuilder ($ this ->getFixtureLoader ())->compile ('bundle-import ' );
2222
23- self ::assertSame ('<a href="abc">cde</a> ' , trim ($ res ->getContent ()));
23+ self ::assertSame ('<a href="abc">cde</a> ' , \ trim ($ res ->getContent ()));
2424 }
2525
2626 public function testGetTemplates (): void
@@ -37,12 +37,12 @@ public function testPHPImportResult(): void
3737 {
3838 $ res = $ this ->getBuilder ($ this ->getFixtureLoader ())->compile ('import-php ' );
3939
40- self ::assertSame (preg_replace ("/\s+/ " , '' , '
40+ self ::assertSame (\ preg_replace ("/\s+/ " , '' , '
4141<div>
4242 <?php foreach ([ \'a \', \'b \', \'c \'] as $value): ?>
4343 <b><?php echo htmlspecialchars((string) ($value), ENT_QUOTES | ENT_SUBSTITUTE, \'utf-8 \'); ?></b>
4444 <?php endforeach; ?>
45- </div> ' ), preg_replace ("/\s+/ " , '' , $ res ->getContent ()));
45+ </div> ' ), \ preg_replace ("/\s+/ " , '' , $ res ->getContent ()));
4646 }
4747
4848 public function testCompress (): void
@@ -51,7 +51,7 @@ public function testCompress(): void
5151
5252 $ sm = $ res ->getSourceMap ($ this ->getFixtureLoader ());
5353
54- $ sm2 = unserialize (serialize ($ sm ));
54+ $ sm2 = \ unserialize (\ serialize ($ sm ));
5555
5656 self ::assertEquals ($ sm , $ sm2 );
5757 }
0 commit comments