This class seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
10
{
11
const REG = 'E112';
12
const LEVEL = 5;
13
const PARENT = 'E111';
14
15
protected $parameters = [
16
'NUM_DA' => [
17
'type' => 'string',
18
'regex' => '^\d+$',
19
'required' => false,
20
'info' => 'Número do documento de arrecadação estadual, se houver',
21
'format' => ''
22
],
23
'NUM_PROC' => [
24
'type' => 'string',
25
'regex' => '^\d{1,15}$',
26
'required' => false,
27
'info' => 'Número do processo ao qual o ajuste está vinculado, se houver',
28
'format' => ''
29
],
30
'IND_PROC' => [
31
'type' => 'string',
32
'regex' => '^[0|1|2|9]$',
33
'required' => false,
34
'info' => 'Indicador da origem do processo: 0- Sefaz;'
35
.'1- Justiça Federal;'
36
.'2- Justiça Estadual;'
37
.'9- Outros',
38
'format' => ''
39
],
40
'PROC' => [
41
'type' => 'string',
42
'regex' => '^.*$',
43
'required' => false,
44
'info' => 'Descrição resumida do processo que embasou o lançamento',
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.