Skip to content

Commit 18dbaf0

Browse files
committed
PHP 8.2 support
1 parent c230c25 commit 18dbaf0

File tree

8 files changed

+9
-6
lines changed

8 files changed

+9
-6
lines changed

.github/workflows/phpstan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
operating-system: ['ubuntu-latest']
12-
php-versions: ['8.3', '8.4']
12+
php-versions: ['8.2', '8.3', '8.4']
1313

1414
steps:
1515
- uses: actions/checkout@v3

.github/workflows/phpunit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
operating-system: ['ubuntu-latest']
12-
php-versions: ['8.3', '8.4']
12+
php-versions: ['8.2', '8.3', '8.4']
1313

1414
steps:
1515
- name: Setup PHP

.github/workflows/psalm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
operating-system: ['ubuntu-latest']
12-
php-versions: ['8.3', '8.4']
12+
php-versions: ['8.2', '8.3', '8.4']
1313
steps:
1414
- uses: actions/checkout@v3
1515
- uses: php-actions/composer@v6 # or alternative dependency management

.idea/php.xml

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/psr18-shark.iml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Semantic versioning 2.0 is followed.
44

55
# 1.1.0
66

7+
- PHP 8.2 support
78
- Use php://temp stream wrapper for storing responses
89
- Response headers were not parsed correctly
910

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "project",
55
"license": "MIT",
66
"require": {
7-
"php": ">=8.3",
7+
"php": ">=8.2",
88
"ext-curl": "*",
99

1010
"psr/http-client": "^1.0",

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
class Client implements ClientInterface
2424
{
25-
private const string DEFAULT_USER_AGENT = 'PSR-18 Shark Client';
25+
private const DEFAULT_USER_AGENT = 'PSR-18 Shark Client';
2626

2727
/**
2828
* @var CurlHandle

0 commit comments

Comments
 (0)