Passed
Push — develop ( acf7d3...ede307 )
by nguereza
10:23
created
src/Exception/ParseException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,6 +39,5 @@
 block discarded – undo
39 39
  * @class ParseException
40 40
  * @package Platine\Template\Exception
41 41
  */
42
-class ParseException extends TemplateException
43
-{
42
+class ParseException extends TemplateException {
44 43
 }
Please login to merge, or discard this patch.
src/Exception/RenderException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,6 +39,5 @@
 block discarded – undo
39 39
  * @class RenderException
40 40
  * @package Platine\Template\Exception
41 41
  */
42
-class RenderException extends TemplateException
43
-{
42
+class RenderException extends TemplateException {
44 43
 }
Please login to merge, or discard this patch.
src/Exception/LoaderException.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,6 +39,5 @@
 block discarded – undo
39 39
  * @class LoaderException
40 40
  * @package Platine\Template\Exception
41 41
  */
42
-class LoaderException extends TemplateException
43
-{
42
+class LoaderException extends TemplateException {
44 43
 }
Please login to merge, or discard this patch.
src/Filter/ArrayFilter.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@
 block discarded – undo
58 58
  * @class ArrayFilter
59 59
  * @package Platine\Template\Filter
60 60
  */
61
-class ArrayFilter extends AbstractFilter
62
-{
61
+class ArrayFilter extends AbstractFilter {
63 62
     /**
64 63
      * Returns the first element of an array
65 64
      * @param array<mixed>|Iterator<mixed>|mixed $value
Please login to merge, or discard this patch.
src/Filter/NumberFilter.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@  discard block
 block discarded – undo
55 55
  * @class NumberFilter
56 56
  * @package Platine\Template\Filter
57 57
  */
58
-class NumberFilter extends AbstractFilter
59
-{
58
+class NumberFilter extends AbstractFilter {
60 59
     /**
61 60
      * Addition
62 61
      * @param float|int $variable
@@ -125,7 +124,8 @@  discard block
 block discarded – undo
125 124
      */
126 125
     public static function div(float|int $variable, float|int $operand): float|int
127 126
     {
128
-        if ($operand == 0) {// don't use ===
127
+        if ($operand == 0) {
128
+// don't use ===
129 129
             return $variable;
130 130
         }
131 131
 
Please login to merge, or discard this patch.
src/Filter/StringFilter.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 StringFilter
57 57
  * @package Platine\Template\Filter
58 58
  */
59
-class StringFilter extends AbstractFilter
60
-{
59
+class StringFilter extends AbstractFilter {
61 60
     /**
62 61
      * Return the length of string or array
63 62
      * @param mixed $variable
Please login to merge, or discard this patch.
src/Tag/CommentTag.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 CommentTag
57 57
  * @package Platine\Template\Tag
58 58
  */
59
-class CommentTag extends AbstractBlock
60
-{
59
+class CommentTag extends AbstractBlock {
61 60
     /**
62 61
     * {@inheritdoc}
63 62
     */
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/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.