File tree Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 4
4
5
5
- ...
6
6
7
+ ## [ v1.0.2 (2023-07-17)] ( https://github.com/onlime/laravel-http-client-global-logger/compare/v1.0.1...v1.0.2 )
8
+
9
+ - Drop Laravel 9 support
10
+ - PHP code style fixes by ` laravel/pint ` v1.10, now using more strict style rules (` laravel ` preset).
11
+
7
12
## [ v1.0.1 (2023-02-26)] ( https://github.com/onlime/laravel-http-client-global-logger/compare/v1.0.0...v1.0.1 )
8
13
9
14
- Drop Laravel 8 / PHP 8.0 support
Original file line number Diff line number Diff line change 27
27
],
28
28
"require" : {
29
29
"php" : " ^8.1" ,
30
- "guzzlehttp/guzzle" : " ^7.5 " ,
31
- "illuminate/http" : " ^9.0 || ^ 10.0" ,
32
- "illuminate/support" : " ^9.0 || ^ 10.0" ,
30
+ "guzzlehttp/guzzle" : " ^7.6 " ,
31
+ "illuminate/http" : " ^10.0" ,
32
+ "illuminate/support" : " ^10.0" ,
33
33
"monolog/monolog" : " ^3.0"
34
34
},
35
35
"require-dev" : {
36
- "laravel/framework" : " ^9.0 || ^ 10.0" ,
37
- "laravel/pint" : " ^1.5 "
36
+ "laravel/framework" : " ^10.0" ,
37
+ "laravel/pint" : " ^1.10 "
38
38
},
39
39
"autoload" : {
40
40
"psr-4" : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"preset" : " laravel" ,
3
3
"rules" : {
4
- "braces" : false ,
5
4
"blank_line_before_statement" : false ,
6
- "class_definition" : false ,
7
5
"binary_operator_spaces" : false ,
8
- "concat_space" : false ,
9
- "no_unused_imports" : false ,
10
6
"phpdoc_separation" : false ,
11
- "Laravel/laravel_phpdoc_alignment" : false ,
12
7
"modernize_strpos" : true
13
8
},
14
9
"exclude" : [
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function handle(RequestSending $event)
29
29
if ($ obfuscate ) {
30
30
foreach (config ('http-client-global-logger.obfuscate.body_keys ' ) as $ key ) {
31
31
$ message = preg_replace (
32
- '/(?<=" ' . $ key . '":").*(?=")/mU ' ,
32
+ '/(?<=" ' . $ key. '":").*(?=")/mU ' ,
33
33
config ('http-client-global-logger.obfuscate.replacement ' ),
34
34
$ message
35
35
);
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class PendingRequestMixin
14
14
public function log ()
15
15
{
16
16
/**
17
- * @param string|null $name logger name
17
+ * @param string|null $name logger name
18
18
* @return $this
19
19
*/
20
20
return function (string $ name = null ) {
Original file line number Diff line number Diff line change @@ -53,6 +53,6 @@ public function boot()
53
53
*/
54
54
protected function configFileLocation (): string
55
55
{
56
- return realpath (__DIR__ . '/../../config/http-client-global-logger.php ' );
56
+ return realpath (__DIR__ . '/../../config/http-client-global-logger.php ' );
57
57
}
58
58
}
You can’t perform that action at this time.
0 commit comments