ReviewOS

also looking at this

meemalabs/laravel-media-converter

chore(deps): update actions/checkout action to v6 - abandoned

#69
Open renovate[bot] wants to merge renovate/actions-checkout-6.x into main
12 files +22 -21
.github/workflows/run-tests.ymlmodified+1-1
Changes to .github/workflows/run-tests.yml
@@ -24,7 +24,7 @@ jobs:
2424
2525 steps:
2626 - name: Checkout code
27 uses: actions/checkout@v2
27 uses: actions/checkout@v6
2828
2929 - name: Setup PHP
3030 uses: shivammathur/setup-php@v2
.github/workflows/tag-release.ymlmodified+1-1
Changes to .github/workflows/tag-release.yml
@@ -12,7 +12,7 @@ jobs:
1212
1313 steps:
1414 - name: Checkout
15 uses: actions/checkout@v2
15 uses: actions/checkout@v6
1616 with:
1717 fetch-depth: 0
1818
src/Events/ConversionHasCompleted.phpmodifiedformatting only+1-1
Changes to src/Events/ConversionHasCompleted.php
@@ -16,7 +16,7 @@ class ConversionHasCompleted
1616 /**
1717 * Create a new event instance.
1818 *
19 * @param $message
19 * @param $message
2020 */
2121 public function __construct($message)
2222 {
src/Events/ConversionHasError.phpmodifiedformatting only+1-1
Changes to src/Events/ConversionHasError.php
@@ -16,7 +16,7 @@ class ConversionHasError
1616 /**
1717 * Create a new event instance.
1818 *
19 * @param $message
19 * @param $message
2020 */
2121 public function __construct($message)
2222 {
src/Events/ConversionHasInputInformation.phpmodifiedformatting only+1-1
Changes to src/Events/ConversionHasInputInformation.php
@@ -16,7 +16,7 @@ class ConversionHasInputInformation
1616 /**
1717 * Create a new event instance.
1818 *
19 * @param $message
19 * @param $message
2020 */
2121 public function __construct($message)
2222 {
src/Events/ConversionHasNewWarning.phpmodifiedformatting only+1-1
Changes to src/Events/ConversionHasNewWarning.php
@@ -16,7 +16,7 @@ class ConversionHasNewWarning
1616 /**
1717 * Create a new event instance.
1818 *
19 * @param $message
19 * @param $message
2020 */
2121 public function __construct($message)
2222 {
src/Events/ConversionHasStatusUpdate.phpmodifiedformatting only+1-1
Changes to src/Events/ConversionHasStatusUpdate.php
@@ -16,7 +16,7 @@ class ConversionHasStatusUpdate
1616 /**
1717 * Create a new event instance.
1818 *
19 * @param $message
19 * @param $message
2020 */
2121 public function __construct($message)
2222 {
src/Events/ConversionIsProgressing.phpmodifiedformatting only+1-1
Changes to src/Events/ConversionIsProgressing.php
@@ -16,7 +16,7 @@ class ConversionIsProgressing
1616 /**
1717 * Create a new event instance.
1818 *
19 * @param $message
19 * @param $message
2020 */
2121 public function __construct($message)
2222 {
src/Events/ConversionQueueHop.phpmodifiedformatting only+1-1
Changes to src/Events/ConversionQueueHop.php
@@ -16,7 +16,7 @@ class ConversionQueueHop
1616 /**
1717 * Create a new event instance.
1818 *
19 * @param $message
19 * @param $message
2020 */
2121 public function __construct($message)
2222 {
src/Http/Controllers/IncomingWebhookController.phpmodifiedformatting only+2-2
Changes to src/Http/Controllers/IncomingWebhookController.php
@@ -54,8 +54,8 @@ class IncomingWebhookController extends Controller
5454 }
5555
5656 /**
57 * @param $status
58 * @param $message
57 * @param $status
58 * @param $message
5959 *
6060 * @throws \Exception
6161 */
src/Models/MediaConversion.phpmodified+1-0
Changes to src/Models/MediaConversion.php
@@ -31,6 +31,7 @@ use Illuminate\Support\Str;
3131 * @method static \Illuminate\Database\Eloquent\Builder|MediaConversion wherePercentageCompleted($value)
3232 * @method static \Illuminate\Database\Eloquent\Builder|MediaConversion whereStatus($value)
3333 * @method static \Illuminate\Database\Eloquent\Builder|MediaConversion whereUpdatedAt($value)
34 *
3435 * @mixin \Eloquent
3536 */
3637class MediaConversion extends Model
tests/MediaConverterTest.phpmodifiedformatting only+10-10
Changes to tests/MediaConverterTest.php
@@ -95,17 +95,17 @@ it('can successfully get a jobs', function () {
9595 $this->assertEquals($response['Job']['Id'], $jobId);
9696});
9797
98 it('can successfully cancel a job', function () {
99 $job = MediaConvert::createJob($this->jobSettings, []);
98it('can successfully cancel a job', function () {
99 $job = MediaConvert::createJob($this->jobSettings, []);
100100
101 $response = MediaConvert::cancelJob($job['Job']['Id']);
101 $response = MediaConvert::cancelJob($job['Job']['Id']);
102102
103 $this->assertEquals($response['@metadata']['statusCode'], 202);
104 });
103 $this->assertEquals($response['@metadata']['statusCode'], 202);
104});
105105
106 it('can successfully list jobs', function () {
107 $response = MediaConvert::listJobs([]);
106it('can successfully list jobs', function () {
107 $response = MediaConvert::listJobs([]);
108108
109 $this->assertEquals($response['@metadata']['statusCode'], 200);
110 $this->assertTrue(count($response) > 0);
111 });
109 $this->assertEquals($response['@metadata']['statusCode'], 200);
110 $this->assertTrue(count($response) > 0);
111});