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 44
55- ...
66
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+
712## [ v1.0.1 (2023-02-26)] ( https://github.com/onlime/laravel-http-client-global-logger/compare/v1.0.0...v1.0.1 )
813
914- Drop Laravel 8 / PHP 8.0 support
Original file line number Diff line number Diff line change 2727 ],
2828 "require" : {
2929 "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" ,
3333 "monolog/monolog" : " ^3.0"
3434 },
3535 "require-dev" : {
36- "laravel/framework" : " ^9.0 || ^ 10.0" ,
37- "laravel/pint" : " ^1.5 "
36+ "laravel/framework" : " ^10.0" ,
37+ "laravel/pint" : " ^1.10 "
3838 },
3939 "autoload" : {
4040 "psr-4" : {
Original file line number Diff line number Diff line change 11{
22 "preset" : " laravel" ,
33 "rules" : {
4- "braces" : false ,
54 "blank_line_before_statement" : false ,
6- "class_definition" : false ,
75 "binary_operator_spaces" : false ,
8- "concat_space" : false ,
9- "no_unused_imports" : false ,
106 "phpdoc_separation" : false ,
11- "Laravel/laravel_phpdoc_alignment" : false ,
127 "modernize_strpos" : true
138 },
149 "exclude" : [
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function handle(RequestSending $event)
2929 if ($ obfuscate ) {
3030 foreach (config ('http-client-global-logger.obfuscate.body_keys ' ) as $ key ) {
3131 $ message = preg_replace (
32- '/(?<=" ' . $ key . '":").*(?=")/mU ' ,
32+ '/(?<=" ' . $ key. '":").*(?=")/mU ' ,
3333 config ('http-client-global-logger.obfuscate.replacement ' ),
3434 $ message
3535 );
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class PendingRequestMixin
1414 public function log ()
1515 {
1616 /**
17- * @param string|null $name logger name
17+ * @param string|null $name logger name
1818 * @return $this
1919 */
2020 return function (string $ name = null ) {
Original file line number Diff line number Diff line change @@ -53,6 +53,6 @@ public function boot()
5353 */
5454 protected function configFileLocation (): string
5555 {
56- return realpath (__DIR__ . '/../../config/http-client-global-logger.php ' );
56+ return realpath (__DIR__ . '/../../config/http-client-global-logger.php ' );
5757 }
5858}
You can’t perform that action at this time.
0 commit comments