Completed
Push — master ( eb3390...83b3e9 )
by Ilias
03:12 queued 01:12
created
src/CondParse/Lexer.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,8 @@
 block discarded – undo
78 78
      * @param TokenMap $tokenMap
79 79
      * @return \Traversable <string>
80 80
      */
81
-    public function getTokenStream($conditionString, TokenMap $tokenMap) {
81
+    public function getTokenStream($conditionString, TokenMap $tokenMap)
82
+    {
82 83
         return $this->getTokenStreamWithRegex($conditionString, $this->buildRegex($tokenMap));
83 84
     }
84 85
 
Please login to merge, or discard this patch.
src/CondParse/Operand/BooleanOperand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,6 @@
 block discarded – undo
16 16
 
17 17
     public function __toString()
18 18
     {
19
-        return (string)$this->token;
19
+        return (string) $this->token;
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
src/CondParse/ParseStrategy/DefaultStrategy.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     public function executeFor(TokenParserParameter $parserParameter)
26 26
     {
27 27
         while (
28
-            ! $parserParameter->getOperatorStack()->isEmpty()
28
+            !$parserParameter->getOperatorStack()->isEmpty()
29 29
             && $parserParameter->getTokenMap()
30 30
                 ->compareOperatorPrecedence(
31 31
                     $parserParameter->getLexerToken(),
Please login to merge, or discard this patch.
src/CondParse/ParseStrategy/ClosingBracket.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function executeFor(TokenParserParameter $parserParameter)
27 27
     {
28
-        while (! $parserParameter->getOperatorStack()->top()->isToken(TokenMap::TOKEN_BRACKET_OPEN)) {
28
+        while (!$parserParameter->getOperatorStack()->top()->isToken(TokenMap::TOKEN_BRACKET_OPEN)) {
29 29
             $parserParameter->getOperandStack()->push(
30 30
                 $parserParameter
31 31
                     ->getTokenMap()
Please login to merge, or discard this patch.
src/CondParse/TokenParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     public function parseToken(TokenParserParameter $parameter)
44 44
     {
45 45
         foreach ($this->strategies as $strategy) {
46
-            if (! $strategy->shouldExecuteFor($parameter)) {
46
+            if (!$strategy->shouldExecuteFor($parameter)) {
47 47
                 continue;
48 48
             }
49 49
 
Please login to merge, or discard this patch.
src/CondParse/Operand/NotOperand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /** @return bool */
16 16
     public function execute()
17 17
     {
18
-        return ! $this->containedOperand->execute();
18
+        return !$this->containedOperand->execute();
19 19
     }
20 20
 
21 21
     /**
Please login to merge, or discard this patch.