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

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