File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 19
19
include :
20
20
- php-version : ' 8.2'
21
21
composer-flag : ' --prefer-lowest'
22
+ main : true
22
23
- php-version : ' 8.2'
23
24
composer-flag : ' '
24
25
- php-version : ' 8.3'
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
All Notable changes to ` Parser ` will be documented in this file
3
- ## 3.0.0 [ Unreleased ]
3
+ ## 3.0.0 [ 2025-02-08 ]
4
4
- Minimum required php version is now php 8.2
5
5
6
6
## 2.0.0 [ 2024-01-11]
Original file line number Diff line number Diff line change 23
23
"guzzlehttp/guzzle" : " ^6.3 || ^7.3" ,
24
24
"guzzlehttp/psr7" : " ^2.4.5" ,
25
25
"psr/http-message" : " ^1.0 || ^2.0" ,
26
- "xparse/element-finder" : " ^2.0"
26
+ "xparse/element-finder" : " ^2.0 || ^3.0 "
27
27
},
28
28
"require-dev" : {
29
29
"ext-iconv" : " *" ,
Original file line number Diff line number Diff line change 11
11
*/
12
12
class ToUtfConverter implements EncodingConverterInterface
13
13
{
14
-
15
14
private const EXCLUDED_ENCODINGS = [
16
15
"utf-8 " ,
17
16
"utf8 " ,
@@ -50,7 +49,7 @@ private function getSupportedEncodings(): array
50
49
$ findAliases = function_exists ('mb_encoding_aliases ' );
51
50
foreach (mb_list_encodings () as $ encoding ) {
52
51
$ encoding = mb_strtolower ($ encoding );
53
- if (!in_array ($ encoding , self ::EXCLUDED_ENCODINGS )) {
52
+ if (! in_array ($ encoding , self ::EXCLUDED_ENCODINGS )) {
54
53
$ this ->supportedEncodings [] = $ encoding ;
55
54
if ($ findAliases ) {
56
55
foreach (mb_encoding_aliases ($ encoding ) as $ encodingAlias ) {
You can’t perform that action at this time.
0 commit comments