Code Duplication    Length = 18-18 lines in 2 locations

app/Console/Commands/MakeJsonApiDemoRemove.php 1 location

@@ 122-139 (lines=18) @@
119
    /**
120
     *
121
     */
122
    protected function setupTest()
123
    {
124
        foreach ($this->migrations as $key => $value) {
125
            $this->migrations[$key] = $value . $this->testPostfix;
126
        }
127
        foreach ($this->seeds as $key => $value) {
128
            $this->seeds[$key] = $value . $this->testPostfix;
129
        }
130
        foreach ($this->controllers as $key => $value) {
131
            $this->controllers[$key] = $value . $this->testPostfix;
132
        }
133
        foreach ($this->models as $key => $value) {
134
            $this->models[$key] = $value . $this->testPostfix;
135
        }
136
        foreach ($this->jsonapiEntities as $key => $value) {
137
            $this->jsonapiEntities[$key] = $value . $this->testPostfix;
138
        }
139
    }
140
141
    /**
142
     *

app/Console/Commands/MakeJsonApiDemo.php 1 location

@@ 126-143 (lines=18) @@
123
    /**
124
     *
125
     */
126
    protected function setupTest()
127
    {
128
        foreach ($this->migrations as $key => $value) {
129
            $this->migrations[$key] = $value . $this->testPostfix;
130
        }
131
        foreach ($this->seeds as $key => $value) {
132
            $this->seeds[$key] = $value . $this->testPostfix;
133
        }
134
        foreach ($this->controllers as $key => $value) {
135
            $this->controllers[$key] = $value . $this->testPostfix;
136
        }
137
        foreach ($this->models as $key => $value) {
138
            $this->models[$key] = $value . $this->testPostfix;
139
        }
140
        foreach ($this->jsonapiEntities as $key => $value) {
141
            $this->jsonapiEntities[$key] = $value . $this->testPostfix;
142
        }
143
    }
144
145
    /**
146
     *