Completed
Push — master ( 8e973a...811a95 )
by
unknown
03:40 queued 01:04
created
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Case_.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -6,29 +6,29 @@
 block discarded – undo
6 6
 
7 7
 class Case_ extends Node\Stmt
8 8
 {
9
-    /** @var null|Node\Expr Condition (null for default) */
10
-    public $cond;
11
-    /** @var Node\Stmt[] Statements */
12
-    public $stmts;
9
+	/** @var null|Node\Expr Condition (null for default) */
10
+	public $cond;
11
+	/** @var Node\Stmt[] Statements */
12
+	public $stmts;
13 13
 
14
-    /**
15
-     * Constructs a case node.
16
-     *
17
-     * @param null|Node\Expr $cond       Condition (null for default)
18
-     * @param Node\Stmt[]    $stmts      Statements
19
-     * @param array          $attributes Additional attributes
20
-     */
21
-    public function __construct($cond, array $stmts = [], array $attributes = []) {
22
-        $this->attributes = $attributes;
23
-        $this->cond = $cond;
24
-        $this->stmts = $stmts;
25
-    }
14
+	/**
15
+	 * Constructs a case node.
16
+	 *
17
+	 * @param null|Node\Expr $cond       Condition (null for default)
18
+	 * @param Node\Stmt[]    $stmts      Statements
19
+	 * @param array          $attributes Additional attributes
20
+	 */
21
+	public function __construct($cond, array $stmts = [], array $attributes = []) {
22
+		$this->attributes = $attributes;
23
+		$this->cond = $cond;
24
+		$this->stmts = $stmts;
25
+	}
26 26
 
27
-    public function getSubNodeNames() : array {
28
-        return ['cond', 'stmts'];
29
-    }
27
+	public function getSubNodeNames() : array {
28
+		return ['cond', 'stmts'];
29
+	}
30 30
     
31
-    public function getType() : string {
32
-        return 'Stmt_Case';
33
-    }
31
+	public function getType() : string {
32
+		return 'Stmt_Case';
33
+	}
34 34
 }
Please login to merge, or discard this patch.
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/EnumCase.php 1 patch
Indentation   +24 added lines, -24 removed lines patch added patch discarded remove patch
@@ -7,31 +7,31 @@
 block discarded – undo
7 7
 
8 8
 class EnumCase extends Node\Stmt
9 9
 {
10
-    /** @var Node\Identifier Enum case name */
11
-    public $name;
12
-    /** @var Node\Expr|null Enum case expression */
13
-    public $expr;
14
-    /** @var Node\AttributeGroup[] PHP attribute groups */
15
-    public $attrGroups;
10
+	/** @var Node\Identifier Enum case name */
11
+	public $name;
12
+	/** @var Node\Expr|null Enum case expression */
13
+	public $expr;
14
+	/** @var Node\AttributeGroup[] PHP attribute groups */
15
+	public $attrGroups;
16 16
 
17
-    /**
18
-     * @param string|Node\Identifier    $name       Enum case name
19
-     * @param Node\Expr|null            $expr       Enum case expression
20
-     * @param AttributeGroup[]          $attrGroups PHP attribute groups
21
-     * @param array                     $attributes Additional attributes
22
-     */
23
-    public function __construct($name, ?Node\Expr $expr = null, array $attrGroups = [], array $attributes = []) {
24
-        parent::__construct($attributes);
25
-        $this->name = \is_string($name) ? new Node\Identifier($name) : $name;
26
-        $this->expr = $expr;
27
-        $this->attrGroups = $attrGroups;
28
-    }
17
+	/**
18
+	 * @param string|Node\Identifier    $name       Enum case name
19
+	 * @param Node\Expr|null            $expr       Enum case expression
20
+	 * @param AttributeGroup[]          $attrGroups PHP attribute groups
21
+	 * @param array                     $attributes Additional attributes
22
+	 */
23
+	public function __construct($name, ?Node\Expr $expr = null, array $attrGroups = [], array $attributes = []) {
24
+		parent::__construct($attributes);
25
+		$this->name = \is_string($name) ? new Node\Identifier($name) : $name;
26
+		$this->expr = $expr;
27
+		$this->attrGroups = $attrGroups;
28
+	}
29 29
 
30
-    public function getSubNodeNames() : array {
31
-        return ['attrGroups', 'name', 'expr'];
32
-    }
30
+	public function getSubNodeNames() : array {
31
+		return ['attrGroups', 'name', 'expr'];
32
+	}
33 33
 
34
-    public function getType() : string {
35
-        return 'Stmt_EnumCase';
36
-    }
34
+	public function getType() : string {
35
+		return 'Stmt_EnumCase';
36
+	}
37 37
 }
Please login to merge, or discard this patch.
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Nop.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -7,11 +7,11 @@
 block discarded – undo
7 7
 /** Nop/empty statement (;). */
8 8
 class Nop extends Node\Stmt
9 9
 {
10
-    public function getSubNodeNames() : array {
11
-        return [];
12
-    }
10
+	public function getSubNodeNames() : array {
11
+		return [];
12
+	}
13 13
     
14
-    public function getType() : string {
15
-        return 'Stmt_Nop';
16
-    }
14
+	public function getType() : string {
15
+		return 'Stmt_Nop';
16
+	}
17 17
 }
Please login to merge, or discard this patch.
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Property.php 2 patches
Indentation   +71 added lines, -71 removed lines patch added patch discarded remove patch
@@ -9,83 +9,83 @@
 block discarded – undo
9 9
 
10 10
 class Property extends Node\Stmt
11 11
 {
12
-    /** @var int Modifiers */
13
-    public $flags;
14
-    /** @var PropertyProperty[] Properties */
15
-    public $props;
16
-    /** @var null|Identifier|Name|ComplexType Type declaration */
17
-    public $type;
18
-    /** @var Node\AttributeGroup[] PHP attribute groups */
19
-    public $attrGroups;
12
+	/** @var int Modifiers */
13
+	public $flags;
14
+	/** @var PropertyProperty[] Properties */
15
+	public $props;
16
+	/** @var null|Identifier|Name|ComplexType Type declaration */
17
+	public $type;
18
+	/** @var Node\AttributeGroup[] PHP attribute groups */
19
+	public $attrGroups;
20 20
 
21
-    /**
22
-     * Constructs a class property list node.
23
-     *
24
-     * @param int                                     $flags      Modifiers
25
-     * @param PropertyProperty[]                      $props      Properties
26
-     * @param array                                   $attributes Additional attributes
27
-     * @param null|string|Identifier|Name|ComplexType $type       Type declaration
28
-     * @param Node\AttributeGroup[]                   $attrGroups PHP attribute groups
29
-     */
30
-    public function __construct(int $flags, array $props, array $attributes = [], $type = null, array $attrGroups = []) {
31
-        $this->attributes = $attributes;
32
-        $this->flags = $flags;
33
-        $this->props = $props;
34
-        $this->type = \is_string($type) ? new Identifier($type) : $type;
35
-        $this->attrGroups = $attrGroups;
36
-    }
21
+	/**
22
+	 * Constructs a class property list node.
23
+	 *
24
+	 * @param int                                     $flags      Modifiers
25
+	 * @param PropertyProperty[]                      $props      Properties
26
+	 * @param array                                   $attributes Additional attributes
27
+	 * @param null|string|Identifier|Name|ComplexType $type       Type declaration
28
+	 * @param Node\AttributeGroup[]                   $attrGroups PHP attribute groups
29
+	 */
30
+	public function __construct(int $flags, array $props, array $attributes = [], $type = null, array $attrGroups = []) {
31
+		$this->attributes = $attributes;
32
+		$this->flags = $flags;
33
+		$this->props = $props;
34
+		$this->type = \is_string($type) ? new Identifier($type) : $type;
35
+		$this->attrGroups = $attrGroups;
36
+	}
37 37
 
38
-    public function getSubNodeNames() : array {
39
-        return ['attrGroups', 'flags', 'type', 'props'];
40
-    }
38
+	public function getSubNodeNames() : array {
39
+		return ['attrGroups', 'flags', 'type', 'props'];
40
+	}
41 41
 
42
-    /**
43
-     * Whether the property is explicitly or implicitly public.
44
-     *
45
-     * @return bool
46
-     */
47
-    public function isPublic() : bool {
48
-        return ($this->flags & Class_::MODIFIER_PUBLIC) !== 0
49
-            || ($this->flags & Class_::VISIBILITY_MODIFIER_MASK) === 0;
50
-    }
42
+	/**
43
+	 * Whether the property is explicitly or implicitly public.
44
+	 *
45
+	 * @return bool
46
+	 */
47
+	public function isPublic() : bool {
48
+		return ($this->flags & Class_::MODIFIER_PUBLIC) !== 0
49
+			|| ($this->flags & Class_::VISIBILITY_MODIFIER_MASK) === 0;
50
+	}
51 51
 
52
-    /**
53
-     * Whether the property is protected.
54
-     *
55
-     * @return bool
56
-     */
57
-    public function isProtected() : bool {
58
-        return (bool) ($this->flags & Class_::MODIFIER_PROTECTED);
59
-    }
52
+	/**
53
+	 * Whether the property is protected.
54
+	 *
55
+	 * @return bool
56
+	 */
57
+	public function isProtected() : bool {
58
+		return (bool) ($this->flags & Class_::MODIFIER_PROTECTED);
59
+	}
60 60
 
61
-    /**
62
-     * Whether the property is private.
63
-     *
64
-     * @return bool
65
-     */
66
-    public function isPrivate() : bool {
67
-        return (bool) ($this->flags & Class_::MODIFIER_PRIVATE);
68
-    }
61
+	/**
62
+	 * Whether the property is private.
63
+	 *
64
+	 * @return bool
65
+	 */
66
+	public function isPrivate() : bool {
67
+		return (bool) ($this->flags & Class_::MODIFIER_PRIVATE);
68
+	}
69 69
 
70
-    /**
71
-     * Whether the property is static.
72
-     *
73
-     * @return bool
74
-     */
75
-    public function isStatic() : bool {
76
-        return (bool) ($this->flags & Class_::MODIFIER_STATIC);
77
-    }
70
+	/**
71
+	 * Whether the property is static.
72
+	 *
73
+	 * @return bool
74
+	 */
75
+	public function isStatic() : bool {
76
+		return (bool) ($this->flags & Class_::MODIFIER_STATIC);
77
+	}
78 78
 
79
-    /**
80
-     * Whether the property is readonly.
81
-     *
82
-     * @return bool
83
-     */
84
-    public function isReadonly() : bool {
85
-        return (bool) ($this->flags & Class_::MODIFIER_READONLY);
86
-    }
79
+	/**
80
+	 * Whether the property is readonly.
81
+	 *
82
+	 * @return bool
83
+	 */
84
+	public function isReadonly() : bool {
85
+		return (bool) ($this->flags & Class_::MODIFIER_READONLY);
86
+	}
87 87
 
88
-    public function getType() : string {
89
-        return 'Stmt_Property';
90
-    }
88
+	public function getType() : string {
89
+		return 'Stmt_Property';
90
+	}
91 91
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
      * @return bool
56 56
      */
57 57
     public function isProtected() : bool {
58
-        return (bool) ($this->flags & Class_::MODIFIER_PROTECTED);
58
+        return (bool)($this->flags & Class_::MODIFIER_PROTECTED);
59 59
     }
60 60
 
61 61
     /**
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
      * @return bool
65 65
      */
66 66
     public function isPrivate() : bool {
67
-        return (bool) ($this->flags & Class_::MODIFIER_PRIVATE);
67
+        return (bool)($this->flags & Class_::MODIFIER_PRIVATE);
68 68
     }
69 69
 
70 70
     /**
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      * @return bool
74 74
      */
75 75
     public function isStatic() : bool {
76
-        return (bool) ($this->flags & Class_::MODIFIER_STATIC);
76
+        return (bool)($this->flags & Class_::MODIFIER_STATIC);
77 77
     }
78 78
 
79 79
     /**
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * @return bool
83 83
      */
84 84
     public function isReadonly() : bool {
85
-        return (bool) ($this->flags & Class_::MODIFIER_READONLY);
85
+        return (bool)($this->flags & Class_::MODIFIER_READONLY);
86 86
     }
87 87
 
88 88
     public function getType() : string {
Please login to merge, or discard this patch.
vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/DeclareDeclare.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -6,29 +6,29 @@
 block discarded – undo
6 6
 
7 7
 class DeclareDeclare extends Node\Stmt
8 8
 {
9
-    /** @var Node\Identifier Key */
10
-    public $key;
11
-    /** @var Node\Expr Value */
12
-    public $value;
9
+	/** @var Node\Identifier Key */
10
+	public $key;
11
+	/** @var Node\Expr Value */
12
+	public $value;
13 13
 
14
-    /**
15
-     * Constructs a declare key=>value pair node.
16
-     *
17
-     * @param string|Node\Identifier $key        Key
18
-     * @param Node\Expr              $value      Value
19
-     * @param array                  $attributes Additional attributes
20
-     */
21
-    public function __construct($key, Node\Expr $value, array $attributes = []) {
22
-        $this->attributes = $attributes;
23
-        $this->key = \is_string($key) ? new Node\Identifier($key) : $key;
24
-        $this->value = $value;
25
-    }
14
+	/**
15
+	 * Constructs a declare key=>value pair node.
16
+	 *
17
+	 * @param string|Node\Identifier $key        Key
18
+	 * @param Node\Expr              $value      Value
19
+	 * @param array                  $attributes Additional attributes
20
+	 */
21
+	public function __construct($key, Node\Expr $value, array $attributes = []) {
22
+		$this->attributes = $attributes;
23
+		$this->key = \is_string($key) ? new Node\Identifier($key) : $key;
24
+		$this->value = $value;
25
+	}
26 26
 
27
-    public function getSubNodeNames() : array {
28
-        return ['key', 'value'];
29
-    }
27
+	public function getSubNodeNames() : array {
28
+		return ['key', 'value'];
29
+	}
30 30
     
31
-    public function getType() : string {
32
-        return 'Stmt_DeclareDeclare';
33
-    }
31
+	public function getType() : string {
32
+		return 'Stmt_DeclareDeclare';
33
+	}
34 34
 }
Please login to merge, or discard this patch.
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/InlineHTML.php 2 patches
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -6,25 +6,25 @@
 block discarded – undo
6 6
 
7 7
 class InlineHTML extends Stmt
8 8
 {
9
-    /** @var string String */
10
-    public $value;
9
+	/** @var string String */
10
+	public $value;
11 11
 
12
-    /**
13
-     * Constructs an inline HTML node.
14
-     *
15
-     * @param string $value      String
16
-     * @param array  $attributes Additional attributes
17
-     */
18
-    public function __construct(string $value, array $attributes = []) {
19
-        $this->attributes = $attributes;
20
-        $this->value = $value;
21
-    }
12
+	/**
13
+	 * Constructs an inline HTML node.
14
+	 *
15
+	 * @param string $value      String
16
+	 * @param array  $attributes Additional attributes
17
+	 */
18
+	public function __construct(string $value, array $attributes = []) {
19
+		$this->attributes = $attributes;
20
+		$this->value = $value;
21
+	}
22 22
 
23
-    public function getSubNodeNames() : array {
24
-        return ['value'];
25
-    }
23
+	public function getSubNodeNames() : array {
24
+		return ['value'];
25
+	}
26 26
     
27
-    public function getType() : string {
28
-        return 'Stmt_InlineHTML';
29
-    }
27
+	public function getType() : string {
28
+		return 'Stmt_InlineHTML';
29
+	}
30 30
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use PhpParser\Node\Stmt;
6 6
 
7
-class InlineHTML extends Stmt
8
-{
7
+class InlineHTML extends Stmt {
9 8
     /** @var string String */
10 9
     public $value;
11 10
 
Please login to merge, or discard this patch.
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Declare_.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -6,29 +6,29 @@
 block discarded – undo
6 6
 
7 7
 class Declare_ extends Node\Stmt
8 8
 {
9
-    /** @var DeclareDeclare[] List of declares */
10
-    public $declares;
11
-    /** @var Node\Stmt[]|null Statements */
12
-    public $stmts;
9
+	/** @var DeclareDeclare[] List of declares */
10
+	public $declares;
11
+	/** @var Node\Stmt[]|null Statements */
12
+	public $stmts;
13 13
 
14
-    /**
15
-     * Constructs a declare node.
16
-     *
17
-     * @param DeclareDeclare[] $declares   List of declares
18
-     * @param Node\Stmt[]|null $stmts      Statements
19
-     * @param array            $attributes Additional attributes
20
-     */
21
-    public function __construct(array $declares, ?array $stmts = null, array $attributes = []) {
22
-        $this->attributes = $attributes;
23
-        $this->declares = $declares;
24
-        $this->stmts = $stmts;
25
-    }
14
+	/**
15
+	 * Constructs a declare node.
16
+	 *
17
+	 * @param DeclareDeclare[] $declares   List of declares
18
+	 * @param Node\Stmt[]|null $stmts      Statements
19
+	 * @param array            $attributes Additional attributes
20
+	 */
21
+	public function __construct(array $declares, ?array $stmts = null, array $attributes = []) {
22
+		$this->attributes = $attributes;
23
+		$this->declares = $declares;
24
+		$this->stmts = $stmts;
25
+	}
26 26
 
27
-    public function getSubNodeNames() : array {
28
-        return ['declares', 'stmts'];
29
-    }
27
+	public function getSubNodeNames() : array {
28
+		return ['declares', 'stmts'];
29
+	}
30 30
     
31
-    public function getType() : string {
32
-        return 'Stmt_Declare';
33
-    }
31
+	public function getType() : string {
32
+		return 'Stmt_Declare';
33
+	}
34 34
 }
Please login to merge, or discard this patch.
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Finally_.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -6,25 +6,25 @@
 block discarded – undo
6 6
 
7 7
 class Finally_ extends Node\Stmt
8 8
 {
9
-    /** @var Node\Stmt[] Statements */
10
-    public $stmts;
9
+	/** @var Node\Stmt[] Statements */
10
+	public $stmts;
11 11
 
12
-    /**
13
-     * Constructs a finally node.
14
-     *
15
-     * @param Node\Stmt[] $stmts      Statements
16
-     * @param array       $attributes Additional attributes
17
-     */
18
-    public function __construct(array $stmts = [], array $attributes = []) {
19
-        $this->attributes = $attributes;
20
-        $this->stmts = $stmts;
21
-    }
12
+	/**
13
+	 * Constructs a finally node.
14
+	 *
15
+	 * @param Node\Stmt[] $stmts      Statements
16
+	 * @param array       $attributes Additional attributes
17
+	 */
18
+	public function __construct(array $stmts = [], array $attributes = []) {
19
+		$this->attributes = $attributes;
20
+		$this->stmts = $stmts;
21
+	}
22 22
 
23
-    public function getSubNodeNames() : array {
24
-        return ['stmts'];
25
-    }
23
+	public function getSubNodeNames() : array {
24
+		return ['stmts'];
25
+	}
26 26
     
27
-    public function getType() : string {
28
-        return 'Stmt_Finally';
29
-    }
27
+	public function getType() : string {
28
+		return 'Stmt_Finally';
29
+	}
30 30
 }
Please login to merge, or discard this patch.
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/While_.php 1 patch
Indentation   +22 added lines, -22 removed lines patch added patch discarded remove patch
@@ -6,29 +6,29 @@
 block discarded – undo
6 6
 
7 7
 class While_ extends Node\Stmt
8 8
 {
9
-    /** @var Node\Expr Condition */
10
-    public $cond;
11
-    /** @var Node\Stmt[] Statements */
12
-    public $stmts;
9
+	/** @var Node\Expr Condition */
10
+	public $cond;
11
+	/** @var Node\Stmt[] Statements */
12
+	public $stmts;
13 13
 
14
-    /**
15
-     * Constructs a while node.
16
-     *
17
-     * @param Node\Expr   $cond       Condition
18
-     * @param Node\Stmt[] $stmts      Statements
19
-     * @param array       $attributes Additional attributes
20
-     */
21
-    public function __construct(Node\Expr $cond, array $stmts = [], array $attributes = []) {
22
-        $this->attributes = $attributes;
23
-        $this->cond = $cond;
24
-        $this->stmts = $stmts;
25
-    }
14
+	/**
15
+	 * Constructs a while node.
16
+	 *
17
+	 * @param Node\Expr   $cond       Condition
18
+	 * @param Node\Stmt[] $stmts      Statements
19
+	 * @param array       $attributes Additional attributes
20
+	 */
21
+	public function __construct(Node\Expr $cond, array $stmts = [], array $attributes = []) {
22
+		$this->attributes = $attributes;
23
+		$this->cond = $cond;
24
+		$this->stmts = $stmts;
25
+	}
26 26
 
27
-    public function getSubNodeNames() : array {
28
-        return ['cond', 'stmts'];
29
-    }
27
+	public function getSubNodeNames() : array {
28
+		return ['cond', 'stmts'];
29
+	}
30 30
     
31
-    public function getType() : string {
32
-        return 'Stmt_While';
33
-    }
31
+	public function getType() : string {
32
+		return 'Stmt_While';
33
+	}
34 34
 }
Please login to merge, or discard this patch.