diff --git a/composer.json b/composer.json index 7dae42f..b8b21f6 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ "orchestra/testbench": "^5.0|^6.0", "pestphp/pest": "^1.0", "pestphp/pest-plugin-laravel": "^1.0", - "phpunit/phpunit": "^8.0|^9.3", + "phpunit/phpunit": "11.0.1", "vlucas/phpdotenv": "^4.2|^5.3" }, "autoload": { diff --git a/src/Events/ConversionHasCompleted.php b/src/Events/ConversionHasCompleted.php index 0f9a385..9f32e3e 100644 --- a/src/Events/ConversionHasCompleted.php +++ b/src/Events/ConversionHasCompleted.php @@ -16,7 +16,7 @@ class ConversionHasCompleted /** * Create a new event instance. * - * @param $message + * @param $message */ public function __construct($message) { diff --git a/src/Events/ConversionHasError.php b/src/Events/ConversionHasError.php index 5606e8f..e9a01d1 100644 --- a/src/Events/ConversionHasError.php +++ b/src/Events/ConversionHasError.php @@ -16,7 +16,7 @@ class ConversionHasError /** * Create a new event instance. * - * @param $message + * @param $message */ public function __construct($message) { diff --git a/src/Events/ConversionHasInputInformation.php b/src/Events/ConversionHasInputInformation.php index 06a84c8..dc49f29 100644 --- a/src/Events/ConversionHasInputInformation.php +++ b/src/Events/ConversionHasInputInformation.php @@ -16,7 +16,7 @@ class ConversionHasInputInformation /** * Create a new event instance. * - * @param $message + * @param $message */ public function __construct($message) { diff --git a/src/Events/ConversionHasNewWarning.php b/src/Events/ConversionHasNewWarning.php index 345fa92..c11862d 100644 --- a/src/Events/ConversionHasNewWarning.php +++ b/src/Events/ConversionHasNewWarning.php @@ -16,7 +16,7 @@ class ConversionHasNewWarning /** * Create a new event instance. * - * @param $message + * @param $message */ public function __construct($message) { diff --git a/src/Events/ConversionHasStatusUpdate.php b/src/Events/ConversionHasStatusUpdate.php index c4721fc..343d0a9 100644 --- a/src/Events/ConversionHasStatusUpdate.php +++ b/src/Events/ConversionHasStatusUpdate.php @@ -16,7 +16,7 @@ class ConversionHasStatusUpdate /** * Create a new event instance. * - * @param $message + * @param $message */ public function __construct($message) { diff --git a/src/Events/ConversionIsProgressing.php b/src/Events/ConversionIsProgressing.php index 1b1bdce..481bf7c 100644 --- a/src/Events/ConversionIsProgressing.php +++ b/src/Events/ConversionIsProgressing.php @@ -16,7 +16,7 @@ class ConversionIsProgressing /** * Create a new event instance. * - * @param $message + * @param $message */ public function __construct($message) { diff --git a/src/Events/ConversionQueueHop.php b/src/Events/ConversionQueueHop.php index 9b7e8aa..b714a58 100644 --- a/src/Events/ConversionQueueHop.php +++ b/src/Events/ConversionQueueHop.php @@ -16,7 +16,7 @@ class ConversionQueueHop /** * Create a new event instance. * - * @param $message + * @param $message */ public function __construct($message) { diff --git a/src/Http/Controllers/IncomingWebhookController.php b/src/Http/Controllers/IncomingWebhookController.php index deb4ec3..535ab9d 100644 --- a/src/Http/Controllers/IncomingWebhookController.php +++ b/src/Http/Controllers/IncomingWebhookController.php @@ -54,8 +54,8 @@ public function __invoke() } /** - * @param $status - * @param $message + * @param $status + * @param $message * * @throws \Exception */ diff --git a/src/Models/MediaConversion.php b/src/Models/MediaConversion.php index 3370271..a6df1a0 100644 --- a/src/Models/MediaConversion.php +++ b/src/Models/MediaConversion.php @@ -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 diff --git a/tests/MediaConverterTest.php b/tests/MediaConverterTest.php index aab1a5f..d6e7b3b 100644 --- a/tests/MediaConverterTest.php +++ b/tests/MediaConverterTest.php @@ -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); +});