TestCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A configure() 0 4 1
1
<?php
2
3
namespace MyBuilder\Bundle\CronosBundle\Tests\Fixtures\Command;
4
5
use Symfony\Component\Console\Command\Command;
6
use MyBuilder\Bundle\CronosBundle\Annotation\Cron;
7
8
/**
9
 * Empty command for testing that this bundle can read the cron annotations correctly
10
 *
11
 * @Cron(minute="27", hour="0", dayOfWeek="6", server="web")
12
 * @Cron(minute="/5", hour="/3", server="batch")
13
 * @Cron(minute="41", hour="10", dayOfMonth="1", server="test", executor="php -d mbstring.func_overload=0")
14
 */
15
class TestCommand extends Command
16
{
17
    protected function configure()
18
    {
19
        $this->setName('cronos:test-command');
20
    }
21
}
22