Skip to content

Commit 209d651

Browse files
php cs fixer
1 parent a31dd1b commit 209d651

56 files changed

Lines changed: 134 additions & 113 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎ProcessMaker/Events/ActivityReassignment.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ public function getData(): array
3333
'name_action' => $this::ACTION_REASSIGNMENT,
3434
'request' => [
3535
'label' => $this->processRequest->getAttribute('process_request_id'),
36-
'link' => route('requests.show', ['request' => $this->processRequest->getAttribute('process_request_id')])
36+
'link' => route('requests.show', ['request' => $this->processRequest->getAttribute('process_request_id')]),
3737
],
3838
'task' => $this->processRequest->getAttribute('element_name'),
3939
'process' => $this->processRequest->process->name ?? '',
40-
'actionated_at' => $this->processRequest->getAttribute('updated_at')
40+
'actionated_at' => $this->processRequest->getAttribute('updated_at'),
4141
];
4242
}
4343

‎ProcessMaker/Events/AuthClientDeleted.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function getData(): array
3232
return [
3333
'auth_client_id' => $this->changes['id'] ?? 0,
3434
'name' => $this->changes['name'] ?? 0,
35-
'deleted_at' => Carbon::now()
35+
'deleted_at' => Carbon::now(),
3636
];
3737
}
3838

‎ProcessMaker/Events/AuthClientUpdated.php‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ public function __construct(string $clientId, array $originalValues, array $chan
3232
$this->clientId = $clientId;
3333
}
3434

35-
3635
/**
3736
* Return event data
3837
* Return event data
@@ -41,11 +40,10 @@ public function getData(): array
4140
{
4241
return array_merge([
4342
'auth_client_id' => $this->clientId,
44-
'last_modified' => $this->changes['updated_at'] ?? Carbon::now()
43+
'last_modified' => $this->changes['updated_at'] ?? Carbon::now(),
4544
], $this->formatChanges($this->changes, $this->original));
4645
}
4746

48-
4947
/**
5048
* Return event changes
5149
* Return event changes

‎ProcessMaker/Events/CategoryCreated.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function getChanges(): array
5454
return [
5555
'id' => $this->category->getAttribute('id'),
5656
'name' => $this->category->getAttribute('name'),
57-
'status' => $this->category->getAttribute('status')
57+
'status' => $this->category->getAttribute('status'),
5858
];
5959
}
6060

‎ProcessMaker/Events/CategoryUpdated.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function getData(): array
5454
public function getChanges(): array
5555
{
5656
return [
57-
'id' => $this->category->getAttribute('id')
57+
'id' => $this->category->getAttribute('id'),
5858
];
5959
}
6060

‎ProcessMaker/Events/EnvironmentVariablesCreated.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function getData(): array
4949
public function getChanges(): array
5050
{
5151
return [
52-
'id' => $this->enVariable->getAttribute('name')
52+
'id' => $this->enVariable->getAttribute('name'),
5353
];
5454
}
5555

‎ProcessMaker/Events/EnvironmentVariablesDeleted.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function getData(): array
4747
public function getChanges(): array
4848
{
4949
return [
50-
'id' => $this->enVariable->getAttribute('id')
50+
'id' => $this->enVariable->getAttribute('id'),
5151
];
5252
}
5353

‎ProcessMaker/Events/EnvironmentVariablesUpdated.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function getData(): array
5454
public function getChanges(): array
5555
{
5656
return [
57-
'id' => $this->enVariable->getAttribute('id')
57+
'id' => $this->enVariable->getAttribute('id'),
5858
];
5959
}
6060

‎ProcessMaker/Events/FilesAccessed.php‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class FilesAccessed implements SecurityLogEventInterface
1414
use FormatSecurityLogChanges;
1515

1616
private array $linkFile = [];
17+
1718
private string $processName = '';
1819

1920
/**
@@ -29,7 +30,7 @@ public function __construct(string $name, ProcessRequest $data = null)
2930
// Link to the request
3031
$this->linkFile = [
3132
'label' => $data->getAttribute('id'),
32-
'link' => route('requests.show', $data)
33+
'link' => route('requests.show', $data),
3334
];
3435
} else {
3536
// Link to file in the package
@@ -50,7 +51,7 @@ public function getData(): array
5051
return [
5152
'name' => $this->linkFile,
5253
'process' => $this->processName,
53-
'accessed_at' => Carbon::now()
54+
'accessed_at' => Carbon::now(),
5455
];
5556
}
5657

‎ProcessMaker/Events/FilesCreated.php‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ class FilesCreated implements SecurityLogEventInterface
1616
public const NAME_PUBLIC_FILES = 'Public Files';
1717

1818
private array $media;
19+
1920
private array $name = [];
21+
2022
private string $processName = '';
2123

2224
/**
@@ -42,7 +44,7 @@ public function __construct(int $fileId, ProcessRequest $data)
4244
// Link to the request
4345
$this->name = [
4446
'label' => $data->getAttribute('id'),
45-
'link' => route('requests.show', $data)
47+
'link' => route('requests.show', $data),
4648
];
4749
}
4850
}
@@ -69,7 +71,7 @@ public function getData(): array
6971
public function getChanges(): array
7072
{
7173
return [
72-
'id' => $this->media['id']
74+
'id' => $this->media['id'],
7375
];
7476
}
7577

0 commit comments

Comments
 (0)