@@ -44,7 +44,9 @@ |
||
| 44 | 44 | return $block; |
| 45 | 45 | } |
| 46 | 46 | // Exception thrown when language not supported, so just catch it and ignore it. |
| 47 | - catch (\DomainException $exception) {} |
|
| 47 | + catch (\DomainException $exception) |
|
| 48 | + { |
|
| 49 | +} |
|
| 48 | 50 | } |
| 49 | 51 | |
| 50 | 52 | return parent::blockFencedCodeComplete($block); |
@@ -90,7 +90,9 @@ |
||
| 90 | 90 | $file = $this->fs->createSplFileInfo($file); |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | - if (!$this->fs->exists($file)) { return; } |
|
| 93 | + if (!$this->fs->exists($file)) |
|
| 94 | + { |
|
| 95 | +return; } |
|
| 94 | 96 | |
| 95 | 97 | $filePath = $file->getRealPath(); |
| 96 | 98 | $pathToStrip = $this->fs->appendPath(getcwd(), $options['prefix']); |
@@ -103,8 +103,12 @@ |
||
| 103 | 103 | { |
| 104 | 104 | if (!isset($array[$key])) |
| 105 | 105 | { |
| 106 | - if ($comparison == '==' && is_null($value)) { return true; } |
|
| 107 | - if ($comparison == '!=' && !is_null($value)) { return true; } |
|
| 106 | + if ($comparison == '==' && is_null($value)) |
|
| 107 | + { |
|
| 108 | +return true; } |
|
| 109 | + if ($comparison == '!=' && !is_null($value)) |
|
| 110 | + { |
|
| 111 | +return true; } |
|
| 108 | 112 | } |
| 109 | 113 | } |
| 110 | 114 | |