Skip to content

Commit 811fde1

Browse files
authored
Merge pull request #1 from pug-php/analysis-8napDO
Apply fixes from StyleCI
2 parents 6e6ad22 + c4f2b8d commit 811fde1

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
@@ -32,7 +32,7 @@ public function injectFormatter(Formatter $formatter)
3232
/** @var JsPhpize $jsPhpize */
3333
$jsPhpize = $compiler->getOption('jsphpize_engine');
3434
$pugModuleName = $formatter->getOption('dependencies_storage');
35-
$jsCode = str_replace('$'.$pugModuleName, $pugModuleName, $jsCode);
35+
$jsCode = str_replace('$' . $pugModuleName, $pugModuleName, $jsCode);
3636

3737
try {
3838
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)