Completed
Push — master ( 014a4d...1a3add )
by Manel
66:37 queued 36:27
created

ScoolEnrollmentMobile::configs()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
ccs 0
cts 7
cp 0
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
crap 2
1
<?php
2
namespace Scool\EnrollmentMobile;
3
4
/**
5
 * Class ScoolEnrollmentMobile
6
 * @package Scool\EnrollmentMobile
7
 */
8
class ScoolEnrollmentMobile
9
{
10
    /**
11
     * @return array
12
     */
13
    public static function factories()
14
    {
15
        return [
16
            SCOOL_ENROLLMENT_MOBILE_PATH . '/database/factories/EnrollmentMobileFactory.php' =>
17
                database_path('/factories/EnrollmentMobileFactory.php'),
18
//            SCOOL_ENROLLMENT_MOBILE_PATH . '/database/factories/CycleFactory.php' =>
0 ignored issues
show
Unused Code Comprehensibility introduced by
38% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
19
//                database_path('/factories/CycleFactory.php'),
20
//            SCOOL_ENROLLMENT_MOBILE_PATH . '/database/factories/DepartmentFactory.php' =>
21
//                database_path('/factories/DepartmentFactory.php'),
22
//            SCOOL_ENROLLMENT_MOBILE_PATH . '/database/factories/LawFactory.php' =>
23
//                database_path('/factories/LawFactory.php'),
24
//            SCOOL_ENROLLMENT_MOBILE_PATH . '/database/factories/ModuleFactory.php' =>
25
//                database_path('/factories/ModuleFactory.php'),
26
//            SCOOL_ENROLLMENT_MOBILE_PATH . '/database/factories/SpecialityFactory.php' =>
27
//                database_path('/factories/SpecialityFactory.php'),
28
//            SCOOL_ENROLLMENT_MOBILE_PATH . '/database/factories/StudyFactory.php' =>
29
//                database_path('/factories/StudyFactory.php'),
30
//            SCOOL_ENROLLMENT_MOBILE_PATH . '/database/factories/SubmoduleFactory.php' =>
31
//                database_path('/factories/SubmoduleFactory.php'),
32
        ];
33
    }
34
35
    /**
36
     * @return array
37
     */
38
    public static function configs()
39
    {
40
        return [
41
            SCOOL_ENROLLMENT_MOBILE_PATH . '/config/enrollment_mobile.php' =>
42
                config_path('enrollment_mobile.php'),
43
        ];
44
    }
45
}
46