Completed
Push — develop ( 316159...00443b )
by Zack
20:22
created
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ArrayDimFetch.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@
 block discarded – undo
18 18
      * @param null|Expr $dim        Array index / dim
19 19
      * @param array     $attributes Additional attributes
20 20
      */
21
-    public function __construct(Expr $var, Expr $dim = null, array $attributes = []) {
21
+    public function __construct( Expr $var, Expr $dim = null, array $attributes = [ ] ) {
22 22
         $this->attributes = $attributes;
23 23
         $this->var = $var;
24 24
         $this->dim = $dim;
25 25
     }
26 26
 
27 27
     public function getSubNodeNames() : array {
28
-        return ['var', 'dim'];
28
+        return [ 'var', 'dim' ];
29 29
     }
30 30
     
31 31
     public function getType() : string {
Please login to merge, or discard this patch.
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/List_.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,13 +15,13 @@
 block discarded – undo
15 15
      * @param (ArrayItem|null)[] $items      List of items to assign to
16 16
      * @param array              $attributes Additional attributes
17 17
      */
18
-    public function __construct(array $items, array $attributes = []) {
18
+    public function __construct( array $items, array $attributes = [ ] ) {
19 19
         $this->attributes = $attributes;
20 20
         $this->items = $items;
21 21
     }
22 22
 
23 23
     public function getSubNodeNames() : array {
24
-        return ['items'];
24
+        return [ 'items' ];
25 25
     }
26 26
     
27 27
     public function getType() : string {
Please login to merge, or discard this patch.
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Yield_.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@
 block discarded – undo
18 18
      * @param null|Expr $key        Key expression
19 19
      * @param array     $attributes Additional attributes
20 20
      */
21
-    public function __construct(Expr $value = null, Expr $key = null, array $attributes = []) {
21
+    public function __construct( Expr $value = null, Expr $key = null, array $attributes = [ ] ) {
22 22
         $this->attributes = $attributes;
23 23
         $this->key = $key;
24 24
         $this->value = $value;
25 25
     }
26 26
 
27 27
     public function getSubNodeNames() : array {
28
-        return ['key', 'value'];
28
+        return [ 'key', 'value' ];
29 29
     }
30 30
     
31 31
     public function getType() : string {
Please login to merge, or discard this patch.
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/CallLike.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,8 +19,8 @@  discard block
 block discarded – undo
19 19
      * Returns whether this call expression is actually a first class callable.
20 20
      */
21 21
     public function isFirstClassCallable(): bool {
22
-        foreach ($this->getRawArgs() as $arg) {
23
-            if ($arg instanceof VariadicPlaceholder) {
22
+        foreach ( $this->getRawArgs() as $arg ) {
23
+            if ( $arg instanceof VariadicPlaceholder ) {
24 24
                 return true;
25 25
             }
26 26
         }
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      * @return Arg[]
34 34
      */
35 35
     public function getArgs(): array {
36
-        assert(!$this->isFirstClassCallable());
36
+        assert( ! $this->isFirstClassCallable() );
37 37
         return $this->getRawArgs();
38 38
     }
39 39
 }
40 40
\ No newline at end of file
Please login to merge, or discard this patch.
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Instanceof_.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,14 +19,14 @@
 block discarded – undo
19 19
      * @param Name|Expr $class      Class name
20 20
      * @param array     $attributes Additional attributes
21 21
      */
22
-    public function __construct(Expr $expr, $class, array $attributes = []) {
22
+    public function __construct( Expr $expr, $class, array $attributes = [ ] ) {
23 23
         $this->attributes = $attributes;
24 24
         $this->expr = $expr;
25 25
         $this->class = $class;
26 26
     }
27 27
 
28 28
     public function getSubNodeNames() : array {
29
-        return ['expr', 'class'];
29
+        return [ 'expr', 'class' ];
30 30
     }
31 31
     
32 32
     public function getType() : string {
Please login to merge, or discard this patch.
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/ClosureUse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@
 block discarded – undo
18 18
      * @param bool          $byRef      Whether to use by reference
19 19
      * @param array         $attributes Additional attributes
20 20
      */
21
-    public function __construct(Expr\Variable $var, bool $byRef = false, array $attributes = []) {
21
+    public function __construct( Expr\Variable $var, bool $byRef = false, array $attributes = [ ] ) {
22 22
         $this->attributes = $attributes;
23 23
         $this->var = $var;
24 24
         $this->byRef = $byRef;
25 25
     }
26 26
 
27 27
     public function getSubNodeNames() : array {
28
-        return ['var', 'byRef'];
28
+        return [ 'var', 'byRef' ];
29 29
     }
30 30
     
31 31
     public function getType() : string {
Please login to merge, or discard this patch.
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/Ternary.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      * @param Expr      $else       Expression for false
22 22
      * @param array                    $attributes Additional attributes
23 23
      */
24
-    public function __construct(Expr $cond, $if, Expr $else, array $attributes = []) {
24
+    public function __construct( Expr $cond, $if, Expr $else, array $attributes = [ ] ) {
25 25
         $this->attributes = $attributes;
26 26
         $this->cond = $cond;
27 27
         $this->if = $if;
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     }
30 30
 
31 31
     public function getSubNodeNames() : array {
32
-        return ['cond', 'if', 'else'];
32
+        return [ 'cond', 'if', 'else' ];
33 33
     }
34 34
     
35 35
     public function getType() : string {
Please login to merge, or discard this patch.
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,14 +18,14 @@
 block discarded – undo
18 18
      * @param Expr  $right      The right hand side expression
19 19
      * @param array $attributes Additional attributes
20 20
      */
21
-    public function __construct(Expr $left, Expr $right, array $attributes = []) {
21
+    public function __construct( Expr $left, Expr $right, array $attributes = [ ] ) {
22 22
         $this->attributes = $attributes;
23 23
         $this->left = $left;
24 24
         $this->right = $right;
25 25
     }
26 26
 
27 27
     public function getSubNodeNames() : array {
28
-        return ['left', 'right'];
28
+        return [ 'left', 'right' ];
29 29
     }
30 30
 
31 31
     /**
Please login to merge, or discard this patch.
vendor/nikic/php-parser/lib/PhpParser/Node/Expr/StaticPropertyFetch.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,14 +20,14 @@
 block discarded – undo
20 20
      * @param string|VarLikeIdentifier|Expr $name       Property name
21 21
      * @param array                         $attributes Additional attributes
22 22
      */
23
-    public function __construct($class, $name, array $attributes = []) {
23
+    public function __construct( $class, $name, array $attributes = [ ] ) {
24 24
         $this->attributes = $attributes;
25 25
         $this->class = $class;
26
-        $this->name = \is_string($name) ? new VarLikeIdentifier($name) : $name;
26
+        $this->name = \is_string( $name ) ? new VarLikeIdentifier( $name ) : $name;
27 27
     }
28 28
 
29 29
     public function getSubNodeNames() : array {
30
-        return ['class', 'name'];
30
+        return [ 'class', 'name' ];
31 31
     }
32 32
     
33 33
     public function getType() : string {
Please login to merge, or discard this patch.