MakeTestCommand
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 1 Features 1
Metric Value
wmc 0
c 1
b 1
f 1
lcom 0
cbo 1
dl 0
loc 16
1
<?php
2
3
/**
4
 * Class MakeTestCommand.
5
 */
6
class MakeTestCommand extends AbstractMakeCommand
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
7
{
8
    /**
9
     * The console command name.
10
     *
11
     * @var string
12
     */
13
    protected $name = 'make:test';
14
15
    /**
16
     * The console command description.
17
     *
18
     * @var string
19
     */
20
    protected $description = 'Create a new TestCase';
21
}
22