Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Mar 13, 2024
1 parent 27bf9b5 commit 9dbcb0f
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/Events/ConversionHasCompleted.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ConversionHasCompleted
/**
* Create a new event instance.
*
* @param $message
* @param $message
*/
public function __construct($message)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Events/ConversionHasError.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ConversionHasError
/**
* Create a new event instance.
*
* @param $message
* @param $message
*/
public function __construct($message)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Events/ConversionHasInputInformation.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ConversionHasInputInformation
/**
* Create a new event instance.
*
* @param $message
* @param $message
*/
public function __construct($message)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Events/ConversionHasNewWarning.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ConversionHasNewWarning
/**
* Create a new event instance.
*
* @param $message
* @param $message
*/
public function __construct($message)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Events/ConversionHasStatusUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ConversionHasStatusUpdate
/**
* Create a new event instance.
*
* @param $message
* @param $message
*/
public function __construct($message)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Events/ConversionIsProgressing.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ConversionIsProgressing
/**
* Create a new event instance.
*
* @param $message
* @param $message
*/
public function __construct($message)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Events/ConversionQueueHop.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class ConversionQueueHop
/**
* Create a new event instance.
*
* @param $message
* @param $message
*/
public function __construct($message)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Http/Controllers/IncomingWebhookController.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ public function __invoke()
}

/**
* @param $status
* @param $message
* @param $status
* @param $message
*
* @throws \Exception
*/
Expand Down
1 change: 1 addition & 0 deletions src/Models/MediaConversion.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* @method static \Illuminate\Database\Eloquent\Builder|MediaConversion wherePercentageCompleted($value)
* @method static \Illuminate\Database\Eloquent\Builder|MediaConversion whereStatus($value)
* @method static \Illuminate\Database\Eloquent\Builder|MediaConversion whereUpdatedAt($value)
*
* @mixin \Eloquent
*/
class MediaConversion extends Model
Expand Down
20 changes: 10 additions & 10 deletions tests/MediaConverterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,17 @@
$this->assertEquals($response['Job']['Id'], $jobId);
});

it('can successfully cancel a job', function () {
$job = MediaConvert::createJob($this->jobSettings, []);
it('can successfully cancel a job', function () {
$job = MediaConvert::createJob($this->jobSettings, []);

$response = MediaConvert::cancelJob($job['Job']['Id']);
$response = MediaConvert::cancelJob($job['Job']['Id']);

$this->assertEquals($response['@metadata']['statusCode'], 202);
});
$this->assertEquals($response['@metadata']['statusCode'], 202);
});

it('can successfully list jobs', function () {
$response = MediaConvert::listJobs([]);
it('can successfully list jobs', function () {
$response = MediaConvert::listJobs([]);

$this->assertEquals($response['@metadata']['statusCode'], 200);
$this->assertTrue(count($response) > 0);
});
$this->assertEquals($response['@metadata']['statusCode'], 200);
$this->assertTrue(count($response) > 0);
});

0 comments on commit 9dbcb0f

Please sign in to comment.