Skip to content

Commit c7c91d5

Browse files
committed
Upgrade Pest to v3 and drop PHP 8.1 support
1 parent 70691b2 commit c7c91d5

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# CHANGELOG
22

3-
## [v1.1.x (Unreleased)](https://github.com/onlime/laravel-http-client-global-logger/compare/v1.1.3...main)
3+
## [v1.2.x (Unreleased)](https://github.com/onlime/laravel-http-client-global-logger/compare/v1.2.0...main)
4+
5+
## [v1.2.0 (2024-10-15)](https://github.com/onlime/laravel-http-client-global-logger/compare/v1.1.3...v1.2.0)
6+
7+
- Drop PHP 8.1 support
8+
- Upgrade pestphp/pest to v3
49

510
## [v1.1.3 (2024-03-14)](https://github.com/onlime/laravel-http-client-global-logger/compare/v1.1.2...v1.1.3)
611

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@
2626
}
2727
],
2828
"require": {
29-
"php": "^8.1",
29+
"php": "^8.2",
3030
"illuminate/http": "^10.32|^11.0",
3131
"illuminate/support": "^10.0|^11.0",
3232
"monolog/monolog": "^3.0"
3333
},
3434
"require-dev": {
3535
"laravel/framework": "^10.0|^11.0",
36-
"laravel/pint": "^1.13",
36+
"laravel/pint": "^1.18",
3737
"orchestra/testbench": "^8.8|^9.0",
38-
"pestphp/pest": "^2.33",
39-
"pestphp/pest-plugin-arch": "^2.0",
40-
"pestphp/pest-plugin-laravel": "^2.0",
38+
"pestphp/pest": "^3.0",
39+
"pestphp/pest-plugin-arch": "^3.0",
40+
"pestphp/pest-plugin-laravel": "^3.0",
4141
"saloonphp/laravel-http-sender": "^2.0|^3.0",
4242
"saloonphp/laravel-plugin": "^3.0",
4343
"spatie/invade": "^2.0"

tests/HttpClientLoggerTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,5 +121,8 @@ function setupLogger(): MockInterface
121121
'shouldTrim' => false,
122122
],
123123
],
124-
[true, false]
124+
[
125+
'with-charset' => ['addCharsetToContentType' => true],
126+
'without-charset' => ['addCharsetToContentType' => false],
127+
]
125128
);

0 commit comments

Comments
 (0)