Completed
Push — develop ( c61561...247dd8 )
by
unknown
09:15
created

PreferredJobForm   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 6 1
1
<?php
2
3
namespace Cv\Form;
4
5
use Core\Form\SummaryForm;
6
7
class PreferredJobForm extends SummaryForm
8
{
9
    
10
    protected $baseFieldset = 'Cv/PreferredJobFieldset';
11
12
    public function init()
13
    {
14
      //  $this->setDescription(/*@translate*/' Where do you want to work tomorrow. This heading gives an immediate overview of your desired next job.');
0 ignored issues
show
Unused Code Comprehensibility introduced by
47% 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...
15
        $this->setIsDescriptionsEnabled(true);
16
        parent::init();
17
    }
18
}
19