Code Duplication    Length = 10-10 lines in 3 locations

src/main/php/PHPMD/Rule/Naming/ShortMethodName.php 1 location

@@ 66-75 (lines=10) @@
63
     *
64
     * @return array
65
     */
66
    private function getExceptionsList()
67
    {
68
        try {
69
            $exceptions = $this->getStringProperty('exceptions');
70
        } catch (\OutOfBoundsException $e) {
71
            $exceptions = '';
72
        }
73
74
        return explode(',', $exceptions);
75
    }
76
}
77

src/main/php/PHPMD/Rule/UnusedLocalVariable.php 1 location

@@ 252-261 (lines=10) @@
249
     *
250
     * @return array
251
     */
252
    private function getExceptionsList()
253
    {
254
        try {
255
            $exceptions = $this->getStringProperty('exceptions');
256
        } catch (\OutOfBoundsException $e) {
257
            $exceptions = '';
258
        }
259
260
        return explode(',', $exceptions);
261
    }
262
}
263

src/main/php/PHPMD/Rule/Naming/ShortVariable.php 1 location

@@ 149-158 (lines=10) @@
146
     *
147
     * @return array
148
     */
149
    private function getExceptionsList()
150
    {
151
        try {
152
            $exceptions = $this->getStringProperty('exceptions');
153
        } catch (\OutOfBoundsException $e) {
154
            $exceptions = '';
155
        }
156
157
        return explode(',', $exceptions);
158
    }
159
160
    /**
161
     * Checks if a short name is acceptable in the current context. For the