1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
declare(strict_types=1); |
4
|
|
|
|
5
|
|
|
/* |
6
|
|
|
* This file is part of the Zikula package. |
7
|
|
|
* |
8
|
|
|
* Copyright Zikula Foundation - https://ziku.la/ |
9
|
|
|
* |
10
|
|
|
* For the full copyright and license information, please view the LICENSE |
11
|
|
|
* file that was distributed with this source code. |
12
|
|
|
*/ |
13
|
|
|
|
14
|
|
|
namespace Zikula\Bundle\HookBundle\Dispatcher\Storage\Doctrine\Entity; |
15
|
|
|
|
16
|
|
|
use Doctrine\ORM\Mapping as ORM; |
17
|
|
|
use Symfony\Component\Validator\Constraints as Assert; |
18
|
|
|
use Zikula\Bundle\CoreBundle\Doctrine\EntityAccess; |
19
|
|
|
use Zikula\Bundle\HookBundle\Dispatcher\Storage\Doctrine\Traits\HookEntityTrait; |
|
|
|
|
20
|
|
|
|
21
|
|
|
/** |
22
|
|
|
* HookBinding |
23
|
|
|
* |
24
|
|
|
* @ORM\Table(name="hook_binding") |
25
|
|
|
* @ORM\Entity(repositoryClass="Zikula\Bundle\HookBundle\Dispatcher\Storage\Doctrine\Entity\Repository\HookBindingRepository") |
26
|
|
|
*/ |
27
|
|
|
class HookBindingEntity extends EntityAccess |
28
|
|
|
{ |
29
|
|
|
use HookEntityTrait; |
30
|
|
|
|
31
|
|
|
/** |
32
|
|
|
* @ORM\Column(name="id", type="integer", nullable=false) |
33
|
|
|
* @ORM\Id |
34
|
|
|
* @ORM\GeneratedValue(strategy="IDENTITY") |
35
|
|
|
* @var int |
36
|
|
|
*/ |
37
|
|
|
private $id; |
|
|
|
|
38
|
|
|
|
39
|
|
|
/** |
40
|
|
|
* @ORM\Column(name="sowner", type="string", length=40, nullable=false) |
41
|
|
|
* @Assert\Length(min="0", max="40", allowEmptyString="false") |
42
|
|
|
* @var string |
43
|
|
|
*/ |
44
|
|
|
private $sowner; |
|
|
|
|
45
|
|
|
|
46
|
|
|
/** |
47
|
|
|
* @ORM\Column(name="powner", type="string", length=40, nullable=false) |
48
|
|
|
* @Assert\Length(min="0", max="40", allowEmptyString="false") |
49
|
|
|
* @var string |
50
|
|
|
*/ |
51
|
|
|
private $powner; |
|
|
|
|
52
|
|
|
|
53
|
|
|
/** |
54
|
|
|
* @ORM\Column(name="sareaid", type="string", length=512, nullable=false) |
55
|
|
|
* @Assert\Length(min="0", max="512", allowEmptyString="false") |
56
|
|
|
* @var string |
57
|
|
|
*/ |
58
|
|
|
private $sareaid; |
|
|
|
|
59
|
|
|
|
60
|
|
|
/** |
61
|
|
|
* @ORM\Column(name="pareaid", type="string", length=512, nullable=false) |
62
|
|
|
* @Assert\Length(min="0", max="512", allowEmptyString="false") |
63
|
|
|
* @var string |
64
|
|
|
*/ |
65
|
|
|
private $pareaid; |
|
|
|
|
66
|
|
|
|
67
|
|
|
/** |
68
|
|
|
* @ORM\Column(name="category", type="string", length=20, nullable=false) |
69
|
|
|
* @Assert\Length(min="0", max="20", allowEmptyString="false") |
70
|
|
|
* @var string |
71
|
|
|
*/ |
72
|
|
|
private $category; |
73
|
|
|
|
74
|
|
|
/** |
75
|
|
|
* @ORM\Column(name="sortorder", type="smallint", nullable=false) |
76
|
|
|
* @var int |
77
|
|
|
*/ |
78
|
|
|
private $sortorder; |
79
|
|
|
|
80
|
|
|
public function setCategory(string $category): void |
81
|
|
|
{ |
82
|
|
|
$this->category = $category; |
83
|
|
|
} |
84
|
|
|
|
85
|
|
|
public function getCategory(): string |
86
|
|
|
{ |
87
|
|
|
return $this->category; |
88
|
|
|
} |
89
|
|
|
|
90
|
|
|
public function setSortorder(int $sortorder): void |
91
|
|
|
{ |
92
|
|
|
$this->sortorder = $sortorder; |
93
|
|
|
} |
94
|
|
|
|
95
|
|
|
public function getSortorder(): int |
96
|
|
|
{ |
97
|
|
|
return $this->sortorder; |
98
|
|
|
} |
99
|
|
|
} |
100
|
|
|
|
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths