Skip to content

Commit 1bd65f8

Browse files
committed
Fix CS.
1 parent 7ab8264 commit 1bd65f8

File tree

2 files changed

+43
-43
lines changed

2 files changed

+43
-43
lines changed

tests/Fixture/QueueProcessesFixture.php

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,25 @@ class QueueProcessesFixture extends TestFixture {
1414
*
1515
* @var array
1616
*/
17-
// @codingStandardsIgnoreStart
18-
public array $fields = [
19-
'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null],
20-
'pid' => ['type' => 'string', 'length' => 40, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
21-
'created' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
22-
'modified' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
23-
'terminate' => ['type' => 'boolean', 'length' => null, 'null' => false, 'default' => '0', 'comment' => '', 'precision' => null],
24-
'server' => ['type' => 'string', 'length' => 90, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
25-
'workerkey' => ['type' => 'string', 'length' => 45, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
26-
'_constraints' => [
27-
'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
28-
'workerkey' => ['type' => 'unique', 'columns' => ['workerkey'], 'length' => []],
29-
'pid' => ['type' => 'unique', 'columns' => ['pid', 'server'], 'length' => []],
30-
],
31-
'_options' => [
32-
'engine' => 'InnoDB',
33-
],
34-
];
35-
// @codingStandardsIgnoreEnd
17+
// @codingStandardsIgnoreStart
18+
public array $fields = [
19+
'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => false, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null],
20+
'pid' => ['type' => 'string', 'length' => 40, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
21+
'created' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
22+
'modified' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
23+
'terminate' => ['type' => 'boolean', 'length' => null, 'null' => false, 'default' => '0', 'comment' => '', 'precision' => null],
24+
'server' => ['type' => 'string', 'length' => 90, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
25+
'workerkey' => ['type' => 'string', 'length' => 45, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
26+
'_constraints' => [
27+
'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
28+
'workerkey' => ['type' => 'unique', 'columns' => ['workerkey'], 'length' => []],
29+
'pid' => ['type' => 'unique', 'columns' => ['pid', 'server'], 'length' => []],
30+
],
31+
'_options' => [
32+
'engine' => 'InnoDB',
33+
],
34+
];
35+
// @codingStandardsIgnoreEnd
3636

3737
/**
3838
* Init method

tests/Fixture/QueuedJobsFixture.php

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,32 @@ class QueuedJobsFixture extends TestFixture {
1616
*
1717
* @var array
1818
*/
19-
// @codingStandardsIgnoreStart
20-
public array $fields = [
21-
'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => true, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null],
22-
'job_task' => ['type' => 'string', 'length' => 90, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
23-
'data' => ['type' => 'text', 'length' => 16777215, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
24-
'job_group' => ['type' => 'string', 'length' => 255, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
25-
'reference' => ['type' => 'string', 'length' => 255, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
26-
'created' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
27-
'notbefore' => ['type' => 'datetime', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
28-
'fetched' => ['type' => 'datetime', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
29-
'completed' => ['type' => 'datetime', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
30-
'progress' => ['type' => 'float', 'length' => null, 'precision' => null, 'unsigned' => false, 'null' => true, 'default' => null, 'comment' => ''],
31-
'attempts' => ['type' => 'integer', 'length' => 12, 'unsigned' => true, 'null' => false, 'default' => 0, 'comment' => '', 'precision' => null, 'autoIncrement' => null],
32-
'failure_message' => ['type' => 'text', 'length' => 16777215, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
33-
'workerkey' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
34-
'status' => ['type' => 'string', 'length' => 255, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
35-
'priority' => ['type' => 'integer', 'length' => 3, 'unsigned' => true, 'null' => false, 'default' => 5, 'comment' => '', 'precision' => null, 'autoIncrement' => null],
19+
// @codingStandardsIgnoreStart
20+
public array $fields = [
21+
'id' => ['type' => 'integer', 'length' => 11, 'unsigned' => true, 'null' => false, 'default' => null, 'comment' => '', 'autoIncrement' => true, 'precision' => null],
22+
'job_task' => ['type' => 'string', 'length' => 90, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
23+
'data' => ['type' => 'text', 'length' => 16777215, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
24+
'job_group' => ['type' => 'string', 'length' => 255, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
25+
'reference' => ['type' => 'string', 'length' => 255, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
26+
'created' => ['type' => 'datetime', 'length' => null, 'null' => false, 'default' => null, 'comment' => '', 'precision' => null],
27+
'notbefore' => ['type' => 'datetime', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
28+
'fetched' => ['type' => 'datetime', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
29+
'completed' => ['type' => 'datetime', 'length' => null, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
30+
'progress' => ['type' => 'float', 'length' => null, 'precision' => null, 'unsigned' => false, 'null' => true, 'default' => null, 'comment' => ''],
31+
'attempts' => ['type' => 'integer', 'length' => 12, 'unsigned' => true, 'null' => false, 'default' => 0, 'comment' => '', 'precision' => null, 'autoIncrement' => null],
32+
'failure_message' => ['type' => 'text', 'length' => 16777215, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null],
33+
'workerkey' => ['type' => 'string', 'length' => 45, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
34+
'status' => ['type' => 'string', 'length' => 255, 'null' => true, 'default' => null, 'comment' => '', 'precision' => null, 'fixed' => null],
35+
'priority' => ['type' => 'integer', 'length' => 3, 'unsigned' => true, 'null' => false, 'default' => 5, 'comment' => '', 'precision' => null, 'autoIncrement' => null],
3636
'memory' => ['type' => 'integer', 'length' => 10, 'unsigned' => true, 'null' => true, 'default' => null, 'comment' => 'MB'],
3737
'_constraints' => [
38-
'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
39-
],
40-
'_options' => [
41-
'engine' => 'InnoDB',
42-
],
43-
];
44-
// @codingStandardsIgnoreEnd
38+
'primary' => ['type' => 'primary', 'columns' => ['id'], 'length' => []],
39+
],
40+
'_options' => [
41+
'engine' => 'InnoDB',
42+
],
43+
];
44+
// @codingStandardsIgnoreEnd
4545

4646
/**
4747
* Init method

0 commit comments

Comments
 (0)