| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | public function __construct(Application $app) |
||
| 31 | { |
||
| 32 | $this->script_id = $app->script_id; |
||
|
|
|||
| 33 | $this->machine_id = $app->machine_id; |
||
| 34 | $this->script_config = $app->script_config; |
||
| 35 | $this->schedule = $app->schedule; |
||
| 36 | $this->proxy = $app->proxy; |
||
| 37 | $this->credentials = $app->credentials; |
||
| 38 | $this->paused = $app->paused; |
||
| 39 | $this->active = $app->active; |
||
| 40 | } |
||
| 42 |
Checks if undeclared accessed properties appear in database migrations and if the creating migration is correct.