Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Commit

Permalink
Update dependencies, fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
kmeht committed Aug 27, 2018
1 parent 83d8390 commit 84e5c10
Show file tree
Hide file tree
Showing 34 changed files with 83 additions and 127 deletions.
145 changes: 60 additions & 85 deletions composer.lock

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

2 changes: 1 addition & 1 deletion src/_Private/consume_link_destination.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace Facebook\Markdown\_Private;

use namespace HH\Lib\{C, Str, Vec};
use namespace HH\Lib\{C, Str};

function consume_link_destination(string $input): ?(string, int) {
if ($input[0] === '<') {
Expand Down
2 changes: 1 addition & 1 deletion src/_Private/consume_link_title.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace Facebook\Markdown\_Private;

use namespace HH\Lib\{C, Str, Vec};
use namespace HH\Lib\{C, Str};

function consume_link_title(string $input): ?(string, int) {
invariant($input !== '', "Can't consume an empty string");
Expand Down
2 changes: 1 addition & 1 deletion src/_Private/decode_html_entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace Facebook\Markdown\_Private;

use namespace HH\Lib\{C, Str};
use namespace HH\Lib\Str;

const string UNICODE_REPLACEMENT_CHARACTER = "\u{fffd}";

Expand Down
1 change: 0 additions & 1 deletion src/blocks/BlankLine.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

namespace Facebook\Markdown\Blocks;

use type Facebook\Markdown\ASTNode;

class BlankLine extends LeafBlock {
}
1 change: 0 additions & 1 deletion src/blocks/ContainerBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

namespace Facebook\Markdown\Blocks;

use namespace HH\Lib\{C, Vec};

abstract class ContainerBlock extends Block {
public function __construct(
Expand Down
1 change: 0 additions & 1 deletion src/blocks/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

namespace Facebook\Markdown\Blocks;

use namespace HH\Lib\C;

class Document extends ContainerBlock {
}
1 change: 0 additions & 1 deletion src/blocks/ThematicBreak.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

namespace Facebook\Markdown\Blocks;

use type Facebook\Markdown\Inlines\Inline;

class ThematicBreak extends LeafBlock {
}
Loading

0 comments on commit 84e5c10

Please sign in to comment.