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 = 28-30 lines in 2 locations

src/php/DataSift/Storyplayer/Cli/BuildTestEnvironment/Command.php 1 location

@@ 106-133 (lines=28) @@
103
    // needed for when user presses CTRL+C
104
    protected $injectables;
105
106
    public function __construct($injectables)
107
    {
108
        parent::__construct($injectables);
109
110
        // define the command
111
        $this->setName('build-test-environment');
112
        $this->setShortDescription('build a test environment');
113
        $this->setLongDescription(
114
            "Use this command to build a test environment. Handy for testing that your test environment "
115
            ."provisions correctly."
116
            .PHP_EOL
117
        );
118
119
        // add in the features that this command relies on
120
        $this->addFeature(new Feature_VerboseSupport);
121
        $this->addFeature(new Feature_ConsoleSupport);
122
        $this->addFeature(new Feature_ColorSupport);
123
        $this->addFeature(new Feature_TestEnvironmentConfigSupport);
124
        $this->addFeature(new Feature_LocalhostSupport);
125
        $this->addFeature(new Feature_ActiveConfigSupport);
126
        $this->addFeature(new Feature_DefinesSupport);
127
        $this->addFeature(new Feature_PhaseLoaderSupport);
128
        $this->addFeature(new Feature_ProseLoaderSupport);
129
        $this->addFeature(new Feature_PersistReuseTargetSupport);
130
131
        // now setup all of the switches that we support
132
        $this->addFeatureSwitches();
133
    }
134
135
    /**
136
     *

src/php/DataSift/Storyplayer/Cli/Script/Command.php 1 location

@@ 92-121 (lines=30) @@
89
    // needed for when user presses CTRL+C
90
    protected $injectables;
91
92
    public function __construct($injectables)
93
    {
94
        parent::__construct($injectables);
95
96
        // define the command
97
        $this->setName('script');
98
        $this->setShortDescription('run an automation script');
99
        $this->setLongDescription(
100
            "Use this command to play an automation script."
101
            .PHP_EOL
102
        );
103
        $this->setArgsList(array(
104
            "[<script.php>]" => "run a script"
105
        ));
106
107
        // the switches that this command supports
108
        $this->addFeature(new Feature_ConsoleSupport);
109
        $this->addFeature(new Feature_DeviceSupport);
110
        $this->addFeature(new Feature_TestEnvironmentConfigSupport);
111
        $this->addFeature(new Feature_SystemUnderTestConfigSupport);
112
        $this->addFeature(new Feature_LocalhostSupport);
113
        $this->addFeature(new Feature_ActiveConfigSupport);
114
        $this->addFeature(new Feature_DefinesSupport);
115
        $this->addFeature(new Feature_PhaseLoaderSupport);
116
        $this->addFeature(new Feature_ProseLoaderSupport);
117
        $this->addFeature(new Feature_TestUsersSupport);
118
119
        // now setup all of the switches that we support
120
        $this->addFeatureSwitches();
121
    }
122
123
    /**
124
     *