Completed
Push — develop ( c61561...247dd8 )
by
unknown
17:35 queued 09:17
created

PreferredJobForm::init()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
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