Passed
Push — develop ( 6ce382...217ba3 )
by nguereza
02:19
created
src/Tag/CaseTag.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -62,8 +62,7 @@  discard block
 block discarded – undo
62 62
  * @class CaseTag
63 63
  * @package Platine\Template\Tag
64 64
  */
65
-class CaseTag extends AbstractCondition
66
-{
65
+class CaseTag extends AbstractCondition {
67 66
     /**
68 67
      * Stack of node list
69 68
      * @var array<int, array<int, mixed>>
@@ -91,8 +90,7 @@  discard block
 block discarded – undo
91 90
     /**
92 91
     * {@inheritdoc}
93 92
     */
94
-    public function __construct(string $markup, &$tokens, Parser $parser)
95
-    {
93
+    public function __construct(string $markup, &$tokens, Parser $parser) {
96 94
         parent::__construct($markup, $tokens, $parser);
97 95
 
98 96
         $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/');
Please login to merge, or discard this patch.
src/Tag/RawTag.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,7 @@
 block discarded – undo
57 57
  * @class RawTag
58 58
  * @package Platine\Template\Tag
59 59
  */
60
-class RawTag extends AbstractBlock
61
-{
60
+class RawTag extends AbstractBlock {
62 61
     /**
63 62
     * {@inheritdoc}
64 63
     */
Please login to merge, or discard this patch.
src/Tag/CycleTag.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
  * @class CycleTag
61 61
  * @package Platine\Template\Tag
62 62
  */
63
-class CycleTag extends AbstractTag
64
-{
63
+class CycleTag extends AbstractTag {
65 64
     /**
66 65
      * The name of the cycle; if none is given one
67 66
      * is created using the value list
@@ -78,8 +77,7 @@  discard block
 block discarded – undo
78 77
     /**
79 78
     * {@inheritdoc}
80 79
     */
81
-    public function __construct(string $markup, &$tokens, Parser $parser)
82
-    {
80
+    public function __construct(string $markup, &$tokens, Parser $parser) {
83 81
         $lexerSimple = new Lexer('/' . Token::QUOTED_FRAGMENT . '/');
84 82
         $lexerNamed = new Lexer('/(' . Token::QUOTED_FRAGMENT . ')\s*\:\s*(.*)/');
85 83
         if ($lexerNamed->match($markup)) {
Please login to merge, or discard this patch.
src/Tag/IncludeTag.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@  discard block
 block discarded – undo
61 61
  * @class IncludeTag
62 62
  * @package Platine\Template\Tag
63 63
  */
64
-class IncludeTag extends AbstractTag
65
-{
64
+class IncludeTag extends AbstractTag {
66 65
     /**
67 66
      * The name of the template
68 67
      * @var string
@@ -97,8 +96,7 @@  discard block
 block discarded – undo
97 96
     /**
98 97
     * {@inheritdoc}
99 98
     */
100
-    public function __construct(string $markup, &$tokens, Parser $parser)
101
-    {
99
+    public function __construct(string $markup, &$tokens, Parser $parser) {
102 100
         $lexer = new Lexer(
103 101
             '/("[^"]+"|\'[^\']+\'|[^\'"\s]+)(\s+(with|for)\s+('
104 102
             . Token::QUOTED_FRAGMENT
Please login to merge, or discard this patch.
src/Tag/ContinueTag.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@
 block discarded – undo
56 56
  * @class ContinueTag
57 57
  * @package Platine\Template\Tag
58 58
  */
59
-class ContinueTag extends AbstractTag
60
-{
59
+class ContinueTag extends AbstractTag {
61 60
     /**
62 61
     * {@inheritdoc}
63 62
     */
Please login to merge, or discard this patch.
src/Tag/IfnotTag.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@
 block discarded – undo
53 53
  * @class IfnotTag
54 54
  * @package Platine\Template\Tag
55 55
  */
56
-class IfnotTag extends IfTag
57
-{
56
+class IfnotTag extends IfTag {
58 57
     /**
59 58
     * {@inheritdoc}
60 59
     */
Please login to merge, or discard this patch.
src/Tag/DebugTag.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
  * @class DebugTag
61 61
  * @package Platine\Template\Tag
62 62
  */
63
-class DebugTag extends AbstractTag
64
-{
63
+class DebugTag extends AbstractTag {
65 64
     /**
66 65
      * Value to debug
67 66
      * @var string
@@ -71,8 +70,7 @@  discard block
 block discarded – undo
71 70
     /**
72 71
     * {@inheritdoc}
73 72
     */
74
-    public function __construct(string $markup, &$tokens, Parser $parser)
75
-    {
73
+    public function __construct(string $markup, &$tokens, Parser $parser) {
76 74
         parent::__construct($markup, $tokens, $parser);
77 75
 
78 76
         $lexer = new Lexer('/' . Token::QUOTED_FRAGMENT . '/');
Please login to merge, or discard this patch.
src/Tag/ExtendsTag.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,8 +61,7 @@  discard block
 block discarded – undo
61 61
  * @class ExtendsTag
62 62
  * @package Platine\Template\Tag
63 63
  */
64
-class ExtendsTag extends AbstractTag
65
-{
64
+class ExtendsTag extends AbstractTag {
66 65
     /**
67 66
      * The name of the template
68 67
      * @var string
@@ -84,8 +83,7 @@  discard block
 block discarded – undo
84 83
     /**
85 84
     * {@inheritdoc}
86 85
     */
87
-    public function __construct(string $markup, &$tokens, Parser $parser)
88
-    {
86
+    public function __construct(string $markup, &$tokens, Parser $parser) {
89 87
         $lexer = new Lexer('/("[^"]+"|\'[^\']+\')?/');
90 88
         if ($lexer->match($markup) && $lexer->isMatchNotNull(1)) {
91 89
             $this->templateName = substr(
Please login to merge, or discard this patch.
src/Tag/CaptureTag.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,8 +59,7 @@  discard block
 block discarded – undo
59 59
  * @class CaptureTag
60 60
  * @package Platine\Template\Tag
61 61
  */
62
-class CaptureTag extends AbstractBlock
63
-{
62
+class CaptureTag extends AbstractBlock {
64 63
     /**
65 64
      * The name of the variable
66 65
      * @var string
@@ -70,8 +69,7 @@  discard block
 block discarded – undo
70 69
     /**
71 70
     * {@inheritdoc}
72 71
     */
73
-    public function __construct(string $markup, &$tokens, Parser $parser)
74
-    {
72
+    public function __construct(string $markup, &$tokens, Parser $parser) {
75 73
         $lexer = new Lexer('/(\w+)/');
76 74
         if ($lexer->match($markup)) {
77 75
             $this->variableName = $lexer->getStringMatch(1);
Please login to merge, or discard this patch.