We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Duplicate code is one of the most pungent code smells. A rule that is often used is to re-structure code once it is duplicated in three or more places.
Common duplication problems, and corresponding solutions are:
| 1 | <?php |
||
| 5 | trait UniquePages |
||
| 6 | { |
||
| 7 | View Code Duplication | private function about_us() |
|
| 16 | |||
| 17 | View Code Duplication | private function some_thing() |
|
| 26 | } |
||
| 27 |