Completed
Pull Request — master (#4)
by Timothy
08:48 queued 02:25
created

CheckSchemaFactory::createService()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 5
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 11
ccs 5
cts 5
cp 1
rs 9.4285
cc 1
eloc 5
nc 1
nop 1
crap 1
1
<?php
2
3
namespace Abacaphiliac\DoctrineORMDiagnosticsModule;
4
5
class CheckSchemaFactory extends AbstractCheckCommandFactory
6
{
7
    /**
8
     * @return string
9
     */
10 1
    public function getCommandServiceName()
11
    {
12 1
        return 'doctrine.orm_cmd.validate_schema';
13
    }
14
}
15