| Total Complexity | 5 |
| Total Lines | 76 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Comodojo\Extender\Traits; |
||
| 19 | trait BaseEntityTrait { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var integer |
||
| 23 | * |
||
| 24 | * @ORM\Id |
||
| 25 | * @ORM\Column(type="integer", nullable=false) |
||
| 26 | * @ORM\GeneratedValue(strategy="AUTO") |
||
| 27 | */ |
||
| 28 | protected $id = 0; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string |
||
| 32 | * |
||
| 33 | * @ORM\Column(name="name", type="string", length=128, nullable=false) |
||
| 34 | */ |
||
| 35 | protected $name; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Get queue item's id |
||
| 39 | * |
||
| 40 | * @return integer |
||
| 41 | */ |
||
| 42 | public function getId() { |
||
| 43 | |||
| 44 | return $this->id; |
||
| 45 | |||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * Set queue item's id |
||
| 50 | * |
||
| 51 | * @param string $id |
||
| 52 | * @return Schedule |
||
|
|
|||
| 53 | */ |
||
| 54 | public function setId($id) { |
||
| 55 | |||
| 56 | $this->id = $id; |
||
| 57 | |||
| 58 | return $this; |
||
| 59 | |||
| 60 | } |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Get queue item's name |
||
| 64 | * |
||
| 65 | * @return string |
||
| 66 | */ |
||
| 67 | public function getName() { |
||
| 70 | |||
| 71 | } |
||
| 72 | |||
| 73 | /** |
||
| 74 | * Set queue item's name |
||
| 75 | * |
||
| 76 | * @param string $name |
||
| 77 | * @return Schedule |
||
| 78 | */ |
||
| 79 | public function setName($name) { |
||
| 80 | |||
| 81 | $this->name = $name; |
||
| 82 | |||
| 83 | return $this; |
||
| 84 | |||
| 85 | } |
||
| 86 | |||
| 87 | /** |
||
| 88 | * Returns the properties of this object as an array for ease of use |
||
| 89 | * |
||
| 90 | * @return array |
||
| 91 | */ |
||
| 92 | public function toArray() { |
||
| 95 | |||
| 96 | } |
||
| 97 | |||
| 98 | } |
||
| 99 |
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