MangaReadingStatus
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 7
Duplicated Lines 100 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 7
loc 7
c 0
b 0
f 0
wmc 0
lcom 0
cbo 1

How to fix   Duplicated Code   

Duplicated Code

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 declare(strict_types=1);
2
/**
3
 * Anime List Client
4
 *
5
 * An API client for Kitsu and MyAnimeList to manage anime and manga watch lists
6
 *
7
 * PHP version 7
8
 *
9
 * @package     AnimeListClient
10
 * @author      Timothy J. Warren <[email protected]>
11
 * @copyright   2015 - 2017  Timothy J. Warren
12
 * @license     http://www.opensource.org/licenses/mit-license.html  MIT License
13
 * @version     4.0
14
 * @link        https://github.com/timw4mail/HummingBirdAnimeClient
15
 */
16
17
namespace Aviat\AnimeClient\API\Kitsu\Enum;
18
19
use Aviat\Ion\Enum as BaseEnum;
20
21
/**
22
 * Possible values for current reading status of manga
23
 */
24 View Code Duplication
class MangaReadingStatus extends BaseEnum {
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
25
	const READING = 'current';
26
	const PLAN_TO_READ = 'planned';
27
	const DROPPED = 'dropped';
28
	const ON_HOLD = 'on_hold';
29
	const COMPLETED = 'completed';
30
}
31
// End of MangaReadingStatus.php