Completed
Push — master ( 9ad54b...895d73 )
by Federico
03:21
created
dist/jate/modules/ExternalModules/pug-php/pug/src/Jade/Filter/Css.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 
8 8
 class Css extends AbstractFilter
9 9
 {
10
-    public function __invoke(Filter $node, Compiler $compiler)
11
-    {
12
-        return '<style type="text/css">' . $this->getNodeString($node, $compiler) . '</style>';
13
-    }
10
+	public function __invoke(Filter $node, Compiler $compiler)
11
+	{
12
+		return '<style type="text/css">' . $this->getNodeString($node, $compiler) . '</style>';
13
+	}
14 14
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,6 +9,6 @@
 block discarded – undo
9 9
 {
10 10
     public function __invoke(Filter $node, Compiler $compiler)
11 11
     {
12
-        return '<style type="text/css">' . $this->getNodeString($node, $compiler) . '</style>';
12
+        return '<style type="text/css">'.$this->getNodeString($node, $compiler).'</style>';
13 13
     }
14 14
 }
Please login to merge, or discard this patch.
modules/ExternalModules/pug-php/pug/src/Jade/Filter/FilterInterface.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,5 +10,5 @@
 block discarded – undo
10 10
  */
11 11
 interface FilterInterface
12 12
 {
13
-    public function __invoke(Filter $filter, Compiler $compiler);
13
+	public function __invoke(Filter $filter, Compiler $compiler);
14 14
 }
Please login to merge, or discard this patch.
dist/jate/modules/ExternalModules/pug-php/pug/src/Jade/Filter/Escaped.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 
8 8
 class Escaped extends AbstractFilter
9 9
 {
10
-    public function __invoke(Filter $node, Compiler $compiler)
11
-    {
12
-        return htmlentities($this->getNodeString($node, $compiler));
13
-    }
10
+	public function __invoke(Filter $node, Compiler $compiler)
11
+	{
12
+		return htmlentities($this->getNodeString($node, $compiler));
13
+	}
14 14
 }
Please login to merge, or discard this patch.
dist/jate/modules/ExternalModules/pug-php/pug/src/Jade/Filter/Script.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,5 +7,5 @@
 block discarded – undo
7 7
  */
8 8
 class Script extends AbstractFilter
9 9
 {
10
-    protected $tag = 'script';
10
+	protected $tag = 'script';
11 11
 }
Please login to merge, or discard this patch.
dist/jate/modules/ExternalModules/pug-php/pug/src/Jade/Filter/Pre.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -7,10 +7,10 @@
 block discarded – undo
7 7
  */
8 8
 class Pre extends AbstractFilter
9 9
 {
10
-    protected $tag = 'pre';
10
+	protected $tag = 'pre';
11 11
 
12
-    public function parse($contents)
13
-    {
14
-        return htmlspecialchars(trim($contents));
15
-    }
12
+	public function parse($contents)
13
+	{
14
+		return htmlspecialchars(trim($contents));
15
+	}
16 16
 }
Please login to merge, or discard this patch.
dist/jate/modules/ExternalModules/pug-php/pug/src/Jade/Filter/Cdata.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,8 +7,8 @@
 block discarded – undo
7 7
 
8 8
 class Cdata extends AbstractFilter
9 9
 {
10
-    public function __invoke(Filter $node, Compiler $compiler)
11
-    {
12
-        return "<![CDATA[\n" . $this->getNodeString($node, $compiler) . "\n]]>";
13
-    }
10
+	public function __invoke(Filter $node, Compiler $compiler)
11
+	{
12
+		return "<![CDATA[\n" . $this->getNodeString($node, $compiler) . "\n]]>";
13
+	}
14 14
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,6 +9,6 @@
 block discarded – undo
9 9
 {
10 10
     public function __invoke(Filter $node, Compiler $compiler)
11 11
     {
12
-        return "<![CDATA[\n" . $this->getNodeString($node, $compiler) . "\n]]>";
12
+        return "<![CDATA[\n".$this->getNodeString($node, $compiler)."\n]]>";
13 13
     }
14 14
 }
Please login to merge, or discard this patch.
dist/jate/modules/ExternalModules/pug-php/pug/src/Jade/Filter/Php.php 2 patches
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -10,26 +10,26 @@
 block discarded – undo
10 10
  */
11 11
 class Php implements FilterInterface
12 12
 {
13
-    /**
14
-     * @param Filter   $node
15
-     * @param Compiler $compiler
16
-     *
17
-     * @return string
18
-     */
19
-    public function __invoke(Filter $node, Compiler $compiler)
20
-    {
21
-        $data = '';
13
+	/**
14
+	 * @param Filter   $node
15
+	 * @param Compiler $compiler
16
+	 *
17
+	 * @return string
18
+	 */
19
+	public function __invoke(Filter $node, Compiler $compiler)
20
+	{
21
+		$data = '';
22 22
 
23
-        foreach ($node->block->nodes as $n) {
24
-            if (isset($n->value)) {
25
-                $data .= preg_match('/^[[:space:]]*\|(?!\|)(.*)/', $n->value, $m)
26
-                    ? ' ?> ' . $m[1] . '<?php '
27
-                    : $n->value . "\n";
28
-                continue;
29
-            }
30
-            $data .= ' ?> ' . $compiler->subCompiler()->compile($n) . '<?php ';
31
-        }
23
+		foreach ($node->block->nodes as $n) {
24
+			if (isset($n->value)) {
25
+				$data .= preg_match('/^[[:space:]]*\|(?!\|)(.*)/', $n->value, $m)
26
+					? ' ?> ' . $m[1] . '<?php '
27
+					: $n->value . "\n";
28
+				continue;
29
+			}
30
+			$data .= ' ?> ' . $compiler->subCompiler()->compile($n) . '<?php ';
31
+		}
32 32
 
33
-        return $data ? '<?php ' . $data . ' ?> ' : $data;
34
-    }
33
+		return $data ? '<?php ' . $data . ' ?> ' : $data;
34
+	}
35 35
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -23,13 +23,13 @@
 block discarded – undo
23 23
         foreach ($node->block->nodes as $n) {
24 24
             if (isset($n->value)) {
25 25
                 $data .= preg_match('/^[[:space:]]*\|(?!\|)(.*)/', $n->value, $m)
26
-                    ? ' ?> ' . $m[1] . '<?php '
27
-                    : $n->value . "\n";
26
+                    ? ' ?> '.$m[1].'<?php '
27
+                    : $n->value."\n";
28 28
                 continue;
29 29
             }
30
-            $data .= ' ?> ' . $compiler->subCompiler()->compile($n) . '<?php ';
30
+            $data .= ' ?> '.$compiler->subCompiler()->compile($n).'<?php ';
31 31
         }
32 32
 
33
-        return $data ? '<?php ' . $data . ' ?> ' : $data;
33
+        return $data ? '<?php '.$data.' ?> ' : $data;
34 34
     }
35 35
 }
Please login to merge, or discard this patch.
dist/jate/modules/ExternalModules/pug-php/pug/src/Jade/Nodes/Comment.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@
 block discarded – undo
4 4
 
5 5
 class Comment extends Node
6 6
 {
7
-    public $value;
8
-    public $buffer;
7
+	public $value;
8
+	public $buffer;
9 9
 
10
-    public function __construct($value, $buffer)
11
-    {
12
-        $this->value = $value;
13
-        $this->buffer = $buffer;
14
-    }
10
+	public function __construct($value, $buffer)
11
+	{
12
+		$this->value = $value;
13
+		$this->buffer = $buffer;
14
+	}
15 15
 }
Please login to merge, or discard this patch.
dist/jate/modules/ExternalModules/pug-php/pug/src/Jade/Nodes/CaseNode.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -5,12 +5,12 @@
 block discarded – undo
5 5
 // cant use the keyword case as class name
6 6
 class CaseNode extends Node
7 7
 {
8
-    public $expr;
9
-    public $block;
8
+	public $expr;
9
+	public $block;
10 10
 
11
-    public function __construct($expr, $block = null)
12
-    {
13
-        $this->expr = $expr;
14
-        $this->block = $block;
15
-    }
11
+	public function __construct($expr, $block = null)
12
+	{
13
+		$this->expr = $expr;
14
+		$this->block = $block;
15
+	}
16 16
 }
Please login to merge, or discard this patch.