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

src/Framework/Repository/Generators/Commands/EntityCommand.php 1 location

@@ 92-131 (lines=40) @@
89
     *
90
     * @return array
91
     */
92
    public function getOptions()
93
    {
94
        return [
95
            [
96
                'fillable',
97
                null,
98
                InputOption::VALUE_OPTIONAL,
99
                'The fillable attributes.',
100
                null,
101
            ],
102
            [
103
                'rules',
104
                null,
105
                InputOption::VALUE_OPTIONAL,
106
                'The rules of validation attributes.',
107
                null,
108
            ],
109
            [
110
                'validator',
111
                null,
112
                InputOption::VALUE_OPTIONAL,
113
                'Adds validator reference to the repository.',
114
                null,
115
            ],
116
            [
117
                'presenter',
118
                null,
119
                InputOption::VALUE_OPTIONAL,
120
                'Adds presenter reference to the repository.',
121
                null,
122
            ],
123
            [
124
                'force',
125
                'f',
126
                InputOption::VALUE_NONE,
127
                'Force the creation if file already exists.',
128
                null,
129
            ],
130
        ];
131
    }
132
}
133

src/Framework/Repository/Generators/Commands/RepositoryCommand.php 1 location

@@ 132-171 (lines=40) @@
129
     *
130
     * @return array
131
     */
132
    public function getOptions()
133
    {
134
        return [
135
            [
136
                'fillable',
137
                null,
138
                InputOption::VALUE_OPTIONAL,
139
                'The fillable attributes.',
140
                null,
141
            ],
142
            [
143
                'rules',
144
                null,
145
                InputOption::VALUE_OPTIONAL,
146
                'The rules of validation attributes.',
147
                null,
148
            ],
149
            [
150
                'validator',
151
                null,
152
                InputOption::VALUE_OPTIONAL,
153
                'Adds validator reference to the repository.',
154
                null,
155
            ],
156
            [
157
                'presenter',
158
                null,
159
                InputOption::VALUE_OPTIONAL,
160
                'Adds presenter reference to the repository.',
161
                null,
162
            ],
163
            [
164
                'force',
165
                'f',
166
                InputOption::VALUE_NONE,
167
                'Force the creation if file already exists.',
168
                null,
169
            ],
170
        ];
171
    }
172
}
173