Home
last modified time | relevance | path

Searched refs:context (Results 1 – 5 of 5) sorted by relevance

/web-bugs/tests/Unit/Template/
H A DContextTest.php11 private $context; variable in App\\Tests\\Unit\\Template\\ContextTest
20 $this->context->start('foo');
22 $this->context->end('foo');
24 $this->assertEquals($this->context->block('foo'), 'bar');
26 $this->context->append('foo');
28 $this->context->end('foo');
30 $this->assertEquals($this->context->block('foo'), 'barbaz');
32 $this->context->start('foo');
34 $this->context->end('foo');
42 $this->context->include('includes/banner.php');
[all …]
/web-bugs/src/Horde/Text/Diff/
H A DRenderer.php74 $context = array();
100 $context = array_slice($edit->orig, 0, $ntrail);
101 $block[] = new Horde_Text_Diff_Op_Copy($context);
111 $context = $edit->orig;
116 $context = array_slice($context, count($context) - $nlead);
117 $x0 = $xi - count($context);
118 $y0 = $yi - count($context);
120 if ($context) {
121 $block[] = new Horde_Text_Diff_Op_Copy($context);
/web-bugs/src/Template/
H A DEngine.php38 private $context; variable in App\\Template\\Engine
95 $this->context = new Context(
103 while (!empty($current = array_shift($this->context->tree))) {
155 $this->context,
/web-bugs/src/Horde/Text/Diff/Engine/
H A DString.php58 $context = strpos($diff, '***');
60 if ($context === $unified) {
62 } elseif ($context === false || $unified === false) {
63 $mode = $context !== false ? 'context' : 'unified';
65 $mode = $context < $unified ? 'context' : 'unified';
/web-bugs/
H A Dcomposer.lock927 "sebastian/recursion-context": "^3.0"
1005 "sebastian/recursion-context": "^3.0"
1069 "sebastian/recursion-context": "^3.0"
1165 "name": "sebastian/recursion-context",
1169 "url": "https://github.com/sebastianbergmann/recursion-context.git",
1174 …"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/9bfd3c6f1f08c026f…
1214 "homepage": "http://www.github.com/sebastianbergmann/recursion-context",
1216 "issues": "https://github.com/sebastianbergmann/recursion-context/issues",
1217 "source": "https://github.com/sebastianbergmann/recursion-context/tree/3.0.2"

Completed in 9 milliseconds