Skip to content

Commit 791e048

Browse files
committed
Merge remote-tracking branch 'origin/master'
# Conflicts: # src/JsPhpize/JsPhpizePhugFormatter.php
2 parents 5c2b442 + 811fde1 commit 791e048

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/JsPhpize/JsPhpizePhugFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function injectFormatter(Formatter $formatter)
3131
/** @var JsPhpize $jsPhpize */
3232
$jsPhpize = $compiler->getOption('jsphpize_engine');
3333
$pugModuleName = $formatter->getOption('dependencies_storage');
34-
$newCode = str_replace('$'.$pugModuleName, $pugModuleName, $jsCode);
34+
$newCode = str_replace('$' . $pugModuleName, $pugModuleName, $jsCode);
3535

3636
try {
3737
return rtrim(trim(preg_replace(

tests/JsPhpize/JsPhpizePhugTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
namespace Tests\JsPhpize;
44

55
use JsPhpize\JsPhpizePhug;
6-
use JsPhpize\JsPhpizePhugFormatter;
76
use Phug\Compiler;
8-
use Phug\Formatter;
97

108
class JsPhpizePhugTest extends \PHPUnit_Framework_TestCase
119
{

0 commit comments

Comments
 (0)