|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
/** |
|
4
|
|
|
* @copyright Bluz PHP Team |
|
5
|
|
|
* @link https://github.com/bluzphp/skeleton |
|
6
|
|
|
*/ |
|
7
|
|
|
|
|
8
|
|
|
declare(strict_types=1); |
|
9
|
|
|
|
|
10
|
|
|
namespace Application\Events; |
|
11
|
|
|
|
|
12
|
|
|
/** |
|
13
|
|
|
* Row of Event |
|
14
|
|
|
* |
|
15
|
|
|
* @package Application\Events |
|
16
|
|
|
* |
|
17
|
|
|
* @property integer $id |
|
18
|
|
|
* @property string $event |
|
19
|
|
|
* @property string $target |
|
20
|
|
|
* @property string $data |
|
21
|
|
|
* @property string $created |
|
22
|
|
|
* @property string $updated |
|
23
|
|
|
* |
|
24
|
|
|
* @OA\Schema(schema="event", title="event", required={"event", "target"}) |
|
25
|
|
|
* @OA\Property(property="event", type="string", description="Options namespace", example="default") |
|
26
|
|
|
* @OA\Property(property="target", type="string", description="Key", example="Some key") |
|
27
|
|
|
* @OA\Property(property="data", type="string", description="JSON data", example="{some:'value'}") |
|
28
|
|
|
* @OA\Property(property="created", type="string", format="date-time", description="Created date", |
|
29
|
|
|
* example="2017-03-17 19:06:28") |
|
30
|
|
|
* @OA\Property(property="updated", type="string", format="date-time", description="Last updated date", |
|
31
|
|
|
* example="2017-03-17 19:06:28") |
|
32
|
|
|
*/ |
|
33
|
|
|
class Row extends \Bluz\Db\Row |
|
|
|
|
|
|
34
|
|
|
{ |
|
35
|
|
|
/** |
|
36
|
|
|
* @return void |
|
37
|
|
|
*/ |
|
38
|
|
|
public function beforeInsert(): void |
|
39
|
|
|
{ |
|
40
|
|
|
} |
|
41
|
|
|
|
|
42
|
|
|
/** |
|
43
|
|
|
* @return void |
|
44
|
|
|
*/ |
|
45
|
|
|
public function beforeUpdate(): void |
|
46
|
|
|
{ |
|
47
|
|
|
} |
|
48
|
|
|
} |
|
49
|
|
|
|
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