File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 include :
2020 - php-version : ' 8.2'
2121 composer-flag : ' --prefer-lowest'
22+ main : true
2223 - php-version : ' 8.2'
2324 composer-flag : ' '
2425 - php-version : ' 8.3'
Original file line number Diff line number Diff line change 11# Changelog
22All Notable changes to ` Parser ` will be documented in this file
3- ## 3.0.0 [ Unreleased ]
3+ ## 3.0.0 [ 2025-02-08 ]
44- Minimum required php version is now php 8.2
55
66## 2.0.0 [ 2024-01-11]
Original file line number Diff line number Diff line change 2323 "guzzlehttp/guzzle" : " ^6.3 || ^7.3" ,
2424 "guzzlehttp/psr7" : " ^2.4.5" ,
2525 "psr/http-message" : " ^1.0 || ^2.0" ,
26- "xparse/element-finder" : " ^2.0"
26+ "xparse/element-finder" : " ^2.0 || ^3.0 "
2727 },
2828 "require-dev" : {
2929 "ext-iconv" : " *" ,
Original file line number Diff line number Diff line change 1111 */
1212class ToUtfConverter implements EncodingConverterInterface
1313{
14-
1514 private const EXCLUDED_ENCODINGS = [
1615 "utf-8 " ,
1716 "utf8 " ,
@@ -50,7 +49,7 @@ private function getSupportedEncodings(): array
5049 $ findAliases = function_exists ('mb_encoding_aliases ' );
5150 foreach (mb_list_encodings () as $ encoding ) {
5251 $ encoding = mb_strtolower ($ encoding );
53- if (!in_array ($ encoding , self ::EXCLUDED_ENCODINGS )) {
52+ if (! in_array ($ encoding , self ::EXCLUDED_ENCODINGS )) {
5453 $ this ->supportedEncodings [] = $ encoding ;
5554 if ($ findAliases ) {
5655 foreach (mb_encoding_aliases ($ encoding ) as $ encodingAlias ) {
You can’t perform that action at this time.
0 commit comments