Skip to content

Commit 8d339b9

Browse files
committed
Upgrade php version in actions
1 parent 6f7cd4e commit 8d339b9

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
strategy:
2525
matrix:
26-
php-versions: [ '8.1' ]
26+
php-versions: [ '8.3' ]
2727
dependency-version: [ prefer-lowest, prefer-stable ]
2828
steps:
2929
- uses: actions/checkout@master
@@ -55,7 +55,7 @@ jobs:
5555
runs-on: ubuntu-latest
5656
strategy:
5757
matrix:
58-
php-versions: [ '8.1' ]
58+
php-versions: [ '8.3' ]
5959
steps:
6060
- uses: actions/checkout@master
6161
- name: Setup PHP, with composer and extensions
@@ -87,7 +87,7 @@ jobs:
8787
runs-on: ubuntu-latest
8888
strategy:
8989
matrix:
90-
php-versions: [ '8.1' ]
90+
php-versions: [ '8.3' ]
9191
steps:
9292
- uses: actions/checkout@master
9393
- name: Setup PHP, with composer and extensions

src/Service/Logger.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,19 @@ private function createLoggingJob(string $type, int $timestamp, string $line, bo
123123

124124
/**
125125
* Logs a message using a plugin-specific logger.
126+
*
127+
* @param string $type
128+
* The type of event to log (auth, lookup etc.)
129+
* @param int $timestamp
130+
* The timestamp for the log message.
131+
* @param string $line
132+
* The log message.
133+
* @param string $plugin_id
134+
* The logging plugin id.
135+
* @param array<string, string> $metadata
136+
* Additional metadata for the log message. Default is an empty array.
137+
*
138+
* @throws \Exception.
126139
*/
127140
public function log(string $type, int $timestamp, string $line, string $plugin_id, array $metadata = []): void {
128141

0 commit comments

Comments
 (0)