Skip to content

Commit

Permalink
Merge pull request #3 from preprocess/feature/update-plugin
Browse files Browse the repository at this point in the history
Update plugin
  • Loading branch information
assertchris authored Oct 8, 2018
2 parents 5934b8e + 6bbf5a8 commit 30cb8b5
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 @@ -739,8 +738,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 30cb8b5

Please sign in to comment.