GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 10-11 lines in 4 locations

Source/Expressions/FunctionCallExpression.php 1 location

@@ 57-66 (lines=10) @@
54
     *
55
     * @return self
56
     */
57
    public function update(Expression $name, array $arguments = [])
58
    {
59
        if ($this->name === $name
60
                && $this->arguments === $arguments
61
        ) {
62
            return $this;
63
        }
64
65
        return new self($name, $arguments);
66
    }
67
68
    protected function compileCode(&$code)
69
    {

Source/Expressions/InvocationExpression.php 1 location

@@ 44-53 (lines=10) @@
41
     *
42
     * @return self
43
     */
44
    public function update(Expression $value, array $arguments)
45
    {
46
        if ($this->value === $value
47
                && $this->arguments === $arguments
48
        ) {
49
            return $this;
50
        }
51
52
        return new self($value, $arguments);
53
    }
54
55
    protected function updateValueExpression(Expression $value)
56
    {

Source/Expressions/NewExpression.php 1 location

@@ 45-54 (lines=10) @@
42
     *
43
     * @return NewExpression
44
     */
45
    public function update(Expression $class, array $arguments = [])
46
    {
47
        if ($this->class === $class
48
                && $this->arguments === $arguments
49
        ) {
50
            return $this;
51
        }
52
53
        return new self($class, $arguments);
54
    }
55
56
    protected function updateClassValue(Expression $class)
57
    {

Source/Expressions/StaticMethodCallExpression.php 1 location

@@ 59-69 (lines=11) @@
56
     *
57
     * @return self
58
     */
59
    public function update(Expression $class, Expression $name, array $arguments = [])
60
    {
61
        if ($this->class === $class
62
                && $this->name === $name
63
                && $this->arguments === $arguments
64
        ) {
65
            return $this;
66
        }
67
68
        return new self($class, $name, $arguments);
69
    }
70
71
    protected function compileMember(&$code)
72
    {