Skip to content

Commit

Permalink
Fixed CS fixer :)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikaheidi committed Dec 14, 2021
1 parent 01b4cf0 commit ec11b2e
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ composer.phar
.idea/
.phpunit.result.cache
.php_cs.cache
.php-cs-fixer.cache
1 change: 0 additions & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@
$config = new PhpCsFixer\Config();
return $config->setRules([
'@PSR12' => true,
'strict_param' => true,
'array_syntax' => ['syntax' => 'short'],
])->setFinder($finder);
3 changes: 1 addition & 2 deletions src/ContentParser.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


namespace Parsed;

use League\CommonMark\Environment\Environment;
Expand Down Expand Up @@ -75,7 +74,7 @@ public function parse(Content $article, bool $parse_markdown = false): Content
if ($parse_markdown) {
$article->body_html = $this->getHtmlBody($article->body_markdown);
}

return $article;
}

Expand Down
1 change: 0 additions & 1 deletion src/CustomTagParser/AudioTagParser.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


namespace Parsed\CustomTagParser;

use Parsed\CustomTagParserInterface;
Expand Down
1 change: 0 additions & 1 deletion src/CustomTagParser/GithubCustomTagParser.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


namespace Parsed\CustomTagParser;

use Parsed\CustomTagParserInterface;
Expand Down
1 change: 0 additions & 1 deletion src/CustomTagParser/TwitterCustomTagParser.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


namespace Parsed\CustomTagParser;

use Parsed\CustomTagParserInterface;
Expand Down
1 change: 0 additions & 1 deletion src/CustomTagParser/VideoTagParser.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


namespace Parsed\CustomTagParser;

use Parsed\CustomTagParserInterface;
Expand Down
1 change: 0 additions & 1 deletion src/CustomTagParser/YoutubeCustomTagParser.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


namespace Parsed\CustomTagParser;

use Parsed\CustomTagParserInterface;
Expand Down
1 change: 0 additions & 1 deletion src/CustomTagParserInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php


namespace Parsed;

interface CustomTagParserInterface
Expand Down
1 change: 1 addition & 0 deletions tests/Feature/CustomTagTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

use Parsed\Content;
use Parsed\ContentParser;

Expand Down

0 comments on commit ec11b2e

Please sign in to comment.