Skip to content

Commit

Permalink
fix(code-fixer): new run of PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
e-picas committed Jan 27, 2024
1 parent f464a31 commit a795a7f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/MarkdownExtended/Grammar/Filter/DefinitionList.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ protected function _item_callback_dd($matches)
// Replace marker with the appropriate whitespace indentation
$def = str_repeat(' ', strlen($marker_space)) . $def;
$def = Lexer::runGamut('html_block_gamut', Lexer::runGamut(GamutLoader::TOOL_ALIAS.':Outdent', $def . "\n\n"));
// $def = "\n$def\n";
// $def = "\n$def\n";
} else {
$def = rtrim($def);
$def = Lexer::runGamut('span_gamut', Lexer::runGamut(GamutLoader::TOOL_ALIAS.':Outdent', $def));
Expand Down
4 changes: 2 additions & 2 deletions src/MarkdownExtended/Grammar/Filter/HTML.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ protected function _hashBlocks_inMarkdown($text, $indent = 0, $enclosing_tag_re
$parsed .= $tag . $matches[0];
$text = substr($text, strlen($matches[0]));

// Unmatched marker: just skip it.
// Unmatched marker: just skip it.
} else {
$parsed .= $tag;
}
Expand All @@ -216,7 +216,7 @@ protected function _hashBlocks_inMarkdown($text, $indent = 0, $enclosing_tag_re
$parsed .= $tag . $matches[0];
$text = substr($text, strlen($matches[0]));

// No end marker: just skip it.
// No end marker: just skip it.
} else {
$parsed .= $tag;
}
Expand Down
4 changes: 2 additions & 2 deletions src/MarkdownExtended/Grammar/Filter/Note.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@ public function append($text)
if (isset($footnotes[$note_id])) {
self::transformFootnote($note_id);

// glossary
// glossary
} elseif (isset($glossaries[$note_id])) {
self::transformGlossary($note_id);

// bibliographies
// bibliographies
} elseif (isset($bibliographies[$note_id])) {
self::transformBibliography($note_id);
}
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function mde_autoloader($className, $namespace = 'MarkdownExtended', $base_path
]))) {
require_once $a;

// else try local Composer autoloader
// else try local Composer autoloader
} elseif (file_exists($b = $bootstrapGetPath([
dirname(__DIR__), 'vendor', 'autoload.php',
]))) {
Expand Down

0 comments on commit a795a7f

Please sign in to comment.