File tree Expand file tree Collapse file tree 5 files changed +11
-7
lines changed Expand file tree Collapse file tree 5 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 20
20
- ' 8.1'
21
21
- ' 8.0'
22
22
- ' 7.4'
23
- - ' 7.3'
24
- - ' 7.2'
25
23
include :
26
24
- php : ' 7.4'
27
25
cs_fixer : true
Original file line number Diff line number Diff line change 9
9
'@PHP71Migration ' => true ,
10
10
'@PHP71Migration:risky ' => true ,
11
11
// 'phpdoc_to_param_type' => true,
12
- 'phpdoc_to_return_type ' => true ,
12
+ // 'phpdoc_to_return_type' => true,
13
13
'phpdoc_types_order ' => false ,
14
14
15
15
// overwrite some Symfony rules
16
- 'braces ' => ['position_after_functions_and_oop_constructs ' => 'same ' ],
16
+ 'braces_position ' => [
17
+ 'functions_opening_brace ' => 'same_line ' ,
18
+ 'classes_opening_brace ' => 'same_line ' ,
19
+ ],
17
20
'function_declaration ' => ['closure_function_spacing ' => 'none ' ],
18
21
'concat_space ' => ['spacing ' => 'one ' ],
19
22
'phpdoc_align ' => false ,
Original file line number Diff line number Diff line change 1
1
# guzzle-transcoder changes
2
2
3
+ ## 0.3.1 – unreleased
4
+ - Raise minimum PHP version to 7.4.0.
5
+
3
6
## 0.3.0 – 2023-03-06
4
7
- Raise minimum PHP version to 7.2.5.
5
8
- Add support for fossar/transcoder 2.0.
Original file line number Diff line number Diff line change 3
3
"description" : " Guzzle plugin that converts responses to UTF-8" ,
4
4
"type" : " library" ,
5
5
"require" : {
6
- "php" : " >=7.2.5 " ,
6
+ "php" : " >=7.4.0 " ,
7
7
"guzzlehttp/guzzle" : " ^6.3 || ^7.0" ,
8
8
"fossar/transcoder" : " ^1.0 || ^2.0" ,
9
9
"guzzlehttp/psr7" : " ^1.7 || ^2.0"
29
29
],
30
30
"config" : {
31
31
"platform" : {
32
- "php" : " 7.2.5 "
32
+ "php" : " 7.4.0 "
33
33
}
34
34
},
35
35
"scripts" : {
Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ public static function joinHttpHeaderWords(array $headerValues): string {
174
174
}
175
175
/** @var array<array<string, ?string>> $headerValues */
176
176
$ spaces = '\\s ' ;
177
- $ ctls = '\\x00- \\x1F \\x7F ' ; //@see http://stackoverflow.com/a/1497928/413531
177
+ $ ctls = '\\x00- \\x1F \\x7F ' ; // @see http://stackoverflow.com/a/1497928/413531
178
178
$ tspecials = '()<>@,;:<>/[ \\]?.=" \\\\' ;
179
179
$ tokenPattern = "#^[^ {$ spaces }{$ ctls }{$ tspecials }]+$# " ;
180
180
$ result = [];
You can’t perform that action at this time.
0 commit comments