Completed
Push — master ( 8e973a...811a95 )
by
unknown
03:40 queued 01:04
created
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Static_.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 Static_ extends Stmt
8 8
 {
9
-    /** @var StaticVar[] Variable definitions */
10
-    public $vars;
9
+	/** @var StaticVar[] Variable definitions */
10
+	public $vars;
11 11
 
12
-    /**
13
-     * Constructs a static variables list node.
14
-     *
15
-     * @param StaticVar[] $vars       Variable definitions
16
-     * @param array       $attributes Additional attributes
17
-     */
18
-    public function __construct(array $vars, array $attributes = []) {
19
-        $this->attributes = $attributes;
20
-        $this->vars = $vars;
21
-    }
12
+	/**
13
+	 * Constructs a static variables list node.
14
+	 *
15
+	 * @param StaticVar[] $vars       Variable definitions
16
+	 * @param array       $attributes Additional attributes
17
+	 */
18
+	public function __construct(array $vars, array $attributes = []) {
19
+		$this->attributes = $attributes;
20
+		$this->vars = $vars;
21
+	}
22 22
 
23
-    public function getSubNodeNames() : array {
24
-        return ['vars'];
25
-    }
23
+	public function getSubNodeNames() : array {
24
+		return ['vars'];
25
+	}
26 26
     
27
-    public function getType() : string {
28
-        return 'Stmt_Static';
29
-    }
27
+	public function getType() : string {
28
+		return 'Stmt_Static';
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 Static_ extends Stmt
8
-{
7
+class Static_ extends Stmt {
9 8
     /** @var StaticVar[] Variable definitions */
10 9
     public $vars;
11 10
 
Please login to merge, or discard this patch.
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Unset_.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 Unset_ extends Node\Stmt
8 8
 {
9
-    /** @var Node\Expr[] Variables to unset */
10
-    public $vars;
9
+	/** @var Node\Expr[] Variables to unset */
10
+	public $vars;
11 11
 
12
-    /**
13
-     * Constructs an unset node.
14
-     *
15
-     * @param Node\Expr[] $vars       Variables to unset
16
-     * @param array       $attributes Additional attributes
17
-     */
18
-    public function __construct(array $vars, array $attributes = []) {
19
-        $this->attributes = $attributes;
20
-        $this->vars = $vars;
21
-    }
12
+	/**
13
+	 * Constructs an unset node.
14
+	 *
15
+	 * @param Node\Expr[] $vars       Variables to unset
16
+	 * @param array       $attributes Additional attributes
17
+	 */
18
+	public function __construct(array $vars, array $attributes = []) {
19
+		$this->attributes = $attributes;
20
+		$this->vars = $vars;
21
+	}
22 22
 
23
-    public function getSubNodeNames() : array {
24
-        return ['vars'];
25
-    }
23
+	public function getSubNodeNames() : array {
24
+		return ['vars'];
25
+	}
26 26
     
27
-    public function getType() : string {
28
-        return 'Stmt_Unset';
29
-    }
27
+	public function getType() : string {
28
+		return 'Stmt_Unset';
29
+	}
30 30
 }
Please login to merge, or discard this patch.
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Else_.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 Else_ 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 an else 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 an else 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_Else';
29
-    }
27
+	public function getType() : string {
28
+		return 'Stmt_Else';
29
+	}
30 30
 }
Please login to merge, or discard this patch.
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/If_.php 1 patch
Indentation   +31 added lines, -31 removed lines patch added patch discarded remove patch
@@ -6,38 +6,38 @@
 block discarded – undo
6 6
 
7 7
 class If_ extends Node\Stmt
8 8
 {
9
-    /** @var Node\Expr Condition expression */
10
-    public $cond;
11
-    /** @var Node\Stmt[] Statements */
12
-    public $stmts;
13
-    /** @var ElseIf_[] Elseif clauses */
14
-    public $elseifs;
15
-    /** @var null|Else_ Else clause */
16
-    public $else;
9
+	/** @var Node\Expr Condition expression */
10
+	public $cond;
11
+	/** @var Node\Stmt[] Statements */
12
+	public $stmts;
13
+	/** @var ElseIf_[] Elseif clauses */
14
+	public $elseifs;
15
+	/** @var null|Else_ Else clause */
16
+	public $else;
17 17
 
18
-    /**
19
-     * Constructs an if node.
20
-     *
21
-     * @param Node\Expr $cond       Condition
22
-     * @param array     $subNodes   Array of the following optional subnodes:
23
-     *                              'stmts'   => array(): Statements
24
-     *                              'elseifs' => array(): Elseif clauses
25
-     *                              'else'    => null   : Else clause
26
-     * @param array     $attributes Additional attributes
27
-     */
28
-    public function __construct(Node\Expr $cond, array $subNodes = [], array $attributes = []) {
29
-        $this->attributes = $attributes;
30
-        $this->cond = $cond;
31
-        $this->stmts = $subNodes['stmts'] ?? [];
32
-        $this->elseifs = $subNodes['elseifs'] ?? [];
33
-        $this->else = $subNodes['else'] ?? null;
34
-    }
18
+	/**
19
+	 * Constructs an if node.
20
+	 *
21
+	 * @param Node\Expr $cond       Condition
22
+	 * @param array     $subNodes   Array of the following optional subnodes:
23
+	 *                              'stmts'   => array(): Statements
24
+	 *                              'elseifs' => array(): Elseif clauses
25
+	 *                              'else'    => null   : Else clause
26
+	 * @param array     $attributes Additional attributes
27
+	 */
28
+	public function __construct(Node\Expr $cond, array $subNodes = [], array $attributes = []) {
29
+		$this->attributes = $attributes;
30
+		$this->cond = $cond;
31
+		$this->stmts = $subNodes['stmts'] ?? [];
32
+		$this->elseifs = $subNodes['elseifs'] ?? [];
33
+		$this->else = $subNodes['else'] ?? null;
34
+	}
35 35
 
36
-    public function getSubNodeNames() : array {
37
-        return ['cond', 'stmts', 'elseifs', 'else'];
38
-    }
36
+	public function getSubNodeNames() : array {
37
+		return ['cond', 'stmts', 'elseifs', 'else'];
38
+	}
39 39
     
40
-    public function getType() : string {
41
-        return 'Stmt_If';
42
-    }
40
+	public function getType() : string {
41
+		return 'Stmt_If';
42
+	}
43 43
 }
Please login to merge, or discard this patch.
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/GroupUse.php 2 patches
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -7,33 +7,33 @@
 block discarded – undo
7 7
 
8 8
 class GroupUse extends Stmt
9 9
 {
10
-    /** @var int Type of group use */
11
-    public $type;
12
-    /** @var Name Prefix for uses */
13
-    public $prefix;
14
-    /** @var UseUse[] Uses */
15
-    public $uses;
10
+	/** @var int Type of group use */
11
+	public $type;
12
+	/** @var Name Prefix for uses */
13
+	public $prefix;
14
+	/** @var UseUse[] Uses */
15
+	public $uses;
16 16
 
17
-    /**
18
-     * Constructs a group use node.
19
-     *
20
-     * @param Name     $prefix     Prefix for uses
21
-     * @param UseUse[] $uses       Uses
22
-     * @param int      $type       Type of group use
23
-     * @param array    $attributes Additional attributes
24
-     */
25
-    public function __construct(Name $prefix, array $uses, int $type = Use_::TYPE_NORMAL, array $attributes = []) {
26
-        $this->attributes = $attributes;
27
-        $this->type = $type;
28
-        $this->prefix = $prefix;
29
-        $this->uses = $uses;
30
-    }
17
+	/**
18
+	 * Constructs a group use node.
19
+	 *
20
+	 * @param Name     $prefix     Prefix for uses
21
+	 * @param UseUse[] $uses       Uses
22
+	 * @param int      $type       Type of group use
23
+	 * @param array    $attributes Additional attributes
24
+	 */
25
+	public function __construct(Name $prefix, array $uses, int $type = Use_::TYPE_NORMAL, array $attributes = []) {
26
+		$this->attributes = $attributes;
27
+		$this->type = $type;
28
+		$this->prefix = $prefix;
29
+		$this->uses = $uses;
30
+	}
31 31
 
32
-    public function getSubNodeNames() : array {
33
-        return ['type', 'prefix', 'uses'];
34
-    }
32
+	public function getSubNodeNames() : array {
33
+		return ['type', 'prefix', 'uses'];
34
+	}
35 35
     
36
-    public function getType() : string {
37
-        return 'Stmt_GroupUse';
38
-    }
36
+	public function getType() : string {
37
+		return 'Stmt_GroupUse';
38
+	}
39 39
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 use PhpParser\Node\Name;
6 6
 use PhpParser\Node\Stmt;
7 7
 
8
-class GroupUse extends Stmt
9
-{
8
+class GroupUse extends Stmt {
10 9
     /** @var int Type of group use */
11 10
     public $type;
12 11
     /** @var Name Prefix for uses */
Please login to merge, or discard this patch.
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Do_.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 Do_ extends Node\Stmt
8 8
 {
9
-    /** @var Node\Stmt[] Statements */
10
-    public $stmts;
11
-    /** @var Node\Expr Condition */
12
-    public $cond;
9
+	/** @var Node\Stmt[] Statements */
10
+	public $stmts;
11
+	/** @var Node\Expr Condition */
12
+	public $cond;
13 13
 
14
-    /**
15
-     * Constructs a do 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 do 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 ['stmts', 'cond'];
29
-    }
27
+	public function getSubNodeNames() : array {
28
+		return ['stmts', 'cond'];
29
+	}
30 30
     
31
-    public function getType() : string {
32
-        return 'Stmt_Do';
33
-    }
31
+	public function getType() : string {
32
+		return 'Stmt_Do';
33
+	}
34 34
 }
Please login to merge, or discard this patch.
php-scoper/vendor/nikic/php-parser/lib/PhpParser/Node/Stmt/Expression.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -9,25 +9,25 @@
 block discarded – undo
9 9
  */
10 10
 class Expression extends Node\Stmt
11 11
 {
12
-    /** @var Node\Expr Expression */
13
-    public $expr;
12
+	/** @var Node\Expr Expression */
13
+	public $expr;
14 14
 
15
-    /**
16
-     * Constructs an expression statement.
17
-     *
18
-     * @param Node\Expr $expr       Expression
19
-     * @param array     $attributes Additional attributes
20
-     */
21
-    public function __construct(Node\Expr $expr, array $attributes = []) {
22
-        $this->attributes = $attributes;
23
-        $this->expr = $expr;
24
-    }
15
+	/**
16
+	 * Constructs an expression statement.
17
+	 *
18
+	 * @param Node\Expr $expr       Expression
19
+	 * @param array     $attributes Additional attributes
20
+	 */
21
+	public function __construct(Node\Expr $expr, array $attributes = []) {
22
+		$this->attributes = $attributes;
23
+		$this->expr = $expr;
24
+	}
25 25
 
26
-    public function getSubNodeNames() : array {
27
-        return ['expr'];
28
-    }
26
+	public function getSubNodeNames() : array {
27
+		return ['expr'];
28
+	}
29 29
     
30
-    public function getType() : string {
31
-        return 'Stmt_Expression';
32
-    }
30
+	public function getType() : string {
31
+		return 'Stmt_Expression';
32
+	}
33 33
 }
Please login to merge, or discard this patch.
nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Precedence.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 Precedence extends Node\Stmt\TraitUseAdaptation
8 8
 {
9
-    /** @var Node\Name[] Overwritten traits */
10
-    public $insteadof;
9
+	/** @var Node\Name[] Overwritten traits */
10
+	public $insteadof;
11 11
 
12
-    /**
13
-     * Constructs a trait use precedence adaptation node.
14
-     *
15
-     * @param Node\Name              $trait       Trait name
16
-     * @param string|Node\Identifier $method      Method name
17
-     * @param Node\Name[]            $insteadof   Overwritten traits
18
-     * @param array                  $attributes  Additional attributes
19
-     */
20
-    public function __construct(Node\Name $trait, $method, array $insteadof, array $attributes = []) {
21
-        $this->attributes = $attributes;
22
-        $this->trait = $trait;
23
-        $this->method = \is_string($method) ? new Node\Identifier($method) : $method;
24
-        $this->insteadof = $insteadof;
25
-    }
12
+	/**
13
+	 * Constructs a trait use precedence adaptation node.
14
+	 *
15
+	 * @param Node\Name              $trait       Trait name
16
+	 * @param string|Node\Identifier $method      Method name
17
+	 * @param Node\Name[]            $insteadof   Overwritten traits
18
+	 * @param array                  $attributes  Additional attributes
19
+	 */
20
+	public function __construct(Node\Name $trait, $method, array $insteadof, array $attributes = []) {
21
+		$this->attributes = $attributes;
22
+		$this->trait = $trait;
23
+		$this->method = \is_string($method) ? new Node\Identifier($method) : $method;
24
+		$this->insteadof = $insteadof;
25
+	}
26 26
 
27
-    public function getSubNodeNames() : array {
28
-        return ['trait', 'method', 'insteadof'];
29
-    }
27
+	public function getSubNodeNames() : array {
28
+		return ['trait', 'method', 'insteadof'];
29
+	}
30 30
     
31
-    public function getType() : string {
32
-        return 'Stmt_TraitUseAdaptation_Precedence';
33
-    }
31
+	public function getType() : string {
32
+		return 'Stmt_TraitUseAdaptation_Precedence';
33
+	}
34 34
 }
Please login to merge, or discard this patch.
nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Alias.php 1 patch
Indentation   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -6,33 +6,33 @@
 block discarded – undo
6 6
 
7 7
 class Alias extends Node\Stmt\TraitUseAdaptation
8 8
 {
9
-    /** @var null|int New modifier */
10
-    public $newModifier;
11
-    /** @var null|Node\Identifier New name */
12
-    public $newName;
9
+	/** @var null|int New modifier */
10
+	public $newModifier;
11
+	/** @var null|Node\Identifier New name */
12
+	public $newName;
13 13
 
14
-    /**
15
-     * Constructs a trait use precedence adaptation node.
16
-     *
17
-     * @param null|Node\Name              $trait       Trait name
18
-     * @param string|Node\Identifier      $method      Method name
19
-     * @param null|int                    $newModifier New modifier
20
-     * @param null|string|Node\Identifier $newName     New name
21
-     * @param array                       $attributes  Additional attributes
22
-     */
23
-    public function __construct($trait, $method, $newModifier, $newName, array $attributes = []) {
24
-        $this->attributes = $attributes;
25
-        $this->trait = $trait;
26
-        $this->method = \is_string($method) ? new Node\Identifier($method) : $method;
27
-        $this->newModifier = $newModifier;
28
-        $this->newName = \is_string($newName) ? new Node\Identifier($newName) : $newName;
29
-    }
14
+	/**
15
+	 * Constructs a trait use precedence adaptation node.
16
+	 *
17
+	 * @param null|Node\Name              $trait       Trait name
18
+	 * @param string|Node\Identifier      $method      Method name
19
+	 * @param null|int                    $newModifier New modifier
20
+	 * @param null|string|Node\Identifier $newName     New name
21
+	 * @param array                       $attributes  Additional attributes
22
+	 */
23
+	public function __construct($trait, $method, $newModifier, $newName, array $attributes = []) {
24
+		$this->attributes = $attributes;
25
+		$this->trait = $trait;
26
+		$this->method = \is_string($method) ? new Node\Identifier($method) : $method;
27
+		$this->newModifier = $newModifier;
28
+		$this->newName = \is_string($newName) ? new Node\Identifier($newName) : $newName;
29
+	}
30 30
 
31
-    public function getSubNodeNames() : array {
32
-        return ['trait', 'method', 'newModifier', 'newName'];
33
-    }
31
+	public function getSubNodeNames() : array {
32
+		return ['trait', 'method', 'newModifier', 'newName'];
33
+	}
34 34
     
35
-    public function getType() : string {
36
-        return 'Stmt_TraitUseAdaptation_Alias';
37
-    }
35
+	public function getType() : string {
36
+		return 'Stmt_TraitUseAdaptation_Alias';
37
+	}
38 38
 }
Please login to merge, or discard this patch.