Passed
Push — develop ( a2e445...3f2ff8 )
by nguereza
11:57
created
src/Tokenizer.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -56,8 +56,7 @@  discard block
 block discarded – undo
56 56
  * @class Tokenizer
57 57
  * @package Platine\Expression
58 58
  */
59
-class Tokenizer
60
-{
59
+class Tokenizer {
61 60
     /**
62 61
      * List of token
63 62
      * @var array<Token>
@@ -111,8 +110,7 @@  discard block
 block discarded – undo
111 110
      * @param string $input
112 111
      * @param array<string, Operator> $operators
113 112
      */
114
-    public function __construct(string $input, array $operators)
115
-    {
113
+    public function __construct(string $input, array $operators) {
116 114
         $this->input = $input;
117 115
         $this->operators = $operators;
118 116
     }
Please login to merge, or discard this patch.
src/Exception/ExpressionException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,6 +40,5 @@
 block discarded – undo
40 40
  * @class ExpressionException
41 41
  * @package Platine\Expression\Exception
42 42
  */
43
-class ExpressionException extends Exception
44
-{
43
+class ExpressionException extends Exception {
45 44
 }
Please login to merge, or discard this patch.
src/Exception/IncorrectFunctionParameterException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,6 +38,5 @@
 block discarded – undo
38 38
  * @class IncorrectFunctionParameterException
39 39
  * @package Platine\Expression\Exception
40 40
  */
41
-class IncorrectFunctionParameterException extends ExpressionException
42
-{
41
+class IncorrectFunctionParameterException extends ExpressionException {
43 42
 }
Please login to merge, or discard this patch.
src/Exception/DivisionByZeroException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,6 +38,5 @@
 block discarded – undo
38 38
  * @class DivisionByZeroException
39 39
  * @package Platine\Expression\Exception
40 40
  */
41
-class DivisionByZeroException extends ExpressionException
42
-{
41
+class DivisionByZeroException extends ExpressionException {
43 42
 }
Please login to merge, or discard this patch.
src/Exception/IncorrectBracketsException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,6 +38,5 @@
 block discarded – undo
38 38
  * @class IncorrectBracketsException
39 39
  * @package Platine\Expression\Exception
40 40
  */
41
-class IncorrectBracketsException extends ExpressionException
42
-{
41
+class IncorrectBracketsException extends ExpressionException {
43 42
 }
Please login to merge, or discard this patch.
src/Exception/UnknownFunctionException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,6 +38,5 @@
 block discarded – undo
38 38
  * @class UnknownFunctionException
39 39
  * @package Platine\Expression\Exception
40 40
  */
41
-class UnknownFunctionException extends ExpressionException
42
-{
41
+class UnknownFunctionException extends ExpressionException {
43 42
 }
Please login to merge, or discard this patch.
src/Exception/UnknownOperatorException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,6 +38,5 @@
 block discarded – undo
38 38
  * @class UnknownOperatorException
39 39
  * @package Platine\Expression\Exception
40 40
  */
41
-class UnknownOperatorException extends ExpressionException
42
-{
41
+class UnknownOperatorException extends ExpressionException {
43 42
 }
Please login to merge, or discard this patch.
src/Exception/UnknownVariableException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,6 +38,5 @@
 block discarded – undo
38 38
  * @class UnknownVariableException
39 39
  * @package Platine\Expression\Exception
40 40
  */
41
-class UnknownVariableException extends ExpressionException
42
-{
41
+class UnknownVariableException extends ExpressionException {
43 42
 }
Please login to merge, or discard this patch.
src/Exception/IncorrectNumberOfFunctionParametersException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,6 +38,5 @@
 block discarded – undo
38 38
  * @class IncorrectNumberOfFunctionParametersException
39 39
  * @package Platine\Expression\Exception
40 40
  */
41
-class IncorrectNumberOfFunctionParametersException extends ExpressionException
42
-{
41
+class IncorrectNumberOfFunctionParametersException extends ExpressionException {
43 42
 }
Please login to merge, or discard this patch.