DigitalState /
Cases
| 1 | <?php |
||
| 2 | |||
| 3 | namespace App\Entity; |
||
| 4 | |||
| 5 | use Ds\Component\Model\Attribute\Accessor; |
||
|
0 ignored issues
–
show
|
|||
| 6 | use Ds\Component\Translation\Model\Type\Translation; |
||
|
0 ignored issues
–
show
The type
Ds\Component\Translation\Model\Type\Translation was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 7 | use Knp\DoctrineBehaviors\Model as Behavior; |
||
|
0 ignored issues
–
show
The type
Knp\DoctrineBehaviors\Model was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 8 | |||
| 9 | use Doctrine\ORM\Mapping as ORM; |
||
|
0 ignored issues
–
show
The type
Doctrine\ORM\Mapping was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 10 | |||
| 11 | /** |
||
| 12 | * Class CaseStatusTranslation |
||
| 13 | * |
||
| 14 | * @ORM\Entity |
||
| 15 | * @ORM\Table(name="app_case_status_trans") |
||
| 16 | */ |
||
| 17 | class CaseStatusTranslation implements Translation |
||
| 18 | { |
||
| 19 | use Behavior\Translatable\Translation; |
||
|
0 ignored issues
–
show
The type
Knp\DoctrineBehaviors\Mo...ranslatable\Translation was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 20 | |||
| 21 | use Accessor\Title; |
||
|
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\Title was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 22 | use Accessor\Description; |
||
|
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\Description was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 23 | use Accessor\Data; |
||
|
0 ignored issues
–
show
The type
Ds\Component\Model\Attribute\Accessor\Data was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths Loading history...
|
|||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | * @ORM\Column(name="title", type="string", length=255, nullable=true) |
||
| 28 | */ |
||
| 29 | private $title; |
||
|
0 ignored issues
–
show
|
|||
| 30 | |||
| 31 | /** |
||
| 32 | * @var string |
||
| 33 | * @ORM\Column(name="description", type="text", nullable=true) |
||
| 34 | */ |
||
| 35 | private $description; |
||
|
0 ignored issues
–
show
|
|||
| 36 | |||
| 37 | /** |
||
| 38 | * @var string |
||
| 39 | * @ORM\Column(name="data", type="json_array") |
||
| 40 | */ |
||
| 41 | private $data; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Constructor |
||
| 45 | */ |
||
| 46 | public function __construct() |
||
| 47 | { |
||
| 48 | $this->data = []; |
||
|
0 ignored issues
–
show
It seems like
array() of type array is incompatible with the declared type string of property $data.
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property. Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property.. Loading history...
|
|||
| 49 | } |
||
| 50 | } |
||
| 51 |
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