@@ -32,7 +32,7 @@ |
||
| 32 | 32 | /** |
| 33 | 33 | * PageManager constructor |
| 34 | 34 | */ |
| 35 | - public function __construct() |
|
| 35 | + public function __construct () |
|
| 36 | 36 | { |
| 37 | 37 | parent::__construct(); |
| 38 | 38 | |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | private $collections; |
| 14 | 14 | |
| 15 | - public function __construct() |
|
| 15 | + public function __construct () |
|
| 16 | 16 | { |
| 17 | 17 | parent::__construct(); |
| 18 | 18 | |
@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | { |
| 9 | 9 | protected $engine; |
| 10 | 10 | |
| 11 | - public function __construct($instanceName = null) |
|
| 11 | + public function __construct ($instanceName = null) |
|
| 12 | 12 | { |
| 13 | 13 | $this->engine = MarkdownEngine::instance($instanceName); |
| 14 | 14 | } |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | /** |
| 17 | 17 | * {@inheritdoc} |
| 18 | 18 | */ |
| 19 | - public function transform($content) |
|
| 19 | + public function transform ($content) |
|
| 20 | 20 | { |
| 21 | 21 | return $this->engine->parse($content); |
| 22 | 22 | } |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | /** |
| 25 | 25 | * {@inheritdoc} |
| 26 | 26 | */ |
| 27 | - public function getName() |
|
| 27 | + public function getName () |
|
| 28 | 28 | { |
| 29 | 29 | return 'stakx/parsedown'; |
| 30 | 30 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | $this->highlighter = new Highlighter(); |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | - public function blockFencedCodeComplete($block) |
|
| 16 | + public function blockFencedCodeComplete ($block) |
|
| 17 | 17 | { |
| 18 | 18 | // The class has a `language-` prefix, remove this to get the language |
| 19 | 19 | if (isset($block['element']['text']['attributes'])) |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | |
| 9 | 9 | class SyntaxBlock extends CodeBlock |
| 10 | 10 | { |
| 11 | - public function process(Parser $parser, $node, $variable, $data, array $options) |
|
| 11 | + public function process (Parser $parser, $node, $variable, $data, array $options) |
|
| 12 | 12 | { |
| 13 | 13 | parent::process($parser, $node, $variable, $data, $options); |
| 14 | 14 | |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | |
| 12 | 12 | class CodeNode extends Base |
| 13 | 13 | { |
| 14 | - public function render() |
|
| 14 | + public function render () |
|
| 15 | 15 | { |
| 16 | 16 | return "<pre><code class=\"language-" . $this->language . "\">" . $this->value . "</code></pre>"; |
| 17 | 17 | } |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | |
| 8 | 8 | class RstEngine extends Parser |
| 9 | 9 | { |
| 10 | - public function __construct($environment = null, $kernel = null) |
|
| 10 | + public function __construct ($environment = null, $kernel = null) |
|
| 11 | 11 | { |
| 12 | 12 | parent::__construct($environment, $kernel); |
| 13 | 13 | |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | |
| 8 | 8 | class Application extends \Symfony\Component\Console\Application |
| 9 | 9 | { |
| 10 | - public function doRun(InputInterface $input, OutputInterface $output) |
|
| 10 | + public function doRun (InputInterface $input, OutputInterface $output) |
|
| 11 | 11 | { |
| 12 | 12 | if (extension_loaded('xdebug') && !getenv('COMPOSER_DISABLE_XDEBUG_WARN')) |
| 13 | 13 | { |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | $listener = $watcher->watch(getcwd()); |
| 169 | 169 | $targetPath = $this->getConfiguration()->getTargetFolder(); |
| 170 | 170 | |
| 171 | - $listener->onModify(function($resource, $path) use ($targetPath) { |
|
| 171 | + $listener->onModify(function ($resource, $path) use ($targetPath) { |
|
| 172 | 172 | $filePath = $this->fs->getRelativePath($path); |
| 173 | 173 | |
| 174 | 174 | if ((substr($filePath, 0, strlen($targetPath)) === $targetPath) || |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | /** |
| 198 | 198 | * @return Configuration |
| 199 | 199 | */ |
| 200 | - public function getConfiguration() |
|
| 200 | + public function getConfiguration () |
|
| 201 | 201 | { |
| 202 | 202 | return $this->configuration; |
| 203 | 203 | } |