Skip to content

Commit

Permalink
Merge branch 'master' of github.com:preprocess/pre-phpx-html
Browse files Browse the repository at this point in the history
  • Loading branch information
assertchris committed Oct 22, 2018
2 parents 2162812 + 30cb8b5 commit 50c37d0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 114 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pre/phpx-html",
"license": "MIT",
"require": {
"pre/phpx": "^0.3.0"
"pre/phpx": "^0.3.2"
},
"require-dev": {
"phpunit/phpunit": "^5.0|^6.0"
Expand Down
122 changes: 12 additions & 110 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions source/Renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Pre\Phpx\Html;

use Exception;
use Gajus\Dindent\Indenter;
use function Pre\Phpx\globalClassMatching;
use function Pre\Phpx\globalFunctionMatching;

Expand Down Expand Up @@ -740,8 +739,8 @@ private function attributesFrom($props)

public function format($markup)
{
$indenter = new Indenter();
return $indenter->indent($markup);
// left to avoid a version bump
return $markup;
}

public function supports($name)
Expand Down

0 comments on commit 50c37d0

Please sign in to comment.