Skip to content

Commit f9f8fca

Browse files
Support php84 is confirmed (#23)
* Fix styling * Added php8.4 to matrix --------- Co-authored-by: LaravelFreelancerNL <[email protected]>
1 parent a9d7b53 commit f9f8fca

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

.github/workflows/run-tests.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,10 @@ jobs:
99
fail-fast: true
1010
matrix:
1111
os: [ubuntu-latest]
12-
php: [8.1, 8.2, 8.3]
13-
laravel: [9.*, 10.*, 11.*]
12+
php: [8.1, 8.2, 8.3, 8.4]
13+
laravel: [10.*, 11.*]
1414
stability: [prefer-stable]
1515
include:
16-
- laravel: 9.*
17-
testbench: 7.*
18-
illuminate-contracts: 9.*
19-
phpunit: 9.*
20-
pestphp: 1.*
2116
- laravel: 10.*
2217
testbench: 8.*
2318
illuminate-contracts: 10.*

src/IndexNow.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected function logFailedAttempt(string|array $url): void
8080

8181
Log::info(
8282
'IndexNow: page submissions are only sent in production environments.',
83-
['url' => $url]
83+
['url' => $url],
8484
);
8585
}
8686

src/IndexNowServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function register()
3737

3838
$this->app->bind(
3939
'index-now',
40-
'LaravelFreelancerNL\LaravelIndexNow\IndexNow'
40+
'LaravelFreelancerNL\LaravelIndexNow\IndexNow',
4141
);
4242
}
4343
}

tests/SubmitTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
Log::assertLogged(
132132
fn(LogEntry $log) => $log->level === 'info'
133133
&& $log->message === 'IndexNow: page submissions are only sent in production environments.'
134-
&& $log->context === ['url' => 'https://dejacht.nl']
134+
&& $log->context === ['url' => 'https://dejacht.nl'],
135135
);
136136

137137
Http::assertNothingSent();
@@ -151,7 +151,7 @@
151151
Log::assertNotLogged(
152152
fn(LogEntry $log) => $log->level === 'info'
153153
&& $log->message === 'IndexNow: page submissions are only sent in production environments.'
154-
&& $log->context === ['url' => 'https://dejacht.nl']
154+
&& $log->context === ['url' => 'https://dejacht.nl'],
155155
);
156156

157157
Http::assertNothingSent();

0 commit comments

Comments
 (0)