Passed
Push — develop ( acf7d3...ede307 )
by nguereza
10:23
created
src/Tag/RawTag.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,8 +60,8 @@
 block discarded – undo
60 60
 class RawTag extends AbstractBlock
61 61
 {
62 62
     /**
63
-    * {@inheritdoc}
64
-    */
63
+     * {@inheritdoc}
64
+     */
65 65
     public function parse(array &$tokens): void
66 66
     {
67 67
         $lexer = new Lexer(
Please login to merge, or discard this 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/CommentTag.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,8 @@
 block discarded – undo
59 59
 class CommentTag extends AbstractBlock
60 60
 {
61 61
     /**
62
-    * {@inheritdoc}
63
-    */
62
+     * {@inheritdoc}
63
+     */
64 64
     public function render(Context $context): string
65 65
     {
66 66
         return '';
Please login to merge, or discard this 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/Parser/FilterCollection.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 FilterCollection
63 63
  * @package Platine\Template\Parser
64 64
  */
65
-class FilterCollection
66
-{
65
+class FilterCollection {
67 66
     /**
68 67
      * The list of filter with their name and class
69 68
      * @var array<string, class-string>
@@ -73,8 +72,7 @@  discard block
 block discarded – undo
73 72
     /**
74 73
      * Create new instance
75 74
      */
76
-    public function __construct()
77
-    {
75
+    public function __construct() {
78 76
         $this->addFilter(ArrayFilter::class);
79 77
         $this->addFilter(DatetimeFilter::class);
80 78
         $this->addFilter(HtmlFilter::class);
Please login to merge, or discard this patch.
src/Parser/AbstractFilter.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,6 +53,5 @@
 block discarded – undo
53 53
  * @class AbstractFilter
54 54
  * @package Platine\Template\Parser
55 55
  */
56
-abstract class AbstractFilter
57
-{
56
+abstract class AbstractFilter {
58 57
 }
Please login to merge, or discard this patch.
src/Parser/AbstractCondition.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 AbstractCondition
57 57
  * @package Platine\Template\Parser
58 58
  */
59
-abstract class AbstractCondition extends AbstractBlock
60
-{
59
+abstract class AbstractCondition extends AbstractBlock {
61 60
     /**
62 61
      * The current left variable to compare
63 62
      * @var mixed
Please login to merge, or discard this patch.
src/Parser/Context.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,8 +58,7 @@  discard block
 block discarded – undo
58 58
  * @class Context
59 59
  * @package Platine\Template\Parser
60 60
  */
61
-class Context
62
-{
61
+class Context {
63 62
     /**
64 63
      * The local scopes
65 64
      * @var array<int, array<string, mixed>>
@@ -103,8 +102,7 @@  discard block
 block discarded – undo
103 102
      * @param array<string, mixed> $assigns
104 103
      * @param array<string, mixed> $registers
105 104
      */
106
-    public function __construct(array $assigns = [], array $registers = [])
107
-    {
105
+    public function __construct(array $assigns = [], array $registers = []) {
108 106
         $this->assigns = [$assigns];
109 107
         $this->registers = $registers;
110 108
         $this->filters = new FilterCollection();
Please login to merge, or discard this patch.
src/Parser/Drop.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -56,13 +56,13 @@
 block discarded – undo
56 56
  * @package Platine\Template\Parser
57 57
  *
58 58
  */
59
- /**
60
- * A drop is a class which allows you to export DOM like things to template.
61
- * Methods of drops are callable.
62
- * The main use for drops is the implement lazy loaded objects.
63
- * If you would like to make data available to the web designers which you don't
64
- * want loaded unless needed then a drop is a great way to do that.
65
- */
59
+    /**
60
+     * A drop is a class which allows you to export DOM like things to template.
61
+     * Methods of drops are callable.
62
+     * The main use for drops is the implement lazy loaded objects.
63
+     * If you would like to make data available to the web designers which you don't
64
+     * want loaded unless needed then a drop is a great way to do that.
65
+     */
66 66
 abstract class Drop implements Stringable
67 67
 {
68 68
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,8 +63,7 @@
 block discarded – undo
63 63
  * If you would like to make data available to the web designers which you don't
64 64
  * want loaded unless needed then a drop is a great way to do that.
65 65
  */
66
-abstract class Drop implements Stringable
67
-{
66
+abstract class Drop implements Stringable {
68 67
     /**
69 68
      * The context instance to use
70 69
      * @var Context
Please login to merge, or discard this patch.
src/Util/Helper.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 Helper
54 54
  * @package Platine\Template\Util
55 55
  */
56
-class Helper
57
-{
56
+class Helper {
58 57
     /**
59 58
      * Normalize path
60 59
      * @param string $path
Please login to merge, or discard this patch.
src/Configuration.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,8 +55,7 @@
 block discarded – undo
55 55
  * @class Configuration
56 56
  * @package Platine\Template
57 57
  */
58
-class Configuration extends AbstractConfiguration
59
-{
58
+class Configuration extends AbstractConfiguration {
60 59
     /**
61 60
      * {@inheritdoc}
62 61
      */
Please login to merge, or discard this patch.