Skip to content

Commit 7daa1e1

Browse files
authored
Update test badge
split: 39dd7c399e46a9a22490c061a2c91d3ef1579af6
1 parent ce27cb0 commit 7daa1e1

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,3 @@ $html = $renderer->render($pugInput);
2626

2727
//$html is now a string of HTML or any other markup according to the formatter you choose (XML, xHTML, etc.)
2828
```
29-
30-
Security contact information
31-
-----
32-
33-
To report a security vulnerability, please use the
34-
[Tidelift security contact](https://tidelift.com/security).
35-
Tidelift will coordinate the fix and disclosure.
36-

Renderer/Adapter/Stream/Template.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ class Template
1919
*/
2020
private $data = '';
2121

22+
/**
23+
* @var mixed
24+
*/
25+
public $context;
26+
2227
/**
2328
* @param $path
2429
*

Renderer/CacheInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface CacheInterface
1111
/**
1212
* Return the cached file path after cache optional process.
1313
*
14-
* @param $path
14+
* @param string $path
1515
* @param string $input pug input
1616
* @param callable $rendered method to compile the source into PHP
1717
* @param bool $success

Renderer/Partial/Debug/DebuggerTrait.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ private function getRendererException($error, $code, $line, $offset, $source, $s
180180

181181
/**
182182
* @return bool
183+
*
183184
* @codeCoverageIgnore
184185
*/
185186
private function hasColorSupport()
@@ -200,6 +201,7 @@ private function hasColorSupport()
200201

201202
/**
202203
* @return bool
204+
*
203205
* @codeCoverageIgnore
204206
*/
205207
private function hasStdOutVt100Support()
@@ -211,6 +213,7 @@ private function hasStdOutVt100Support()
211213

212214
/**
213215
* @return bool
216+
*
214217
* @codeCoverageIgnore
215218
*/
216219
private function isStdOutATTY()

Renderer/Profiler/LinkDump.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ private function initProperties($name, $events)
3333
foreach ([
3434
['current', EndLexEvent::class, 'lexing', [
3535
'background' => '#7200c4',
36-
'color' => 'white',
36+
'color' => 'white',
3737
]],
3838
['current', HtmlEvent::class, 'rendering', [
3939
'background' => '#648481',
40-
'color' => 'white',
40+
'color' => 'white',
4141
]],
4242
['previous', CompileEvent::class, '%s', [
4343
'background' => '#ffff78',

0 commit comments

Comments
 (0)