Plugin Directory

Changeset 3343991


Ignore:
Timestamp:
08/13/2025 07:56:41 AM (8 months ago)
Author:
monbilletch
Message:

tagging version 1.3

Location:
monbillet-embed
Files:
69 edited
5 copied

Legend:

Unmodified
Added
Removed
  • monbillet-embed/tags/1.3/composer.json

    r3325749 r3343991  
    1919        "allow-plugins": {
    2020            "dealerdirect/phpcodesniffer-composer-installer": true
     21        },
     22        "platform": {
     23            "php": "8.1"
    2124        }
    2225    },
     
    2528    },
    2629    "require": {
    27         "php": "^7.2.5||^8.0",
     30        "php": "^8.1",
    2831        "monbillet/api-client": "^1.2.5",
    2932        "twig/twig": "3.11.3",
  • monbillet-embed/tags/1.3/composer.lock

    r3325749 r3343991  
    55        "This file is @generated automatically"
    66    ],
    7     "content-hash": "040cf6de2d853e01b2a30f0650d7bc54",
     7    "content-hash": "12023dc63a6169e51e224dabca4bc236",
    88    "packages": [
    99        {
     
    117117        {
    118118            "name": "symfony/intl",
    119             "version": "v7.2.6",
     119            "version": "v6.4.24",
    120120            "source": {
    121121                "type": "git",
    122122                "url": "https://github.com/symfony/intl.git",
    123                 "reference": "f8a603f978b035d3a1dc23977fc8ae57558177ad"
    124             },
    125             "dist": {
    126                 "type": "zip",
    127                 "url": "https://api.github.com/repos/symfony/intl/zipball/f8a603f978b035d3a1dc23977fc8ae57558177ad",
    128                 "reference": "f8a603f978b035d3a1dc23977fc8ae57558177ad",
    129                 "shasum": ""
    130             },
    131             "require": {
    132                 "php": ">=8.2",
    133                 "symfony/deprecation-contracts": "^2.5|^3"
    134             },
    135             "conflict": {
    136                 "symfony/string": "<7.1"
     123                "reference": "c0938cd29804e65308051a42d1387f0dd57e1eaf"
     124            },
     125            "dist": {
     126                "type": "zip",
     127                "url": "https://api.github.com/repos/symfony/intl/zipball/c0938cd29804e65308051a42d1387f0dd57e1eaf",
     128                "reference": "c0938cd29804e65308051a42d1387f0dd57e1eaf",
     129                "shasum": ""
     130            },
     131            "require": {
     132                "php": ">=8.1"
    137133            },
    138134            "require-dev": {
    139                 "symfony/filesystem": "^6.4|^7.0",
    140                 "symfony/var-exporter": "^6.4|^7.0"
     135                "symfony/filesystem": "^5.4|^6.0|^7.0",
     136                "symfony/finder": "^5.4|^6.0|^7.0",
     137                "symfony/var-exporter": "^5.4|^6.0|^7.0"
    141138            },
    142139            "type": "library",
     
    183180            ],
    184181            "support": {
    185                 "source": "https://github.com/symfony/intl/tree/v7.2.6"
     182                "source": "https://github.com/symfony/intl/tree/v6.4.24"
    186183            },
    187184            "funding": [
     
    195192                },
    196193                {
     194                    "url": "https://github.com/nicolas-grekas",
     195                    "type": "github"
     196                },
     197                {
    197198                    "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
    198199                    "type": "tidelift"
    199200                }
    200201            ],
    201             "time": "2025-04-07T19:09:28+00:00"
     202            "time": "2025-07-10T08:14:14+00:00"
    202203        },
    203204        {
     
    678679        {
    679680            "name": "symfony/string",
    680             "version": "v7.2.6",
     681            "version": "v6.4.24",
    681682            "source": {
    682683                "type": "git",
    683684                "url": "https://github.com/symfony/string.git",
    684                 "reference": "a214fe7d62bd4df2a76447c67c6b26e1d5e74931"
    685             },
    686             "dist": {
    687                 "type": "zip",
    688                 "url": "https://api.github.com/repos/symfony/string/zipball/a214fe7d62bd4df2a76447c67c6b26e1d5e74931",
    689                 "reference": "a214fe7d62bd4df2a76447c67c6b26e1d5e74931",
    690                 "shasum": ""
    691             },
    692             "require": {
    693                 "php": ">=8.2",
     685                "reference": "f0ce0bd36a3accb4a225435be077b4b4875587f4"
     686            },
     687            "dist": {
     688                "type": "zip",
     689                "url": "https://api.github.com/repos/symfony/string/zipball/f0ce0bd36a3accb4a225435be077b4b4875587f4",
     690                "reference": "f0ce0bd36a3accb4a225435be077b4b4875587f4",
     691                "shasum": ""
     692            },
     693            "require": {
     694                "php": ">=8.1",
    694695                "symfony/polyfill-ctype": "~1.8",
    695696                "symfony/polyfill-intl-grapheme": "~1.0",
     
    701702            },
    702703            "require-dev": {
    703                 "symfony/emoji": "^7.1",
    704                 "symfony/error-handler": "^6.4|^7.0",
    705                 "symfony/http-client": "^6.4|^7.0",
    706                 "symfony/intl": "^6.4|^7.0",
     704                "symfony/error-handler": "^5.4|^6.0|^7.0",
     705                "symfony/http-client": "^5.4|^6.0|^7.0",
     706                "symfony/intl": "^6.2|^7.0",
    707707                "symfony/translation-contracts": "^2.5|^3.0",
    708                 "symfony/var-exporter": "^6.4|^7.0"
     708                "symfony/var-exporter": "^5.4|^6.0|^7.0"
    709709            },
    710710            "type": "library",
     
    745745            ],
    746746            "support": {
    747                 "source": "https://github.com/symfony/string/tree/v7.2.6"
     747                "source": "https://github.com/symfony/string/tree/v6.4.24"
    748748            },
    749749            "funding": [
     
    757757                },
    758758                {
     759                    "url": "https://github.com/nicolas-grekas",
     760                    "type": "github"
     761                },
     762                {
    759763                    "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
    760764                    "type": "tidelift"
    761765                }
    762766            ],
    763             "time": "2025-04-20T20:18:16+00:00"
     767            "time": "2025-07-10T08:14:14+00:00"
    764768        },
    765769        {
     
    10561060        {
    10571061            "name": "dealerdirect/phpcodesniffer-composer-installer",
    1058             "version": "v1.0.0",
     1062            "version": "v1.1.2",
    10591063            "source": {
    10601064                "type": "git",
    10611065                "url": "https://github.com/PHPCSStandards/composer-installer.git",
    1062                 "reference": "4be43904336affa5c2f70744a348312336afd0da"
    1063             },
    1064             "dist": {
    1065                 "type": "zip",
    1066                 "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/4be43904336affa5c2f70744a348312336afd0da",
    1067                 "reference": "4be43904336affa5c2f70744a348312336afd0da",
    1068                 "shasum": ""
    1069             },
    1070             "require": {
    1071                 "composer-plugin-api": "^1.0 || ^2.0",
     1066                "reference": "e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1"
     1067            },
     1068            "dist": {
     1069                "type": "zip",
     1070                "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1",
     1071                "reference": "e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1",
     1072                "shasum": ""
     1073            },
     1074            "require": {
     1075                "composer-plugin-api": "^2.2",
    10721076                "php": ">=5.4",
    10731077                "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0"
    10741078            },
    10751079            "require-dev": {
    1076                 "composer/composer": "*",
     1080                "composer/composer": "^2.2",
    10771081                "ext-json": "*",
    10781082                "ext-zip": "*",
    1079                 "php-parallel-lint/php-parallel-lint": "^1.3.1",
     1083                "php-parallel-lint/php-parallel-lint": "^1.4.0",
    10801084                "phpcompatibility/php-compatibility": "^9.0",
    10811085                "yoast/phpunit-polyfills": "^1.0"
     
    10971101                {
    10981102                    "name": "Franck Nijhof",
    1099                     "email": "franck.nijhof@dealerdirect.com",
    1100                     "homepage": "http://www.frenck.nl",
    1101                     "role": "Developer / IT Manager"
     1103                    "email": "opensource@frenck.dev",
     1104                    "homepage": "https://frenck.dev",
     1105                    "role": "Open source developer"
    11021106                },
    11031107                {
     
    11071111            ],
    11081112            "description": "PHP_CodeSniffer Standards Composer Installer Plugin",
    1109             "homepage": "http://www.dealerdirect.com",
    11101113            "keywords": [
    11111114                "PHPCodeSniffer",
     
    11281131            "support": {
    11291132                "issues": "https://github.com/PHPCSStandards/composer-installer/issues",
     1133                "security": "https://github.com/PHPCSStandards/composer-installer/security/policy",
    11301134                "source": "https://github.com/PHPCSStandards/composer-installer"
    11311135            },
    1132             "time": "2023-01-05T11:28:13+00:00"
     1136            "funding": [
     1137                {
     1138                    "url": "https://github.com/PHPCSStandards",
     1139                    "type": "github"
     1140                },
     1141                {
     1142                    "url": "https://github.com/jrfnl",
     1143                    "type": "github"
     1144                },
     1145                {
     1146                    "url": "https://opencollective.com/php_codesniffer",
     1147                    "type": "open_collective"
     1148                },
     1149                {
     1150                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     1151                    "type": "thanks_dev"
     1152                }
     1153            ],
     1154            "time": "2025-07-17T20:45:56+00:00"
    11331155        },
    11341156        {
    11351157            "name": "phpcsstandards/phpcsextra",
    1136             "version": "1.3.0",
     1158            "version": "1.4.0",
    11371159            "source": {
    11381160                "type": "git",
    11391161                "url": "https://github.com/PHPCSStandards/PHPCSExtra.git",
    1140                 "reference": "46d08eb86eec622b96c466adec3063adfed280dd"
    1141             },
    1142             "dist": {
    1143                 "type": "zip",
    1144                 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/46d08eb86eec622b96c466adec3063adfed280dd",
    1145                 "reference": "46d08eb86eec622b96c466adec3063adfed280dd",
     1162                "reference": "fa4b8d051e278072928e32d817456a7fdb57b6ca"
     1163            },
     1164            "dist": {
     1165                "type": "zip",
     1166                "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/fa4b8d051e278072928e32d817456a7fdb57b6ca",
     1167                "reference": "fa4b8d051e278072928e32d817456a7fdb57b6ca",
    11461168                "shasum": ""
    11471169            },
    11481170            "require": {
    11491171                "php": ">=5.4",
    1150                 "phpcsstandards/phpcsutils": "^1.0.9",
    1151                 "squizlabs/php_codesniffer": "^3.12.1"
     1172                "phpcsstandards/phpcsutils": "^1.1.0",
     1173                "squizlabs/php_codesniffer": "^3.13.0 || ^4.0"
    11521174            },
    11531175            "require-dev": {
    11541176                "php-parallel-lint/php-console-highlighter": "^1.0",
    1155                 "php-parallel-lint/php-parallel-lint": "^1.3.2",
     1177                "php-parallel-lint/php-parallel-lint": "^1.4.0",
    11561178                "phpcsstandards/phpcsdevcs": "^1.1.6",
    11571179                "phpcsstandards/phpcsdevtools": "^1.2.1",
    1158                 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
     1180                "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
    11591181            },
    11601182            "type": "phpcodesniffer-standard",
     
    12121234                }
    12131235            ],
    1214             "time": "2025-04-20T23:35:32+00:00"
     1236            "time": "2025-06-14T07:40:39+00:00"
    12151237        },
    12161238        {
    12171239            "name": "phpcsstandards/phpcsutils",
    1218             "version": "1.0.12",
     1240            "version": "1.1.1",
    12191241            "source": {
    12201242                "type": "git",
    12211243                "url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
    1222                 "reference": "87b233b00daf83fb70f40c9a28692be017ea7c6c"
    1223             },
    1224             "dist": {
    1225                 "type": "zip",
    1226                 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/87b233b00daf83fb70f40c9a28692be017ea7c6c",
    1227                 "reference": "87b233b00daf83fb70f40c9a28692be017ea7c6c",
     1244                "reference": "f7eb16f2fa4237d5db9e8fed8050239bee17a9bd"
     1245            },
     1246            "dist": {
     1247                "type": "zip",
     1248                "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/f7eb16f2fa4237d5db9e8fed8050239bee17a9bd",
     1249                "reference": "f7eb16f2fa4237d5db9e8fed8050239bee17a9bd",
    12281250                "shasum": ""
    12291251            },
     
    12311253                "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0",
    12321254                "php": ">=5.4",
    1233                 "squizlabs/php_codesniffer": "^3.10.0 || 4.0.x-dev@dev"
     1255                "squizlabs/php_codesniffer": "^3.13.0 || ^4.0"
    12341256            },
    12351257            "require-dev": {
    12361258                "ext-filter": "*",
    12371259                "php-parallel-lint/php-console-highlighter": "^1.0",
    1238                 "php-parallel-lint/php-parallel-lint": "^1.3.2",
     1260                "php-parallel-lint/php-parallel-lint": "^1.4.0",
    12391261                "phpcsstandards/phpcsdevcs": "^1.1.6",
    1240                 "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0"
     1262                "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 || ^3.0.0"
    12411263            },
    12421264            "type": "phpcodesniffer-standard",
     
    12751297                "phpcs",
    12761298                "phpcs3",
     1299                "phpcs4",
    12771300                "standards",
    12781301                "static analysis",
     
    12981321                    "url": "https://opencollective.com/php_codesniffer",
    12991322                    "type": "open_collective"
    1300                 }
    1301             ],
    1302             "time": "2024-05-20T13:34:27+00:00"
     1323                },
     1324                {
     1325                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     1326                    "type": "thanks_dev"
     1327                }
     1328            ],
     1329            "time": "2025-08-10T01:04:45+00:00"
    13031330        },
    13041331        {
    13051332            "name": "squizlabs/php_codesniffer",
    1306             "version": "3.13.0",
     1333            "version": "3.13.2",
    13071334            "source": {
    13081335                "type": "git",
    13091336                "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
    1310                 "reference": "65ff2489553b83b4597e89c3b8b721487011d186"
    1311             },
    1312             "dist": {
    1313                 "type": "zip",
    1314                 "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/65ff2489553b83b4597e89c3b8b721487011d186",
    1315                 "reference": "65ff2489553b83b4597e89c3b8b721487011d186",
     1337                "reference": "5b5e3821314f947dd040c70f7992a64eac89025c"
     1338            },
     1339            "dist": {
     1340                "type": "zip",
     1341                "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/5b5e3821314f947dd040c70f7992a64eac89025c",
     1342                "reference": "5b5e3821314f947dd040c70f7992a64eac89025c",
    13161343                "shasum": ""
    13171344            },
     
    13841411                }
    13851412            ],
    1386             "time": "2025-05-11T03:36:00+00:00"
     1413            "time": "2025-06-17T22:17:01+00:00"
    13871414        },
    13881415        {
    13891416            "name": "wp-coding-standards/wpcs",
    1390             "version": "3.1.0",
     1417            "version": "3.2.0",
    13911418            "source": {
    13921419                "type": "git",
    13931420                "url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
    1394                 "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7"
    1395             },
    1396             "dist": {
    1397                 "type": "zip",
    1398                 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/9333efcbff231f10dfd9c56bb7b65818b4733ca7",
    1399                 "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7",
     1421                "reference": "d2421de7cec3274ae622c22c744de9a62c7925af"
     1422            },
     1423            "dist": {
     1424                "type": "zip",
     1425                "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/d2421de7cec3274ae622c22c744de9a62c7925af",
     1426                "reference": "d2421de7cec3274ae622c22c744de9a62c7925af",
    14001427                "shasum": ""
    14011428            },
     
    14061433                "ext-xmlreader": "*",
    14071434                "php": ">=5.4",
    1408                 "phpcsstandards/phpcsextra": "^1.2.1",
    1409                 "phpcsstandards/phpcsutils": "^1.0.10",
    1410                 "squizlabs/php_codesniffer": "^3.9.0"
     1435                "phpcsstandards/phpcsextra": "^1.4.0",
     1436                "phpcsstandards/phpcsutils": "^1.1.0",
     1437                "squizlabs/php_codesniffer": "^3.13.0"
    14111438            },
    14121439            "require-dev": {
    14131440                "php-parallel-lint/php-console-highlighter": "^1.0.0",
    1414                 "php-parallel-lint/php-parallel-lint": "^1.3.2",
     1441                "php-parallel-lint/php-parallel-lint": "^1.4.0",
    14151442                "phpcompatibility/php-compatibility": "^9.0",
    14161443                "phpcsstandards/phpcsdevtools": "^1.2.0",
     
    14501477                }
    14511478            ],
    1452             "time": "2024-03-25T16:39:00+00:00"
     1479            "time": "2025-07-24T20:08:31+00:00"
    14531480        }
    14541481    ],
     
    14591486    "prefer-lowest": false,
    14601487    "platform": {
    1461         "php": "^7.2.5||^8.0"
     1488        "php": "^8.1"
    14621489    },
    14631490    "platform-dev": {},
     1491    "platform-overrides": {
     1492        "php": "8.1"
     1493    },
    14641494    "plugin-api-version": "2.6.0"
    14651495}
  • monbillet-embed/tags/1.3/monbillet-embed.php

    r3327536 r3343991  
    77 * Description: Embed events and event-groups data directly in your WordPress.
    88 * Text Domain: monbillet-embed
    9  * Version: 1.2.1
    10  * Requires PHP: 7.2
     9 * Version: 1.3
     10 * Requires PHP: 8.1
    1111 * Requires at least: 4.6
    1212 * License: MIT
  • monbillet-embed/tags/1.3/readme.txt

    r3327536 r3343991  
    11=== Monbillet Embed ===
    2 Stable tag: 1.2.1
    3 Requires PHP: 7.2
     2Stable tag: 1.3
     3Requires PHP: 8.1
    44Tested up to: 6.8
    55Requires at least: 4.6
     
    7272== Changelog ==
    7373
     74= 1.3 - August 13, 2025 =
     75
     76- Change minimal version of PHP to 8.1 and match in composer config
     77
    7478= 1.2.1 - July 14, 2025 =
    7579
  • monbillet-embed/tags/1.3/vendor/composer/autoload_classmap.php

    r3300607 r3343991  
    7979    'Symfony\\Component\\String\\Inflector\\FrenchInflector' => $vendorDir . '/symfony/string/Inflector/FrenchInflector.php',
    8080    'Symfony\\Component\\String\\Inflector\\InflectorInterface' => $vendorDir . '/symfony/string/Inflector/InflectorInterface.php',
    81     'Symfony\\Component\\String\\Inflector\\SpanishInflector' => $vendorDir . '/symfony/string/Inflector/SpanishInflector.php',
    8281    'Symfony\\Component\\String\\LazyString' => $vendorDir . '/symfony/string/LazyString.php',
    8382    'Symfony\\Component\\String\\Slugger\\AsciiSlugger' => $vendorDir . '/symfony/string/Slugger/AsciiSlugger.php',
    8483    'Symfony\\Component\\String\\Slugger\\SluggerInterface' => $vendorDir . '/symfony/string/Slugger/SluggerInterface.php',
    85     'Symfony\\Component\\String\\TruncateMode' => $vendorDir . '/symfony/string/TruncateMode.php',
    8684    'Symfony\\Component\\String\\UnicodeString' => $vendorDir . '/symfony/string/UnicodeString.php',
    8785    'Symfony\\Contracts\\Translation\\LocaleAwareInterface' => $vendorDir . '/symfony/translation-contracts/LocaleAwareInterface.php',
  • monbillet-embed/tags/1.3/vendor/composer/autoload_files.php

    r3300607 r3343991  
    77
    88return array(
    9     '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php',
    109    '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php',
    1110    '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
     11    '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php',
    1212    'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php',
    1313    '23c18046f52bef3eea034657bafda50f' => $vendorDir . '/symfony/polyfill-php81/bootstrap.php',
  • monbillet-embed/tags/1.3/vendor/composer/autoload_static.php

    r3300607 r3343991  
    88{
    99    public static $files = array (
    10         '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php',
    1110        '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
    1211        '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
     12        '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php',
    1313        'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
    1414        '23c18046f52bef3eea034657bafda50f' => __DIR__ . '/..' . '/symfony/polyfill-php81/bootstrap.php',
     
    185185        'Symfony\\Component\\String\\Inflector\\FrenchInflector' => __DIR__ . '/..' . '/symfony/string/Inflector/FrenchInflector.php',
    186186        'Symfony\\Component\\String\\Inflector\\InflectorInterface' => __DIR__ . '/..' . '/symfony/string/Inflector/InflectorInterface.php',
    187         'Symfony\\Component\\String\\Inflector\\SpanishInflector' => __DIR__ . '/..' . '/symfony/string/Inflector/SpanishInflector.php',
    188187        'Symfony\\Component\\String\\LazyString' => __DIR__ . '/..' . '/symfony/string/LazyString.php',
    189188        'Symfony\\Component\\String\\Slugger\\AsciiSlugger' => __DIR__ . '/..' . '/symfony/string/Slugger/AsciiSlugger.php',
    190189        'Symfony\\Component\\String\\Slugger\\SluggerInterface' => __DIR__ . '/..' . '/symfony/string/Slugger/SluggerInterface.php',
    191         'Symfony\\Component\\String\\TruncateMode' => __DIR__ . '/..' . '/symfony/string/TruncateMode.php',
    192190        'Symfony\\Component\\String\\UnicodeString' => __DIR__ . '/..' . '/symfony/string/UnicodeString.php',
    193191        'Symfony\\Contracts\\Translation\\LocaleAwareInterface' => __DIR__ . '/..' . '/symfony/translation-contracts/LocaleAwareInterface.php',
  • monbillet-embed/tags/1.3/vendor/composer/installed.json

    r3325749 r3343991  
    117117        {
    118118            "name": "symfony/intl",
    119             "version": "v7.2.6",
    120             "version_normalized": "7.2.6.0",
     119            "version": "v6.4.24",
     120            "version_normalized": "6.4.24.0",
    121121            "source": {
    122122                "type": "git",
    123123                "url": "https://github.com/symfony/intl.git",
    124                 "reference": "f8a603f978b035d3a1dc23977fc8ae57558177ad"
    125             },
    126             "dist": {
    127                 "type": "zip",
    128                 "url": "https://api.github.com/repos/symfony/intl/zipball/f8a603f978b035d3a1dc23977fc8ae57558177ad",
    129                 "reference": "f8a603f978b035d3a1dc23977fc8ae57558177ad",
    130                 "shasum": ""
    131             },
    132             "require": {
    133                 "php": ">=8.2",
    134                 "symfony/deprecation-contracts": "^2.5|^3"
    135             },
    136             "conflict": {
    137                 "symfony/string": "<7.1"
     124                "reference": "c0938cd29804e65308051a42d1387f0dd57e1eaf"
     125            },
     126            "dist": {
     127                "type": "zip",
     128                "url": "https://api.github.com/repos/symfony/intl/zipball/c0938cd29804e65308051a42d1387f0dd57e1eaf",
     129                "reference": "c0938cd29804e65308051a42d1387f0dd57e1eaf",
     130                "shasum": ""
     131            },
     132            "require": {
     133                "php": ">=8.1"
    138134            },
    139135            "require-dev": {
    140                 "symfony/filesystem": "^6.4|^7.0",
    141                 "symfony/var-exporter": "^6.4|^7.0"
    142             },
    143             "time": "2025-04-07T19:09:28+00:00",
     136                "symfony/filesystem": "^5.4|^6.0|^7.0",
     137                "symfony/finder": "^5.4|^6.0|^7.0",
     138                "symfony/var-exporter": "^5.4|^6.0|^7.0"
     139            },
     140            "time": "2025-07-10T08:14:14+00:00",
    144141            "type": "library",
    145142            "installation-source": "dist",
     
    186183            ],
    187184            "support": {
    188                 "source": "https://github.com/symfony/intl/tree/v7.2.6"
     185                "source": "https://github.com/symfony/intl/tree/v6.4.24"
    189186            },
    190187            "funding": [
     
    195192                {
    196193                    "url": "https://github.com/fabpot",
     194                    "type": "github"
     195                },
     196                {
     197                    "url": "https://github.com/nicolas-grekas",
    197198                    "type": "github"
    198199                },
     
    699700        {
    700701            "name": "symfony/string",
    701             "version": "v7.2.6",
    702             "version_normalized": "7.2.6.0",
     702            "version": "v6.4.24",
     703            "version_normalized": "6.4.24.0",
    703704            "source": {
    704705                "type": "git",
    705706                "url": "https://github.com/symfony/string.git",
    706                 "reference": "a214fe7d62bd4df2a76447c67c6b26e1d5e74931"
    707             },
    708             "dist": {
    709                 "type": "zip",
    710                 "url": "https://api.github.com/repos/symfony/string/zipball/a214fe7d62bd4df2a76447c67c6b26e1d5e74931",
    711                 "reference": "a214fe7d62bd4df2a76447c67c6b26e1d5e74931",
    712                 "shasum": ""
    713             },
    714             "require": {
    715                 "php": ">=8.2",
     707                "reference": "f0ce0bd36a3accb4a225435be077b4b4875587f4"
     708            },
     709            "dist": {
     710                "type": "zip",
     711                "url": "https://api.github.com/repos/symfony/string/zipball/f0ce0bd36a3accb4a225435be077b4b4875587f4",
     712                "reference": "f0ce0bd36a3accb4a225435be077b4b4875587f4",
     713                "shasum": ""
     714            },
     715            "require": {
     716                "php": ">=8.1",
    716717                "symfony/polyfill-ctype": "~1.8",
    717718                "symfony/polyfill-intl-grapheme": "~1.0",
     
    723724            },
    724725            "require-dev": {
    725                 "symfony/emoji": "^7.1",
    726                 "symfony/error-handler": "^6.4|^7.0",
    727                 "symfony/http-client": "^6.4|^7.0",
    728                 "symfony/intl": "^6.4|^7.0",
     726                "symfony/error-handler": "^5.4|^6.0|^7.0",
     727                "symfony/http-client": "^5.4|^6.0|^7.0",
     728                "symfony/intl": "^6.2|^7.0",
    729729                "symfony/translation-contracts": "^2.5|^3.0",
    730                 "symfony/var-exporter": "^6.4|^7.0"
    731             },
    732             "time": "2025-04-20T20:18:16+00:00",
     730                "symfony/var-exporter": "^5.4|^6.0|^7.0"
     731            },
     732            "time": "2025-07-10T08:14:14+00:00",
    733733            "type": "library",
    734734            "installation-source": "dist",
     
    769769            ],
    770770            "support": {
    771                 "source": "https://github.com/symfony/string/tree/v7.2.6"
     771                "source": "https://github.com/symfony/string/tree/v6.4.24"
    772772            },
    773773            "funding": [
     
    778778                {
    779779                    "url": "https://github.com/fabpot",
     780                    "type": "github"
     781                },
     782                {
     783                    "url": "https://github.com/nicolas-grekas",
    780784                    "type": "github"
    781785                },
  • monbillet-embed/tags/1.3/vendor/composer/installed.php

    r3327536 r3343991  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '4267557b6c1950a1a892df996d987765fcb20978',
     6        'reference' => '3772a238b264d15591f315e475d598277591f6eb',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    2323            'pretty_version' => 'dev-main',
    2424            'version' => 'dev-main',
    25             'reference' => '4267557b6c1950a1a892df996d987765fcb20978',
     25            'reference' => '3772a238b264d15591f315e475d598277591f6eb',
    2626            'type' => 'library',
    2727            'install_path' => __DIR__ . '/../../',
     
    3939        ),
    4040        'symfony/intl' => array(
    41             'pretty_version' => 'v7.2.6',
    42             'version' => '7.2.6.0',
    43             'reference' => 'f8a603f978b035d3a1dc23977fc8ae57558177ad',
     41            'pretty_version' => 'v6.4.24',
     42            'version' => '6.4.24.0',
     43            'reference' => 'c0938cd29804e65308051a42d1387f0dd57e1eaf',
    4444            'type' => 'library',
    4545            'install_path' => __DIR__ . '/../symfony/intl',
     
    102102        ),
    103103        'symfony/string' => array(
    104             'pretty_version' => 'v7.2.6',
    105             'version' => '7.2.6.0',
    106             'reference' => 'a214fe7d62bd4df2a76447c67c6b26e1d5e74931',
     104            'pretty_version' => 'v6.4.24',
     105            'version' => '6.4.24.0',
     106            'reference' => 'f0ce0bd36a3accb4a225435be077b4b4875587f4',
    107107            'type' => 'library',
    108108            'install_path' => __DIR__ . '/../symfony/string',
  • monbillet-embed/tags/1.3/vendor/composer/platform_check.php

    r3300607 r3343991  
    55$issues = array();
    66
    7 if (!(PHP_VERSION_ID >= 80200)) {
    8     $issues[] = 'Your Composer dependencies require a PHP version ">= 8.2.0". You are running ' . PHP_VERSION . '.';
     7if (!(PHP_VERSION_ID >= 80100)) {
     8    $issues[] = 'Your Composer dependencies require a PHP version ">= 8.1.0". You are running ' . PHP_VERSION . '.';
    99}
    1010
  • monbillet-embed/tags/1.3/vendor/symfony/intl/CHANGELOG.md

    r3300607 r3343991  
    11CHANGELOG
    22=========
    3 
    4 7.1
    5 ---
    6 
    7  * Move all emoji code & data to a new `symfony/emoji` component
    8  * Deprecate `EmojiTransliterator` in favor of `Symfony\Component\Emoji\EmojiTransliterator`
    93
    1046.4
    115---
    126
    13  * Add support for ISO-3166-1 numeric codes with `Countries::getNumericCode()`, `Countries::getNumericCodes()`,
     7 * Add support for ISO-3166-1 numeric codes with `Countries::getNumericCode()`, `Countries::getNumericCodes()`, 
    148   `Countries::numericCodeExists()` and `Countries::getAlpha2FromNumeric()`
    159
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Data/Bundle/Compiler/BundleCompilerInterface.php

    r3300607 r3343991  
    2424     * Compiles a resource bundle at the given source to the given target
    2525     * directory.
     26     *
     27     * @return void
    2628     */
    27     public function compile(string $sourcePath, string $targetDir): void;
     29    public function compile(string $sourcePath, string $targetDir);
    2830}
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Data/Bundle/Reader/BufferedBundleReader.php

    r3300607 r3343991  
    2121class BufferedBundleReader implements BundleReaderInterface
    2222{
     23    private BundleReaderInterface $reader;
    2324    /** @var RingBuffer<string, mixed> */
    2425    private RingBuffer $buffer;
    2526
    26     public function __construct(
    27         private BundleReaderInterface $reader,
    28         int $bufferSize,
    29     ) {
     27    public function __construct(BundleReaderInterface $reader, int $bufferSize)
     28    {
     29        $this->reader = $reader;
    3030        $this->buffer = new RingBuffer($bufferSize);
    3131    }
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Data/Bundle/Reader/BundleEntryReader.php

    r3300607 r3343991  
    2929class BundleEntryReader implements BundleEntryReaderInterface
    3030{
     31    private BundleReaderInterface $reader;
     32
    3133    /**
    3234     * A mapping of locale aliases to locales.
     
    3739     * Creates an entry reader based on the given resource bundle reader.
    3840     */
    39     public function __construct(
    40         private BundleReaderInterface $reader,
    41     ) {
     41    public function __construct(BundleReaderInterface $reader)
     42    {
     43        $this->reader = $reader;
    4244    }
    4345
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Data/Bundle/Writer/BundleWriterInterface.php

    r3300607 r3343991  
    2121interface BundleWriterInterface
    2222{
    23     public function write(string $path, string $locale, mixed $data): void;
     23    /**
     24     * @return void
     25     */
     26    public function write(string $path, string $locale, mixed $data);
    2427}
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Data/Generator/AbstractDataGenerator.php

    r3300607 r3343991  
    2828abstract class AbstractDataGenerator
    2929{
    30     public function __construct(
    31         private BundleCompilerInterface $compiler,
    32         private string $dirName,
    33     ) {
     30    private BundleCompilerInterface $compiler;
     31    private string $dirName;
     32
     33    public function __construct(BundleCompilerInterface $compiler, string $dirName)
     34    {
     35        $this->compiler = $compiler;
     36        $this->dirName = $dirName;
    3437    }
    3538
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Data/Generator/CurrencyDataGenerator.php

    r3300607 r3343991  
    116116
    117117        // Remove unwanted currencies
    118         return array_diff_key($symbolNamePairs, self::DENYLIST);
     118        $symbolNamePairs = array_diff_key($symbolNamePairs, self::DENYLIST);
     119
     120        return $symbolNamePairs;
    119121    }
    120122
     
    133135
    134136        // Filter unknown currencies (e.g. "AYM")
    135         return array_intersect_key($alpha3ToNumericMapping, array_flip($currencyCodes));
     137        $alpha3ToNumericMapping = array_intersect_key($alpha3ToNumericMapping, array_flip($currencyCodes));
     138
     139        return $alpha3ToNumericMapping;
    136140    }
    137141
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Data/Generator/GeneratorConfig.php

    r3300607 r3343991  
    2323class GeneratorConfig
    2424{
     25    private string $sourceDir;
     26    private string $icuVersion;
     27
    2528    /**
    2629     * @var BundleWriterInterface[]
     
    2831    private array $bundleWriters = [];
    2932
    30     public function __construct(
    31         private string $sourceDir,
    32         private string $icuVersion,
    33     ) {
     33    public function __construct(string $sourceDir, string $icuVersion)
     34    {
     35        $this->sourceDir = $sourceDir;
     36        $this->icuVersion = $icuVersion;
    3437    }
    3538
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Data/Generator/RegionDataGenerator.php

    r3300607 r3343991  
    161161        asort($alpha3ToAlpha2);
    162162
    163         $alpha2ToNumeric = $this->generateAlpha2ToNumericMapping($metadataBundle);
     163        $alpha2ToNumeric = $this->generateAlpha2ToNumericMapping(array_flip($this->regionCodes), $metadataBundle);
    164164        $numericToAlpha2 = [];
    165165        foreach ($alpha2ToNumeric as $alpha2 => $numeric) {
     
    232232    }
    233233
    234     private function generateAlpha2ToNumericMapping(ArrayAccessibleResourceBundle $metadataBundle): array
     234    private function generateAlpha2ToNumericMapping(array $countries, ArrayAccessibleResourceBundle $metadataBundle): array
    235235    {
    236236        $aliases = iterator_to_array($metadataBundle['alias']['territory']);
     
    243243            }
    244244
    245             if (\in_array($alias, self::WITHDRAWN_CODES, true)) {
     245            if (\in_array($alias, self::WITHDRAWN_CODES)) {
    246246                continue;
    247247            }
     
    251251            }
    252252
     253            if (!isset($countries[$data['replacement']])) {
     254                continue;
     255            }
     256
    253257            if ('deprecated' === $data['reason']) {
    254258                continue;
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Data/Generator/TimezoneDataGenerator.php

    r3300607 r3343991  
    1818use Symfony\Component\Intl\Data\Util\LocaleScanner;
    1919use Symfony\Component\Intl\Exception\MissingResourceException;
     20use Symfony\Component\Intl\Locale;
    2021
    2122/**
     
    121122    protected function generateDataForMeta(BundleEntryReaderInterface $reader, string $tempDir): ?array
    122123    {
     124        $rootBundle = $reader->read($tempDir, 'root');
     125
    123126        $this->zoneIds = array_unique($this->zoneIds);
    124127
     
    126129        ksort($this->zoneToCountryMapping);
    127130
    128         return [
     131        $data = [
    129132            'Zones' => $this->zoneIds,
    130133            'ZoneToCountry' => $this->zoneToCountryMapping,
    131134            'CountryToZone' => self::generateCountryToZoneMapping($this->zoneToCountryMapping),
    132135        ];
     136
     137        return $data;
    133138    }
    134139
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Data/Util/ArrayAccessibleResourceBundle.php

    r3300607 r3343991  
    2626class ArrayAccessibleResourceBundle implements \ArrayAccess, \IteratorAggregate, \Countable
    2727{
    28     public function __construct(
    29         private \ResourceBundle $bundleImpl,
    30     ) {
     28    private \ResourceBundle $bundleImpl;
     29
     30    public function __construct(\ResourceBundle $bundleImpl)
     31    {
     32        $this->bundleImpl = $bundleImpl;
    3133    }
    3234
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Data/Util/RingBuffer.php

    r3300607 r3343991  
    3737    private array $indices = [];
    3838    private int $cursor = 0;
     39    private int $size;
    3940
    40     public function __construct(
    41         private int $size,
    42     ) {
     41    public function __construct(int $size)
     42    {
     43        $this->size = $size;
    4344    }
    4445
  • monbillet-embed/tags/1.3/vendor/symfony/intl/README.md

    r3300607 r3343991  
    33
    44The Intl component provides access to the localization data of the ICU library.
    5 
    6 If you have the zlib extension enabled, you can compress the data by running:
    7 
    8     php vendor/symfony/intl/Resources/bin/compress
    95
    106Resources
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Resources/data/regions/meta.php

    r3300607 r3343991  
    756756    ],
    757757    'Alpha2ToNumeric' => [
    758         'AA' => '958',
    759758        'AD' => '020',
    760759        'AE' => '784',
     
    944943        'PY' => '600',
    945944        'QA' => '634',
    946         'QM' => '959',
    947         'QN' => '960',
    948         'QP' => '962',
    949         'QQ' => '963',
    950         'QR' => '964',
    951         'QS' => '965',
    952         'QT' => '966',
    953         'QV' => '968',
    954         'QW' => '969',
    955         'QX' => '970',
    956         'QY' => '971',
    957         'QZ' => '972',
    958945        'RE' => '638',
    959946        'RO' => '642',
     
    10131000        'WF' => '876',
    10141001        'WS' => '882',
    1015         'XC' => '975',
    1016         'XD' => '976',
    1017         'XE' => '977',
    1018         'XF' => '978',
    1019         'XG' => '979',
    1020         'XH' => '980',
    1021         'XI' => '981',
    1022         'XJ' => '982',
    1023         'XL' => '984',
    1024         'XM' => '985',
    1025         'XN' => '986',
    1026         'XO' => '987',
    1027         'XP' => '988',
    1028         'XQ' => '989',
    1029         'XR' => '990',
    1030         'XS' => '991',
    1031         'XT' => '992',
    1032         'XU' => '993',
    1033         'XV' => '994',
    1034         'XW' => '995',
    1035         'XX' => '996',
    1036         'XY' => '997',
    1037         'XZ' => '998',
    10381002        'YE' => '887',
    10391003        'YT' => '175',
     
    10431007    ],
    10441008    'NumericToAlpha2' => [
    1045         '_958' => 'AA',
    10461009        '_020' => 'AD',
    10471010        '_784' => 'AE',
     
    12311194        '_600' => 'PY',
    12321195        '_634' => 'QA',
    1233         '_959' => 'QM',
    1234         '_960' => 'QN',
    1235         '_962' => 'QP',
    1236         '_963' => 'QQ',
    1237         '_964' => 'QR',
    1238         '_965' => 'QS',
    1239         '_966' => 'QT',
    1240         '_968' => 'QV',
    1241         '_969' => 'QW',
    1242         '_970' => 'QX',
    1243         '_971' => 'QY',
    1244         '_972' => 'QZ',
    12451196        '_638' => 'RE',
    12461197        '_642' => 'RO',
     
    13001251        '_876' => 'WF',
    13011252        '_882' => 'WS',
    1302         '_975' => 'XC',
    1303         '_976' => 'XD',
    1304         '_977' => 'XE',
    1305         '_978' => 'XF',
    1306         '_979' => 'XG',
    1307         '_980' => 'XH',
    1308         '_981' => 'XI',
    1309         '_982' => 'XJ',
    1310         '_984' => 'XL',
    1311         '_985' => 'XM',
    1312         '_986' => 'XN',
    1313         '_987' => 'XO',
    1314         '_988' => 'XP',
    1315         '_989' => 'XQ',
    1316         '_990' => 'XR',
    1317         '_991' => 'XS',
    1318         '_992' => 'XT',
    1319         '_993' => 'XU',
    1320         '_994' => 'XV',
    1321         '_995' => 'XW',
    1322         '_996' => 'XX',
    1323         '_997' => 'XY',
    1324         '_998' => 'XZ',
    13251253        '_887' => 'YE',
    13261254        '_175' => 'YT',
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Transliterator/EmojiTransliterator.php

    r3300607 r3343991  
    1212namespace Symfony\Component\Intl\Transliterator;
    1313
    14 use Symfony\Component\Emoji\EmojiTransliterator as EmojiEmojiTransliterator;
     14use Symfony\Component\Intl\Util\GzipStreamWrapper;
    1515
    16 trigger_deprecation('symfony/intl', '7.1', 'The "%s" class is deprecated, use "%s" instead.', EmojiTransliterator::class, EmojiEmojiTransliterator::class);
     16if (!class_exists(\Transliterator::class)) {
     17    throw new \LogicException(\sprintf('You cannot use the "%s\EmojiTransliterator" class as the "intl" extension is not installed. See https://php.net/intl.', __NAMESPACE__));
     18} else {
     19    /**
     20     * @internal
     21     */
     22    trait EmojiTransliteratorTrait
     23    {
     24        private array $map;
     25        private \Transliterator $transliterator;
    1726
    18 if (!class_exists(EmojiEmojiTransliterator::class)) {
    19     throw new \LogicException(\sprintf('You cannot use the "%s" if the Emoji component is not available. Try running "composer require symfony/emoji".', EmojiEmojiTransliterator::class));
     27        public static function create(string $id, int $direction = self::FORWARD): self
     28        {
     29            $id = strtolower($id);
     30
     31            if (!isset(self::REVERSEABLE_IDS[$id]) && !str_starts_with($id, 'emoji-')) {
     32                $id = 'emoji-'.$id;
     33            }
     34
     35            if (self::REVERSE === $direction) {
     36                if (!isset(self::REVERSEABLE_IDS[$id])) {
     37                    // Create a failing reverse-transliterator to populate intl_get_error_*()
     38                    \Transliterator::createFromRules('A > B')->createInverse();
     39
     40                    throw new \IntlException(intl_get_error_message(), intl_get_error_code());
     41                }
     42                $id = self::REVERSEABLE_IDS[$id];
     43            }
     44
     45            $file = \dirname(__DIR__)."/Resources/data/transliterator/emoji/{$id}.php";
     46            if (!preg_match('/^[a-z0-9@_\\.\\-]*$/', $id) || !is_file($file) && !is_file($file .= '.gz')) {
     47                \Transliterator::create($id); // Populate intl_get_error_*()
     48
     49                throw new \IntlException(intl_get_error_message(), intl_get_error_code());
     50            }
     51
     52            static $maps;
     53
     54            // Create an instance of \Transliterator with a custom id; that's the only way
     55            if (\PHP_VERSION_ID >= 80200) {
     56                static $newInstance;
     57                $instance = ($newInstance ??= (new \ReflectionClass(self::class))->newInstanceWithoutConstructor(...))();
     58                $instance->id = $id;
     59            } else {
     60                $instance = unserialize(\sprintf('O:%d:"%s":1:{s:2:"id";s:%d:"%s";}', \strlen(self::class), self::class, \strlen($id), $id));
     61            }
     62
     63            $instance->map = $maps[$id] ??= str_ends_with($file, '.gz') ? GzipStreamWrapper::require($file) : require $file;
     64
     65            return $instance;
     66        }
     67
     68        public function createInverse(): self
     69        {
     70            return self::create($this->id, self::REVERSE);
     71        }
     72
     73        /**
     74         * @return int
     75         */
     76        #[\ReturnTypeWillChange]
     77        public function getErrorCode(): int|false
     78        {
     79            return isset($this->transliterator) ? $this->transliterator->getErrorCode() : 0;
     80        }
     81
     82        /**
     83         * @return string
     84         */
     85        #[\ReturnTypeWillChange]
     86        public function getErrorMessage(): string|false
     87        {
     88            return isset($this->transliterator) ? $this->transliterator->getErrorMessage() : '';
     89        }
     90
     91        public static function listIDs(): array
     92        {
     93            static $ids = [];
     94
     95            if ($ids) {
     96                return $ids;
     97            }
     98
     99            foreach (scandir(\dirname(__DIR__).'/Resources/data/transliterator/emoji/') as $file) {
     100                if (str_ends_with($file, '.php.gz')) {
     101                    $ids[] = substr($file, 0, -7);
     102                } elseif (str_ends_with($file, '.php')) {
     103                    $ids[] = substr($file, 0, -4);
     104                }
     105            }
     106
     107            return $ids;
     108        }
     109
     110        public function transliterate(string $string, int $start = 0, int $end = -1): string|false
     111        {
     112            $quickCheck = ':' === array_key_first($this->map)[0] ? ':' : self::QUICK_CHECK;
     113
     114            if (0 === $start && -1 === $end && preg_match('//u', $string)) {
     115                return \strlen($string) === strcspn($string, $quickCheck) ? $string : strtr($string, $this->map);
     116            }
     117
     118            // Here we rely on intl to validate the $string, $start and $end arguments
     119            // and to slice the string. Slicing is done by replacing the part if $string
     120            // between $start and $end by a unique cookie that can be reliably used to
     121            // identify which part of $string should be transliterated.
     122
     123            static $cookie;
     124            static $transliterator;
     125
     126            $cookie ??= hash('xxh128', random_bytes(8));
     127            $this->transliterator ??= clone $transliterator ??= \Transliterator::createFromRules('[:any:]* > '.$cookie);
     128
     129            if (false === $result = $this->transliterator->transliterate($string, $start, $end)) {
     130                return false;
     131            }
     132
     133            $parts = explode($cookie, $result);
     134            $start = \strlen($parts[0]);
     135            $length = -\strlen($parts[1]) ?: null;
     136            $string = substr($string, $start, $length);
     137
     138            return $parts[0].(\strlen($string) === strcspn($string, $quickCheck) ? $string : strtr($string, $this->map)).$parts[1];
     139        }
     140    }
    20141}
    21142
    22 class_alias(EmojiEmojiTransliterator::class, EmojiTransliterator::class);
     143if (\PHP_VERSION_ID >= 80200) {
     144    final class EmojiTransliterator extends \Transliterator
     145    {
     146        use EmojiTransliteratorTrait;
    23147
    24 if (false) {
    25     /**
    26      * @deprecated since Symfony 7.1, use Symfony\Component\Emoji\EmojiTransliterator instead
    27      */
    28     class EmojiTransliterator extends \Transliterator
     148        private const QUICK_CHECK = "\xA9\xAE\xE2\xE3\xF0";
     149        private const REVERSEABLE_IDS = [
     150            'emoji-github' => 'github-emoji',
     151            'emoji-slack' => 'slack-emoji',
     152            'github-emoji' => 'emoji-github',
     153            'slack-emoji' => 'emoji-slack',
     154        ];
     155
     156        public readonly string $id;
     157    }
     158} else {
     159    final class EmojiTransliterator extends \Transliterator
    29160    {
     161        use EmojiTransliteratorTrait;
     162
     163        private const QUICK_CHECK = "\xA9\xAE\xE2\xE3\xF0";
     164        private const REVERSEABLE_IDS = [
     165            'emoji-github' => 'github-emoji',
     166            'emoji-slack' => 'slack-emoji',
     167            'github-emoji' => 'emoji-github',
     168            'slack-emoji' => 'emoji-slack',
     169        ];
    30170    }
    31171}
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Util/GitRepository.php

    r3300607 r3343991  
    2020final class GitRepository
    2121{
    22     public function __construct(
    23         private string $path,
    24     ) {
     22    private string $path;
     23
     24    public function __construct(string $path)
     25    {
     26        $this->path = $path;
     27
    2528        $this->getUrl();
    2629    }
  • monbillet-embed/tags/1.3/vendor/symfony/intl/Util/IntlTestHelper.php

    r3300607 r3343991  
    3030    /**
    3131     * Should be called before tests that work fine with the stub implementation.
     32     *
     33     * @return void
    3234     */
    33     public static function requireIntl(TestCase $testCase, ?string $minimumIcuVersion = null): void
     35    public static function requireIntl(TestCase $testCase, ?string $minimumIcuVersion = null)
    3436    {
    3537        $minimumIcuVersion ??= Intl::getIcuStubVersion();
     
    6264     * Should be called before tests that require a feature-complete intl
    6365     * implementation.
     66     *
     67     * @return void
    6468     */
    65     public static function requireFullIntl(TestCase $testCase, ?string $minimumIcuVersion = null): void
     69    public static function requireFullIntl(TestCase $testCase, ?string $minimumIcuVersion = null)
    6670    {
    6771        // We only run tests if the intl extension is loaded...
     
    8286    /**
    8387     * Skips the test unless the current system has a 32bit architecture.
     88     *
     89     * @return void
    8490     */
    85     public static function require32Bit(TestCase $testCase): void
     91    public static function require32Bit(TestCase $testCase)
    8692    {
    8793        if (4 !== \PHP_INT_SIZE) {
     
    9298    /**
    9399     * Skips the test unless the current system has a 64bit architecture.
     100     *
     101     * @return void
    94102     */
    95     public static function require64Bit(TestCase $testCase): void
     103    public static function require64Bit(TestCase $testCase)
    96104    {
    97105        if (8 !== \PHP_INT_SIZE) {
  • monbillet-embed/tags/1.3/vendor/symfony/intl/composer.json

    r3300607 r3343991  
    2525    ],
    2626    "require": {
    27         "php": ">=8.2",
    28         "symfony/deprecation-contracts": "^2.5|^3"
     27        "php": ">=8.1"
    2928    },
    3029    "require-dev": {
    31         "symfony/filesystem": "^6.4|^7.0",
    32         "symfony/var-exporter": "^6.4|^7.0"
    33     },
    34     "conflict": {
    35         "symfony/string": "<7.1"
     30        "symfony/filesystem": "^5.4|^6.0|^7.0",
     31        "symfony/finder": "^5.4|^6.0|^7.0",
     32        "symfony/var-exporter": "^5.4|^6.0|^7.0"
    3633    },
    3734    "autoload": {
  • monbillet-embed/tags/1.3/vendor/symfony/string/AbstractString.php

    r3300607 r3343991  
    4040    public const PREG_SPLIT_OFFSET_CAPTURE = \PREG_SPLIT_OFFSET_CAPTURE;
    4141
    42     protected string $string = '';
    43     protected ?bool $ignoreCase = false;
     42    protected $string = '';
     43    protected $ignoreCase = false;
    4444
    4545    abstract public function __construct(string $string = '');
     
    434434    abstract public function snake(): static;
    435435
    436     public function kebab(): static
    437     {
    438         return $this->snake()->replace('_', '-');
    439     }
    440 
    441436    abstract public function splice(string $replacement, int $start = 0, ?int $length = null): static;
    442437
     
    611606    }
    612607
    613     public function truncate(int $length, string $ellipsis = '', bool|TruncateMode $cut = TruncateMode::Char): static
     608    public function truncate(int $length, string $ellipsis = '', bool $cut = true): static
    614609    {
    615610        $stringLength = $this->length();
     
    625620        }
    626621
    627         $desiredLength = $length;
    628         if (TruncateMode::WordAfter === $cut || !$cut) {
     622        if (!$cut) {
    629623            if (null === $length = $this->indexOf([' ', "\r", "\n", "\t"], ($length ?: 1) - 1)) {
    630624                return clone $this;
     
    632626
    633627            $length += $ellipsisLength;
    634         } elseif (TruncateMode::WordBefore === $cut && null !== $this->indexOf([' ', "\r", "\n", "\t"], ($length ?: 1) - 1)) {
    635             $length += $ellipsisLength;
    636628        }
    637629
    638630        $str = $this->slice(0, $length - $ellipsisLength);
    639 
    640         if (TruncateMode::WordBefore === $cut) {
    641             if (0 === $ellipsisLength && $desiredLength === $this->indexOf([' ', "\r", "\n", "\t"], $length)) {
    642                 return $str;
    643             }
    644 
    645             $str = $str->beforeLast([' ', "\r", "\n", "\t"]);
    646         }
    647631
    648632        return $ellipsisLength ? $str->trimEnd()->append($ellipsis) : $str;
  • monbillet-embed/tags/1.3/vendor/symfony/string/AbstractUnicodeString.php

    r3300607 r3343991  
    227227    }
    228228
    229     /**
    230      * @param string $locale In the format language_region (e.g. tr_TR)
    231      */
    232     public function localeLower(string $locale): static
    233     {
    234         if (null !== $transliterator = $this->getLocaleTransliterator($locale, 'Lower')) {
    235             $str = clone $this;
    236             $str->string = $transliterator->transliterate($str->string);
    237 
    238             return $str;
    239         }
    240 
    241         return $this->lower();
    242     }
    243 
    244229    public function match(string $regexp, int $flags = 0, int $offset = 0): array
    245230    {
     
    385370    }
    386371
    387     /**
    388      * @param string $locale In the format language_region (e.g. tr_TR)
    389      */
    390     public function localeTitle(string $locale): static
    391     {
    392         if (null !== $transliterator = $this->getLocaleTransliterator($locale, 'Title')) {
    393             $str = clone $this;
    394             $str->string = $transliterator->transliterate($str->string);
    395 
    396             return $str;
    397         }
    398 
    399         return $this->title();
    400     }
    401 
    402372    public function trim(string $chars = " \t\n\r\0\x0B\x0C\u{A0}\u{FEFF}"): static
    403373    {
     
    485455
    486456        return $str;
    487     }
    488 
    489     /**
    490      * @param string $locale In the format language_region (e.g. tr_TR)
    491      */
    492     public function localeUpper(string $locale): static
    493     {
    494         if (null !== $transliterator = $this->getLocaleTransliterator($locale, 'Upper')) {
    495             $str = clone $this;
    496             $str->string = $transliterator->transliterate($str->string);
    497 
    498             return $str;
    499         }
    500 
    501         return $this->upper();
    502457    }
    503458
     
    639594        return $width;
    640595    }
    641 
    642     private function getLocaleTransliterator(string $locale, string $id): ?\Transliterator
    643     {
    644         $rule = $locale.'-'.$id;
    645         if (\array_key_exists($rule, self::$transliterators)) {
    646             return self::$transliterators[$rule];
    647         }
    648 
    649         if (null !== $transliterator = self::$transliterators[$rule] = \Transliterator::create($rule)) {
    650             return $transliterator;
    651         }
    652 
    653         // Try to find a parent locale (nl_BE -> nl)
    654         if (false === $i = strpos($locale, '_')) {
    655             return null;
    656         }
    657 
    658         $parentRule = substr_replace($locale, '-'.$id, $i);
    659 
    660         // Parent locale was already cached, return and store as current locale
    661         if (\array_key_exists($parentRule, self::$transliterators)) {
    662             return self::$transliterators[$rule] = self::$transliterators[$parentRule];
    663         }
    664 
    665         // Create transliterator based on parent locale and cache the result on both initial and parent locale values
    666         $transliterator = \Transliterator::create($parentRule);
    667 
    668         return self::$transliterators[$rule] = self::$transliterators[$parentRule] = $transliterator;
    669     }
    670596}
  • monbillet-embed/tags/1.3/vendor/symfony/string/ByteString.php

    r3300607 r3343991  
    1212namespace Symfony\Component\String;
    1313
    14 use Random\Randomizer;
    1514use Symfony\Component\String\Exception\ExceptionInterface;
    1615use Symfony\Component\String\Exception\InvalidArgumentException;
     
    5554        if ($bits <= 0 || $bits > 56) {
    5655            throw new InvalidArgumentException('The length of the alphabet must in the [2^1, 2^56] range.');
    57         }
    58 
    59         if (\PHP_VERSION_ID >= 80300) {
    60             return new static((new Randomizer())->getBytesFromString($alphabet, $length));
    6156        }
    6257
     
    341336    {
    342337        $str = clone $this;
    343         $str->string = substr($this->string, $start, $length ?? \PHP_INT_MAX);
     338        $str->string = (string) substr($this->string, $start, $length ?? \PHP_INT_MAX);
    344339
    345340        return $str;
  • monbillet-embed/tags/1.3/vendor/symfony/string/CHANGELOG.md

    r3300607 r3343991  
    11CHANGELOG
    22=========
    3 
    4 7.2
    5 ---
    6 
    7  * Add `TruncateMode` enum to handle more truncate methods
    8  * Add the `AbstractString::kebab()` method
    9 
    10 7.1
    11 ---
    12 
    13  * Add `localeLower()`, `localeUpper()`, `localeTitle()` methods to `AbstractUnicodeString`
    143
    1546.2
  • monbillet-embed/tags/1.3/vendor/symfony/string/LazyString.php

    r3300607 r3343991  
    130130            $r = new \ReflectionFunction($callback);
    131131
    132             if ($r->isAnonymous() || !$class = $r->getClosureCalledClass()) {
     132            if (str_contains($r->name, '{closure') || !$class = \PHP_VERSION_ID >= 80111 ? $r->getClosureCalledClass() : $r->getClosureScopeClass()) {
    133133                return $r->name;
    134134            }
  • monbillet-embed/tags/1.3/vendor/symfony/string/Slugger/AsciiSlugger.php

    r3300607 r3343991  
    1212namespace Symfony\Component\String\Slugger;
    1313
    14 use Symfony\Component\Emoji\EmojiTransliterator;
     14use Symfony\Component\Intl\Transliterator\EmojiTransliterator;
    1515use Symfony\Component\String\AbstractUnicodeString;
    1616use Symfony\Component\String\UnicodeString;
     
    5656    ];
    5757
     58    private ?string $defaultLocale;
    5859    private \Closure|array $symbolsMap = [
    5960        'en' => ['@' => 'at', '&' => 'and'],
     
    6869    private array $transliterators = [];
    6970
    70     public function __construct(
    71         private ?string $defaultLocale = null,
    72         array|\Closure|null $symbolsMap = null,
    73     ) {
     71    public function __construct(?string $defaultLocale = null, array|\Closure|null $symbolsMap = null)
     72    {
     73        $this->defaultLocale = $defaultLocale;
    7474        $this->symbolsMap = $symbolsMap ?? $this->symbolsMap;
    7575    }
    7676
    77     public function setLocale(string $locale): void
     77    /**
     78     * @return void
     79     */
     80    public function setLocale(string $locale)
    7881    {
    7982        $this->defaultLocale = $locale;
     
    9396    {
    9497        if (false !== $emoji && !class_exists(EmojiTransliterator::class)) {
    95             throw new \LogicException(\sprintf('You cannot use the "%s()" method as the "symfony/emoji" package is not installed. Try running "composer require symfony/emoji".', __METHOD__));
     98            throw new \LogicException(\sprintf('You cannot use the "%s()" method as the "symfony/intl" package is not installed. Try running "composer require symfony/intl".', __METHOD__));
    9699        }
    97100
  • monbillet-embed/tags/1.3/vendor/symfony/string/UnicodeString.php

    r3300607 r3343991  
    287287
    288288        $start = $start ? \strlen(grapheme_substr($this->string, 0, $start)) : 0;
    289         $length = $length ? \strlen(grapheme_substr($this->string, $start, $length)) : $length;
     289        $length = $length ? \strlen(grapheme_substr($this->string, $start, $length ?? 2147483647)) : $length;
    290290        $str->string = substr_replace($this->string, $replacement, $start, $length ?? 2147483647);
    291291
     
    363363    }
    364364
    365     public function __wakeup(): void
     365    /**
     366     * @return void
     367     */
     368    public function __wakeup()
    366369    {
    367370        if (!\is_string($this->string)) {
  • monbillet-embed/tags/1.3/vendor/symfony/string/composer.json

    r3300607 r3343991  
    1717    ],
    1818    "require": {
    19         "php": ">=8.2",
     19        "php": ">=8.1",
    2020        "symfony/polyfill-ctype": "~1.8",
    2121        "symfony/polyfill-intl-grapheme": "~1.0",
     
    2424    },
    2525    "require-dev": {
    26         "symfony/error-handler": "^6.4|^7.0",
    27         "symfony/emoji": "^7.1",
    28         "symfony/http-client": "^6.4|^7.0",
    29         "symfony/intl": "^6.4|^7.0",
     26        "symfony/error-handler": "^5.4|^6.0|^7.0",
     27        "symfony/intl": "^6.2|^7.0",
     28        "symfony/http-client": "^5.4|^6.0|^7.0",
    3029        "symfony/translation-contracts": "^2.5|^3.0",
    31         "symfony/var-exporter": "^6.4|^7.0"
     30        "symfony/var-exporter": "^5.4|^6.0|^7.0"
    3231    },
    3332    "conflict": {
  • monbillet-embed/trunk/composer.json

    r3325749 r3343991  
    1919        "allow-plugins": {
    2020            "dealerdirect/phpcodesniffer-composer-installer": true
     21        },
     22        "platform": {
     23            "php": "8.1"
    2124        }
    2225    },
     
    2528    },
    2629    "require": {
    27         "php": "^7.2.5||^8.0",
     30        "php": "^8.1",
    2831        "monbillet/api-client": "^1.2.5",
    2932        "twig/twig": "3.11.3",
  • monbillet-embed/trunk/composer.lock

    r3325749 r3343991  
    55        "This file is @generated automatically"
    66    ],
    7     "content-hash": "040cf6de2d853e01b2a30f0650d7bc54",
     7    "content-hash": "12023dc63a6169e51e224dabca4bc236",
    88    "packages": [
    99        {
     
    117117        {
    118118            "name": "symfony/intl",
    119             "version": "v7.2.6",
     119            "version": "v6.4.24",
    120120            "source": {
    121121                "type": "git",
    122122                "url": "https://github.com/symfony/intl.git",
    123                 "reference": "f8a603f978b035d3a1dc23977fc8ae57558177ad"
    124             },
    125             "dist": {
    126                 "type": "zip",
    127                 "url": "https://api.github.com/repos/symfony/intl/zipball/f8a603f978b035d3a1dc23977fc8ae57558177ad",
    128                 "reference": "f8a603f978b035d3a1dc23977fc8ae57558177ad",
    129                 "shasum": ""
    130             },
    131             "require": {
    132                 "php": ">=8.2",
    133                 "symfony/deprecation-contracts": "^2.5|^3"
    134             },
    135             "conflict": {
    136                 "symfony/string": "<7.1"
     123                "reference": "c0938cd29804e65308051a42d1387f0dd57e1eaf"
     124            },
     125            "dist": {
     126                "type": "zip",
     127                "url": "https://api.github.com/repos/symfony/intl/zipball/c0938cd29804e65308051a42d1387f0dd57e1eaf",
     128                "reference": "c0938cd29804e65308051a42d1387f0dd57e1eaf",
     129                "shasum": ""
     130            },
     131            "require": {
     132                "php": ">=8.1"
    137133            },
    138134            "require-dev": {
    139                 "symfony/filesystem": "^6.4|^7.0",
    140                 "symfony/var-exporter": "^6.4|^7.0"
     135                "symfony/filesystem": "^5.4|^6.0|^7.0",
     136                "symfony/finder": "^5.4|^6.0|^7.0",
     137                "symfony/var-exporter": "^5.4|^6.0|^7.0"
    141138            },
    142139            "type": "library",
     
    183180            ],
    184181            "support": {
    185                 "source": "https://github.com/symfony/intl/tree/v7.2.6"
     182                "source": "https://github.com/symfony/intl/tree/v6.4.24"
    186183            },
    187184            "funding": [
     
    195192                },
    196193                {
     194                    "url": "https://github.com/nicolas-grekas",
     195                    "type": "github"
     196                },
     197                {
    197198                    "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
    198199                    "type": "tidelift"
    199200                }
    200201            ],
    201             "time": "2025-04-07T19:09:28+00:00"
     202            "time": "2025-07-10T08:14:14+00:00"
    202203        },
    203204        {
     
    678679        {
    679680            "name": "symfony/string",
    680             "version": "v7.2.6",
     681            "version": "v6.4.24",
    681682            "source": {
    682683                "type": "git",
    683684                "url": "https://github.com/symfony/string.git",
    684                 "reference": "a214fe7d62bd4df2a76447c67c6b26e1d5e74931"
    685             },
    686             "dist": {
    687                 "type": "zip",
    688                 "url": "https://api.github.com/repos/symfony/string/zipball/a214fe7d62bd4df2a76447c67c6b26e1d5e74931",
    689                 "reference": "a214fe7d62bd4df2a76447c67c6b26e1d5e74931",
    690                 "shasum": ""
    691             },
    692             "require": {
    693                 "php": ">=8.2",
     685                "reference": "f0ce0bd36a3accb4a225435be077b4b4875587f4"
     686            },
     687            "dist": {
     688                "type": "zip",
     689                "url": "https://api.github.com/repos/symfony/string/zipball/f0ce0bd36a3accb4a225435be077b4b4875587f4",
     690                "reference": "f0ce0bd36a3accb4a225435be077b4b4875587f4",
     691                "shasum": ""
     692            },
     693            "require": {
     694                "php": ">=8.1",
    694695                "symfony/polyfill-ctype": "~1.8",
    695696                "symfony/polyfill-intl-grapheme": "~1.0",
     
    701702            },
    702703            "require-dev": {
    703                 "symfony/emoji": "^7.1",
    704                 "symfony/error-handler": "^6.4|^7.0",
    705                 "symfony/http-client": "^6.4|^7.0",
    706                 "symfony/intl": "^6.4|^7.0",
     704                "symfony/error-handler": "^5.4|^6.0|^7.0",
     705                "symfony/http-client": "^5.4|^6.0|^7.0",
     706                "symfony/intl": "^6.2|^7.0",
    707707                "symfony/translation-contracts": "^2.5|^3.0",
    708                 "symfony/var-exporter": "^6.4|^7.0"
     708                "symfony/var-exporter": "^5.4|^6.0|^7.0"
    709709            },
    710710            "type": "library",
     
    745745            ],
    746746            "support": {
    747                 "source": "https://github.com/symfony/string/tree/v7.2.6"
     747                "source": "https://github.com/symfony/string/tree/v6.4.24"
    748748            },
    749749            "funding": [
     
    757757                },
    758758                {
     759                    "url": "https://github.com/nicolas-grekas",
     760                    "type": "github"
     761                },
     762                {
    759763                    "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
    760764                    "type": "tidelift"
    761765                }
    762766            ],
    763             "time": "2025-04-20T20:18:16+00:00"
     767            "time": "2025-07-10T08:14:14+00:00"
    764768        },
    765769        {
     
    10561060        {
    10571061            "name": "dealerdirect/phpcodesniffer-composer-installer",
    1058             "version": "v1.0.0",
     1062            "version": "v1.1.2",
    10591063            "source": {
    10601064                "type": "git",
    10611065                "url": "https://github.com/PHPCSStandards/composer-installer.git",
    1062                 "reference": "4be43904336affa5c2f70744a348312336afd0da"
    1063             },
    1064             "dist": {
    1065                 "type": "zip",
    1066                 "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/4be43904336affa5c2f70744a348312336afd0da",
    1067                 "reference": "4be43904336affa5c2f70744a348312336afd0da",
    1068                 "shasum": ""
    1069             },
    1070             "require": {
    1071                 "composer-plugin-api": "^1.0 || ^2.0",
     1066                "reference": "e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1"
     1067            },
     1068            "dist": {
     1069                "type": "zip",
     1070                "url": "https://api.github.com/repos/PHPCSStandards/composer-installer/zipball/e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1",
     1071                "reference": "e9cf5e4bbf7eeaf9ef5db34938942602838fc2b1",
     1072                "shasum": ""
     1073            },
     1074            "require": {
     1075                "composer-plugin-api": "^2.2",
    10721076                "php": ">=5.4",
    10731077                "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0"
    10741078            },
    10751079            "require-dev": {
    1076                 "composer/composer": "*",
     1080                "composer/composer": "^2.2",
    10771081                "ext-json": "*",
    10781082                "ext-zip": "*",
    1079                 "php-parallel-lint/php-parallel-lint": "^1.3.1",
     1083                "php-parallel-lint/php-parallel-lint": "^1.4.0",
    10801084                "phpcompatibility/php-compatibility": "^9.0",
    10811085                "yoast/phpunit-polyfills": "^1.0"
     
    10971101                {
    10981102                    "name": "Franck Nijhof",
    1099                     "email": "franck.nijhof@dealerdirect.com",
    1100                     "homepage": "http://www.frenck.nl",
    1101                     "role": "Developer / IT Manager"
     1103                    "email": "opensource@frenck.dev",
     1104                    "homepage": "https://frenck.dev",
     1105                    "role": "Open source developer"
    11021106                },
    11031107                {
     
    11071111            ],
    11081112            "description": "PHP_CodeSniffer Standards Composer Installer Plugin",
    1109             "homepage": "http://www.dealerdirect.com",
    11101113            "keywords": [
    11111114                "PHPCodeSniffer",
     
    11281131            "support": {
    11291132                "issues": "https://github.com/PHPCSStandards/composer-installer/issues",
     1133                "security": "https://github.com/PHPCSStandards/composer-installer/security/policy",
    11301134                "source": "https://github.com/PHPCSStandards/composer-installer"
    11311135            },
    1132             "time": "2023-01-05T11:28:13+00:00"
     1136            "funding": [
     1137                {
     1138                    "url": "https://github.com/PHPCSStandards",
     1139                    "type": "github"
     1140                },
     1141                {
     1142                    "url": "https://github.com/jrfnl",
     1143                    "type": "github"
     1144                },
     1145                {
     1146                    "url": "https://opencollective.com/php_codesniffer",
     1147                    "type": "open_collective"
     1148                },
     1149                {
     1150                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     1151                    "type": "thanks_dev"
     1152                }
     1153            ],
     1154            "time": "2025-07-17T20:45:56+00:00"
    11331155        },
    11341156        {
    11351157            "name": "phpcsstandards/phpcsextra",
    1136             "version": "1.3.0",
     1158            "version": "1.4.0",
    11371159            "source": {
    11381160                "type": "git",
    11391161                "url": "https://github.com/PHPCSStandards/PHPCSExtra.git",
    1140                 "reference": "46d08eb86eec622b96c466adec3063adfed280dd"
    1141             },
    1142             "dist": {
    1143                 "type": "zip",
    1144                 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/46d08eb86eec622b96c466adec3063adfed280dd",
    1145                 "reference": "46d08eb86eec622b96c466adec3063adfed280dd",
     1162                "reference": "fa4b8d051e278072928e32d817456a7fdb57b6ca"
     1163            },
     1164            "dist": {
     1165                "type": "zip",
     1166                "url": "https://api.github.com/repos/PHPCSStandards/PHPCSExtra/zipball/fa4b8d051e278072928e32d817456a7fdb57b6ca",
     1167                "reference": "fa4b8d051e278072928e32d817456a7fdb57b6ca",
    11461168                "shasum": ""
    11471169            },
    11481170            "require": {
    11491171                "php": ">=5.4",
    1150                 "phpcsstandards/phpcsutils": "^1.0.9",
    1151                 "squizlabs/php_codesniffer": "^3.12.1"
     1172                "phpcsstandards/phpcsutils": "^1.1.0",
     1173                "squizlabs/php_codesniffer": "^3.13.0 || ^4.0"
    11521174            },
    11531175            "require-dev": {
    11541176                "php-parallel-lint/php-console-highlighter": "^1.0",
    1155                 "php-parallel-lint/php-parallel-lint": "^1.3.2",
     1177                "php-parallel-lint/php-parallel-lint": "^1.4.0",
    11561178                "phpcsstandards/phpcsdevcs": "^1.1.6",
    11571179                "phpcsstandards/phpcsdevtools": "^1.2.1",
    1158                 "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0"
     1180                "phpunit/phpunit": "^4.5 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
    11591181            },
    11601182            "type": "phpcodesniffer-standard",
     
    12121234                }
    12131235            ],
    1214             "time": "2025-04-20T23:35:32+00:00"
     1236            "time": "2025-06-14T07:40:39+00:00"
    12151237        },
    12161238        {
    12171239            "name": "phpcsstandards/phpcsutils",
    1218             "version": "1.0.12",
     1240            "version": "1.1.1",
    12191241            "source": {
    12201242                "type": "git",
    12211243                "url": "https://github.com/PHPCSStandards/PHPCSUtils.git",
    1222                 "reference": "87b233b00daf83fb70f40c9a28692be017ea7c6c"
    1223             },
    1224             "dist": {
    1225                 "type": "zip",
    1226                 "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/87b233b00daf83fb70f40c9a28692be017ea7c6c",
    1227                 "reference": "87b233b00daf83fb70f40c9a28692be017ea7c6c",
     1244                "reference": "f7eb16f2fa4237d5db9e8fed8050239bee17a9bd"
     1245            },
     1246            "dist": {
     1247                "type": "zip",
     1248                "url": "https://api.github.com/repos/PHPCSStandards/PHPCSUtils/zipball/f7eb16f2fa4237d5db9e8fed8050239bee17a9bd",
     1249                "reference": "f7eb16f2fa4237d5db9e8fed8050239bee17a9bd",
    12281250                "shasum": ""
    12291251            },
     
    12311253                "dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7 || ^1.0",
    12321254                "php": ">=5.4",
    1233                 "squizlabs/php_codesniffer": "^3.10.0 || 4.0.x-dev@dev"
     1255                "squizlabs/php_codesniffer": "^3.13.0 || ^4.0"
    12341256            },
    12351257            "require-dev": {
    12361258                "ext-filter": "*",
    12371259                "php-parallel-lint/php-console-highlighter": "^1.0",
    1238                 "php-parallel-lint/php-parallel-lint": "^1.3.2",
     1260                "php-parallel-lint/php-parallel-lint": "^1.4.0",
    12391261                "phpcsstandards/phpcsdevcs": "^1.1.6",
    1240                 "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0"
     1262                "yoast/phpunit-polyfills": "^1.1.0 || ^2.0.0 || ^3.0.0"
    12411263            },
    12421264            "type": "phpcodesniffer-standard",
     
    12751297                "phpcs",
    12761298                "phpcs3",
     1299                "phpcs4",
    12771300                "standards",
    12781301                "static analysis",
     
    12981321                    "url": "https://opencollective.com/php_codesniffer",
    12991322                    "type": "open_collective"
    1300                 }
    1301             ],
    1302             "time": "2024-05-20T13:34:27+00:00"
     1323                },
     1324                {
     1325                    "url": "https://thanks.dev/u/gh/phpcsstandards",
     1326                    "type": "thanks_dev"
     1327                }
     1328            ],
     1329            "time": "2025-08-10T01:04:45+00:00"
    13031330        },
    13041331        {
    13051332            "name": "squizlabs/php_codesniffer",
    1306             "version": "3.13.0",
     1333            "version": "3.13.2",
    13071334            "source": {
    13081335                "type": "git",
    13091336                "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
    1310                 "reference": "65ff2489553b83b4597e89c3b8b721487011d186"
    1311             },
    1312             "dist": {
    1313                 "type": "zip",
    1314                 "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/65ff2489553b83b4597e89c3b8b721487011d186",
    1315                 "reference": "65ff2489553b83b4597e89c3b8b721487011d186",
     1337                "reference": "5b5e3821314f947dd040c70f7992a64eac89025c"
     1338            },
     1339            "dist": {
     1340                "type": "zip",
     1341                "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/5b5e3821314f947dd040c70f7992a64eac89025c",
     1342                "reference": "5b5e3821314f947dd040c70f7992a64eac89025c",
    13161343                "shasum": ""
    13171344            },
     
    13841411                }
    13851412            ],
    1386             "time": "2025-05-11T03:36:00+00:00"
     1413            "time": "2025-06-17T22:17:01+00:00"
    13871414        },
    13881415        {
    13891416            "name": "wp-coding-standards/wpcs",
    1390             "version": "3.1.0",
     1417            "version": "3.2.0",
    13911418            "source": {
    13921419                "type": "git",
    13931420                "url": "https://github.com/WordPress/WordPress-Coding-Standards.git",
    1394                 "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7"
    1395             },
    1396             "dist": {
    1397                 "type": "zip",
    1398                 "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/9333efcbff231f10dfd9c56bb7b65818b4733ca7",
    1399                 "reference": "9333efcbff231f10dfd9c56bb7b65818b4733ca7",
     1421                "reference": "d2421de7cec3274ae622c22c744de9a62c7925af"
     1422            },
     1423            "dist": {
     1424                "type": "zip",
     1425                "url": "https://api.github.com/repos/WordPress/WordPress-Coding-Standards/zipball/d2421de7cec3274ae622c22c744de9a62c7925af",
     1426                "reference": "d2421de7cec3274ae622c22c744de9a62c7925af",
    14001427                "shasum": ""
    14011428            },
     
    14061433                "ext-xmlreader": "*",
    14071434                "php": ">=5.4",
    1408                 "phpcsstandards/phpcsextra": "^1.2.1",
    1409                 "phpcsstandards/phpcsutils": "^1.0.10",
    1410                 "squizlabs/php_codesniffer": "^3.9.0"
     1435                "phpcsstandards/phpcsextra": "^1.4.0",
     1436                "phpcsstandards/phpcsutils": "^1.1.0",
     1437                "squizlabs/php_codesniffer": "^3.13.0"
    14111438            },
    14121439            "require-dev": {
    14131440                "php-parallel-lint/php-console-highlighter": "^1.0.0",
    1414                 "php-parallel-lint/php-parallel-lint": "^1.3.2",
     1441                "php-parallel-lint/php-parallel-lint": "^1.4.0",
    14151442                "phpcompatibility/php-compatibility": "^9.0",
    14161443                "phpcsstandards/phpcsdevtools": "^1.2.0",
     
    14501477                }
    14511478            ],
    1452             "time": "2024-03-25T16:39:00+00:00"
     1479            "time": "2025-07-24T20:08:31+00:00"
    14531480        }
    14541481    ],
     
    14591486    "prefer-lowest": false,
    14601487    "platform": {
    1461         "php": "^7.2.5||^8.0"
     1488        "php": "^8.1"
    14621489    },
    14631490    "platform-dev": {},
     1491    "platform-overrides": {
     1492        "php": "8.1"
     1493    },
    14641494    "plugin-api-version": "2.6.0"
    14651495}
  • monbillet-embed/trunk/monbillet-embed.php

    r3327536 r3343991  
    77 * Description: Embed events and event-groups data directly in your WordPress.
    88 * Text Domain: monbillet-embed
    9  * Version: 1.2.1
    10  * Requires PHP: 7.2
     9 * Version: 1.3
     10 * Requires PHP: 8.1
    1111 * Requires at least: 4.6
    1212 * License: MIT
  • monbillet-embed/trunk/readme.txt

    r3327536 r3343991  
    11=== Monbillet Embed ===
    2 Stable tag: 1.2.1
    3 Requires PHP: 7.2
     2Stable tag: 1.3
     3Requires PHP: 8.1
    44Tested up to: 6.8
    55Requires at least: 4.6
     
    7272== Changelog ==
    7373
     74= 1.3 - August 13, 2025 =
     75
     76- Change minimal version of PHP to 8.1 and match in composer config
     77
    7478= 1.2.1 - July 14, 2025 =
    7579
  • monbillet-embed/trunk/vendor/composer/autoload_classmap.php

    r3300607 r3343991  
    7979    'Symfony\\Component\\String\\Inflector\\FrenchInflector' => $vendorDir . '/symfony/string/Inflector/FrenchInflector.php',
    8080    'Symfony\\Component\\String\\Inflector\\InflectorInterface' => $vendorDir . '/symfony/string/Inflector/InflectorInterface.php',
    81     'Symfony\\Component\\String\\Inflector\\SpanishInflector' => $vendorDir . '/symfony/string/Inflector/SpanishInflector.php',
    8281    'Symfony\\Component\\String\\LazyString' => $vendorDir . '/symfony/string/LazyString.php',
    8382    'Symfony\\Component\\String\\Slugger\\AsciiSlugger' => $vendorDir . '/symfony/string/Slugger/AsciiSlugger.php',
    8483    'Symfony\\Component\\String\\Slugger\\SluggerInterface' => $vendorDir . '/symfony/string/Slugger/SluggerInterface.php',
    85     'Symfony\\Component\\String\\TruncateMode' => $vendorDir . '/symfony/string/TruncateMode.php',
    8684    'Symfony\\Component\\String\\UnicodeString' => $vendorDir . '/symfony/string/UnicodeString.php',
    8785    'Symfony\\Contracts\\Translation\\LocaleAwareInterface' => $vendorDir . '/symfony/translation-contracts/LocaleAwareInterface.php',
  • monbillet-embed/trunk/vendor/composer/autoload_files.php

    r3300607 r3343991  
    77
    88return array(
    9     '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php',
    109    '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php',
    1110    '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
     11    '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php',
    1212    'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php',
    1313    '23c18046f52bef3eea034657bafda50f' => $vendorDir . '/symfony/polyfill-php81/bootstrap.php',
  • monbillet-embed/trunk/vendor/composer/autoload_static.php

    r3300607 r3343991  
    88{
    99    public static $files = array (
    10         '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php',
    1110        '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
    1211        '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
     12        '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php',
    1313        'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
    1414        '23c18046f52bef3eea034657bafda50f' => __DIR__ . '/..' . '/symfony/polyfill-php81/bootstrap.php',
     
    185185        'Symfony\\Component\\String\\Inflector\\FrenchInflector' => __DIR__ . '/..' . '/symfony/string/Inflector/FrenchInflector.php',
    186186        'Symfony\\Component\\String\\Inflector\\InflectorInterface' => __DIR__ . '/..' . '/symfony/string/Inflector/InflectorInterface.php',
    187         'Symfony\\Component\\String\\Inflector\\SpanishInflector' => __DIR__ . '/..' . '/symfony/string/Inflector/SpanishInflector.php',
    188187        'Symfony\\Component\\String\\LazyString' => __DIR__ . '/..' . '/symfony/string/LazyString.php',
    189188        'Symfony\\Component\\String\\Slugger\\AsciiSlugger' => __DIR__ . '/..' . '/symfony/string/Slugger/AsciiSlugger.php',
    190189        'Symfony\\Component\\String\\Slugger\\SluggerInterface' => __DIR__ . '/..' . '/symfony/string/Slugger/SluggerInterface.php',
    191         'Symfony\\Component\\String\\TruncateMode' => __DIR__ . '/..' . '/symfony/string/TruncateMode.php',
    192190        'Symfony\\Component\\String\\UnicodeString' => __DIR__ . '/..' . '/symfony/string/UnicodeString.php',
    193191        'Symfony\\Contracts\\Translation\\LocaleAwareInterface' => __DIR__ . '/..' . '/symfony/translation-contracts/LocaleAwareInterface.php',
  • monbillet-embed/trunk/vendor/composer/installed.json

    r3325749 r3343991  
    117117        {
    118118            "name": "symfony/intl",
    119             "version": "v7.2.6",
    120             "version_normalized": "7.2.6.0",
     119            "version": "v6.4.24",
     120            "version_normalized": "6.4.24.0",
    121121            "source": {
    122122                "type": "git",
    123123                "url": "https://github.com/symfony/intl.git",
    124                 "reference": "f8a603f978b035d3a1dc23977fc8ae57558177ad"
    125             },
    126             "dist": {
    127                 "type": "zip",
    128                 "url": "https://api.github.com/repos/symfony/intl/zipball/f8a603f978b035d3a1dc23977fc8ae57558177ad",
    129                 "reference": "f8a603f978b035d3a1dc23977fc8ae57558177ad",
    130                 "shasum": ""
    131             },
    132             "require": {
    133                 "php": ">=8.2",
    134                 "symfony/deprecation-contracts": "^2.5|^3"
    135             },
    136             "conflict": {
    137                 "symfony/string": "<7.1"
     124                "reference": "c0938cd29804e65308051a42d1387f0dd57e1eaf"
     125            },
     126            "dist": {
     127                "type": "zip",
     128                "url": "https://api.github.com/repos/symfony/intl/zipball/c0938cd29804e65308051a42d1387f0dd57e1eaf",
     129                "reference": "c0938cd29804e65308051a42d1387f0dd57e1eaf",
     130                "shasum": ""
     131            },
     132            "require": {
     133                "php": ">=8.1"
    138134            },
    139135            "require-dev": {
    140                 "symfony/filesystem": "^6.4|^7.0",
    141                 "symfony/var-exporter": "^6.4|^7.0"
    142             },
    143             "time": "2025-04-07T19:09:28+00:00",
     136                "symfony/filesystem": "^5.4|^6.0|^7.0",
     137                "symfony/finder": "^5.4|^6.0|^7.0",
     138                "symfony/var-exporter": "^5.4|^6.0|^7.0"
     139            },
     140            "time": "2025-07-10T08:14:14+00:00",
    144141            "type": "library",
    145142            "installation-source": "dist",
     
    186183            ],
    187184            "support": {
    188                 "source": "https://github.com/symfony/intl/tree/v7.2.6"
     185                "source": "https://github.com/symfony/intl/tree/v6.4.24"
    189186            },
    190187            "funding": [
     
    195192                {
    196193                    "url": "https://github.com/fabpot",
     194                    "type": "github"
     195                },
     196                {
     197                    "url": "https://github.com/nicolas-grekas",
    197198                    "type": "github"
    198199                },
     
    699700        {
    700701            "name": "symfony/string",
    701             "version": "v7.2.6",
    702             "version_normalized": "7.2.6.0",
     702            "version": "v6.4.24",
     703            "version_normalized": "6.4.24.0",
    703704            "source": {
    704705                "type": "git",
    705706                "url": "https://github.com/symfony/string.git",
    706                 "reference": "a214fe7d62bd4df2a76447c67c6b26e1d5e74931"
    707             },
    708             "dist": {
    709                 "type": "zip",
    710                 "url": "https://api.github.com/repos/symfony/string/zipball/a214fe7d62bd4df2a76447c67c6b26e1d5e74931",
    711                 "reference": "a214fe7d62bd4df2a76447c67c6b26e1d5e74931",
    712                 "shasum": ""
    713             },
    714             "require": {
    715                 "php": ">=8.2",
     707                "reference": "f0ce0bd36a3accb4a225435be077b4b4875587f4"
     708            },
     709            "dist": {
     710                "type": "zip",
     711                "url": "https://api.github.com/repos/symfony/string/zipball/f0ce0bd36a3accb4a225435be077b4b4875587f4",
     712                "reference": "f0ce0bd36a3accb4a225435be077b4b4875587f4",
     713                "shasum": ""
     714            },
     715            "require": {
     716                "php": ">=8.1",
    716717                "symfony/polyfill-ctype": "~1.8",
    717718                "symfony/polyfill-intl-grapheme": "~1.0",
     
    723724            },
    724725            "require-dev": {
    725                 "symfony/emoji": "^7.1",
    726                 "symfony/error-handler": "^6.4|^7.0",
    727                 "symfony/http-client": "^6.4|^7.0",
    728                 "symfony/intl": "^6.4|^7.0",
     726                "symfony/error-handler": "^5.4|^6.0|^7.0",
     727                "symfony/http-client": "^5.4|^6.0|^7.0",
     728                "symfony/intl": "^6.2|^7.0",
    729729                "symfony/translation-contracts": "^2.5|^3.0",
    730                 "symfony/var-exporter": "^6.4|^7.0"
    731             },
    732             "time": "2025-04-20T20:18:16+00:00",
     730                "symfony/var-exporter": "^5.4|^6.0|^7.0"
     731            },
     732            "time": "2025-07-10T08:14:14+00:00",
    733733            "type": "library",
    734734            "installation-source": "dist",
     
    769769            ],
    770770            "support": {
    771                 "source": "https://github.com/symfony/string/tree/v7.2.6"
     771                "source": "https://github.com/symfony/string/tree/v6.4.24"
    772772            },
    773773            "funding": [
     
    778778                {
    779779                    "url": "https://github.com/fabpot",
     780                    "type": "github"
     781                },
     782                {
     783                    "url": "https://github.com/nicolas-grekas",
    780784                    "type": "github"
    781785                },
  • monbillet-embed/trunk/vendor/composer/installed.php

    r3327536 r3343991  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '4267557b6c1950a1a892df996d987765fcb20978',
     6        'reference' => '3772a238b264d15591f315e475d598277591f6eb',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    2323            'pretty_version' => 'dev-main',
    2424            'version' => 'dev-main',
    25             'reference' => '4267557b6c1950a1a892df996d987765fcb20978',
     25            'reference' => '3772a238b264d15591f315e475d598277591f6eb',
    2626            'type' => 'library',
    2727            'install_path' => __DIR__ . '/../../',
     
    3939        ),
    4040        'symfony/intl' => array(
    41             'pretty_version' => 'v7.2.6',
    42             'version' => '7.2.6.0',
    43             'reference' => 'f8a603f978b035d3a1dc23977fc8ae57558177ad',
     41            'pretty_version' => 'v6.4.24',
     42            'version' => '6.4.24.0',
     43            'reference' => 'c0938cd29804e65308051a42d1387f0dd57e1eaf',
    4444            'type' => 'library',
    4545            'install_path' => __DIR__ . '/../symfony/intl',
     
    102102        ),
    103103        'symfony/string' => array(
    104             'pretty_version' => 'v7.2.6',
    105             'version' => '7.2.6.0',
    106             'reference' => 'a214fe7d62bd4df2a76447c67c6b26e1d5e74931',
     104            'pretty_version' => 'v6.4.24',
     105            'version' => '6.4.24.0',
     106            'reference' => 'f0ce0bd36a3accb4a225435be077b4b4875587f4',
    107107            'type' => 'library',
    108108            'install_path' => __DIR__ . '/../symfony/string',
  • monbillet-embed/trunk/vendor/composer/platform_check.php

    r3300607 r3343991  
    55$issues = array();
    66
    7 if (!(PHP_VERSION_ID >= 80200)) {
    8     $issues[] = 'Your Composer dependencies require a PHP version ">= 8.2.0". You are running ' . PHP_VERSION . '.';
     7if (!(PHP_VERSION_ID >= 80100)) {
     8    $issues[] = 'Your Composer dependencies require a PHP version ">= 8.1.0". You are running ' . PHP_VERSION . '.';
    99}
    1010
  • monbillet-embed/trunk/vendor/symfony/intl/CHANGELOG.md

    r3300607 r3343991  
    11CHANGELOG
    22=========
    3 
    4 7.1
    5 ---
    6 
    7  * Move all emoji code & data to a new `symfony/emoji` component
    8  * Deprecate `EmojiTransliterator` in favor of `Symfony\Component\Emoji\EmojiTransliterator`
    93
    1046.4
    115---
    126
    13  * Add support for ISO-3166-1 numeric codes with `Countries::getNumericCode()`, `Countries::getNumericCodes()`,
     7 * Add support for ISO-3166-1 numeric codes with `Countries::getNumericCode()`, `Countries::getNumericCodes()`, 
    148   `Countries::numericCodeExists()` and `Countries::getAlpha2FromNumeric()`
    159
  • monbillet-embed/trunk/vendor/symfony/intl/Data/Bundle/Compiler/BundleCompilerInterface.php

    r3300607 r3343991  
    2424     * Compiles a resource bundle at the given source to the given target
    2525     * directory.
     26     *
     27     * @return void
    2628     */
    27     public function compile(string $sourcePath, string $targetDir): void;
     29    public function compile(string $sourcePath, string $targetDir);
    2830}
  • monbillet-embed/trunk/vendor/symfony/intl/Data/Bundle/Reader/BufferedBundleReader.php

    r3300607 r3343991  
    2121class BufferedBundleReader implements BundleReaderInterface
    2222{
     23    private BundleReaderInterface $reader;
    2324    /** @var RingBuffer<string, mixed> */
    2425    private RingBuffer $buffer;
    2526
    26     public function __construct(
    27         private BundleReaderInterface $reader,
    28         int $bufferSize,
    29     ) {
     27    public function __construct(BundleReaderInterface $reader, int $bufferSize)
     28    {
     29        $this->reader = $reader;
    3030        $this->buffer = new RingBuffer($bufferSize);
    3131    }
  • monbillet-embed/trunk/vendor/symfony/intl/Data/Bundle/Reader/BundleEntryReader.php

    r3300607 r3343991  
    2929class BundleEntryReader implements BundleEntryReaderInterface
    3030{
     31    private BundleReaderInterface $reader;
     32
    3133    /**
    3234     * A mapping of locale aliases to locales.
     
    3739     * Creates an entry reader based on the given resource bundle reader.
    3840     */
    39     public function __construct(
    40         private BundleReaderInterface $reader,
    41     ) {
     41    public function __construct(BundleReaderInterface $reader)
     42    {
     43        $this->reader = $reader;
    4244    }
    4345
  • monbillet-embed/trunk/vendor/symfony/intl/Data/Bundle/Writer/BundleWriterInterface.php

    r3300607 r3343991  
    2121interface BundleWriterInterface
    2222{
    23     public function write(string $path, string $locale, mixed $data): void;
     23    /**
     24     * @return void
     25     */
     26    public function write(string $path, string $locale, mixed $data);
    2427}
  • monbillet-embed/trunk/vendor/symfony/intl/Data/Generator/AbstractDataGenerator.php

    r3300607 r3343991  
    2828abstract class AbstractDataGenerator
    2929{
    30     public function __construct(
    31         private BundleCompilerInterface $compiler,
    32         private string $dirName,
    33     ) {
     30    private BundleCompilerInterface $compiler;
     31    private string $dirName;
     32
     33    public function __construct(BundleCompilerInterface $compiler, string $dirName)
     34    {
     35        $this->compiler = $compiler;
     36        $this->dirName = $dirName;
    3437    }
    3538
  • monbillet-embed/trunk/vendor/symfony/intl/Data/Generator/CurrencyDataGenerator.php

    r3300607 r3343991  
    116116
    117117        // Remove unwanted currencies
    118         return array_diff_key($symbolNamePairs, self::DENYLIST);
     118        $symbolNamePairs = array_diff_key($symbolNamePairs, self::DENYLIST);
     119
     120        return $symbolNamePairs;
    119121    }
    120122
     
    133135
    134136        // Filter unknown currencies (e.g. "AYM")
    135         return array_intersect_key($alpha3ToNumericMapping, array_flip($currencyCodes));
     137        $alpha3ToNumericMapping = array_intersect_key($alpha3ToNumericMapping, array_flip($currencyCodes));
     138
     139        return $alpha3ToNumericMapping;
    136140    }
    137141
  • monbillet-embed/trunk/vendor/symfony/intl/Data/Generator/GeneratorConfig.php

    r3300607 r3343991  
    2323class GeneratorConfig
    2424{
     25    private string $sourceDir;
     26    private string $icuVersion;
     27
    2528    /**
    2629     * @var BundleWriterInterface[]
     
    2831    private array $bundleWriters = [];
    2932
    30     public function __construct(
    31         private string $sourceDir,
    32         private string $icuVersion,
    33     ) {
     33    public function __construct(string $sourceDir, string $icuVersion)
     34    {
     35        $this->sourceDir = $sourceDir;
     36        $this->icuVersion = $icuVersion;
    3437    }
    3538
  • monbillet-embed/trunk/vendor/symfony/intl/Data/Generator/RegionDataGenerator.php

    r3300607 r3343991  
    161161        asort($alpha3ToAlpha2);
    162162
    163         $alpha2ToNumeric = $this->generateAlpha2ToNumericMapping($metadataBundle);
     163        $alpha2ToNumeric = $this->generateAlpha2ToNumericMapping(array_flip($this->regionCodes), $metadataBundle);
    164164        $numericToAlpha2 = [];
    165165        foreach ($alpha2ToNumeric as $alpha2 => $numeric) {
     
    232232    }
    233233
    234     private function generateAlpha2ToNumericMapping(ArrayAccessibleResourceBundle $metadataBundle): array
     234    private function generateAlpha2ToNumericMapping(array $countries, ArrayAccessibleResourceBundle $metadataBundle): array
    235235    {
    236236        $aliases = iterator_to_array($metadataBundle['alias']['territory']);
     
    243243            }
    244244
    245             if (\in_array($alias, self::WITHDRAWN_CODES, true)) {
     245            if (\in_array($alias, self::WITHDRAWN_CODES)) {
    246246                continue;
    247247            }
     
    251251            }
    252252
     253            if (!isset($countries[$data['replacement']])) {
     254                continue;
     255            }
     256
    253257            if ('deprecated' === $data['reason']) {
    254258                continue;
  • monbillet-embed/trunk/vendor/symfony/intl/Data/Generator/TimezoneDataGenerator.php

    r3300607 r3343991  
    1818use Symfony\Component\Intl\Data\Util\LocaleScanner;
    1919use Symfony\Component\Intl\Exception\MissingResourceException;
     20use Symfony\Component\Intl\Locale;
    2021
    2122/**
     
    121122    protected function generateDataForMeta(BundleEntryReaderInterface $reader, string $tempDir): ?array
    122123    {
     124        $rootBundle = $reader->read($tempDir, 'root');
     125
    123126        $this->zoneIds = array_unique($this->zoneIds);
    124127
     
    126129        ksort($this->zoneToCountryMapping);
    127130
    128         return [
     131        $data = [
    129132            'Zones' => $this->zoneIds,
    130133            'ZoneToCountry' => $this->zoneToCountryMapping,
    131134            'CountryToZone' => self::generateCountryToZoneMapping($this->zoneToCountryMapping),
    132135        ];
     136
     137        return $data;
    133138    }
    134139
  • monbillet-embed/trunk/vendor/symfony/intl/Data/Util/ArrayAccessibleResourceBundle.php

    r3300607 r3343991  
    2626class ArrayAccessibleResourceBundle implements \ArrayAccess, \IteratorAggregate, \Countable
    2727{
    28     public function __construct(
    29         private \ResourceBundle $bundleImpl,
    30     ) {
     28    private \ResourceBundle $bundleImpl;
     29
     30    public function __construct(\ResourceBundle $bundleImpl)
     31    {
     32        $this->bundleImpl = $bundleImpl;
    3133    }
    3234
  • monbillet-embed/trunk/vendor/symfony/intl/Data/Util/RingBuffer.php

    r3300607 r3343991  
    3737    private array $indices = [];
    3838    private int $cursor = 0;
     39    private int $size;
    3940
    40     public function __construct(
    41         private int $size,
    42     ) {
     41    public function __construct(int $size)
     42    {
     43        $this->size = $size;
    4344    }
    4445
  • monbillet-embed/trunk/vendor/symfony/intl/README.md

    r3300607 r3343991  
    33
    44The Intl component provides access to the localization data of the ICU library.
    5 
    6 If you have the zlib extension enabled, you can compress the data by running:
    7 
    8     php vendor/symfony/intl/Resources/bin/compress
    95
    106Resources
  • monbillet-embed/trunk/vendor/symfony/intl/Resources/data/regions/meta.php

    r3300607 r3343991  
    756756    ],
    757757    'Alpha2ToNumeric' => [
    758         'AA' => '958',
    759758        'AD' => '020',
    760759        'AE' => '784',
     
    944943        'PY' => '600',
    945944        'QA' => '634',
    946         'QM' => '959',
    947         'QN' => '960',
    948         'QP' => '962',
    949         'QQ' => '963',
    950         'QR' => '964',
    951         'QS' => '965',
    952         'QT' => '966',
    953         'QV' => '968',
    954         'QW' => '969',
    955         'QX' => '970',
    956         'QY' => '971',
    957         'QZ' => '972',
    958945        'RE' => '638',
    959946        'RO' => '642',
     
    10131000        'WF' => '876',
    10141001        'WS' => '882',
    1015         'XC' => '975',
    1016         'XD' => '976',
    1017         'XE' => '977',
    1018         'XF' => '978',
    1019         'XG' => '979',
    1020         'XH' => '980',
    1021         'XI' => '981',
    1022         'XJ' => '982',
    1023         'XL' => '984',
    1024         'XM' => '985',
    1025         'XN' => '986',
    1026         'XO' => '987',
    1027         'XP' => '988',
    1028         'XQ' => '989',
    1029         'XR' => '990',
    1030         'XS' => '991',
    1031         'XT' => '992',
    1032         'XU' => '993',
    1033         'XV' => '994',
    1034         'XW' => '995',
    1035         'XX' => '996',
    1036         'XY' => '997',
    1037         'XZ' => '998',
    10381002        'YE' => '887',
    10391003        'YT' => '175',
     
    10431007    ],
    10441008    'NumericToAlpha2' => [
    1045         '_958' => 'AA',
    10461009        '_020' => 'AD',
    10471010        '_784' => 'AE',
     
    12311194        '_600' => 'PY',
    12321195        '_634' => 'QA',
    1233         '_959' => 'QM',
    1234         '_960' => 'QN',
    1235         '_962' => 'QP',
    1236         '_963' => 'QQ',
    1237         '_964' => 'QR',
    1238         '_965' => 'QS',
    1239         '_966' => 'QT',
    1240         '_968' => 'QV',
    1241         '_969' => 'QW',
    1242         '_970' => 'QX',
    1243         '_971' => 'QY',
    1244         '_972' => 'QZ',
    12451196        '_638' => 'RE',
    12461197        '_642' => 'RO',
     
    13001251        '_876' => 'WF',
    13011252        '_882' => 'WS',
    1302         '_975' => 'XC',
    1303         '_976' => 'XD',
    1304         '_977' => 'XE',
    1305         '_978' => 'XF',
    1306         '_979' => 'XG',
    1307         '_980' => 'XH',
    1308         '_981' => 'XI',
    1309         '_982' => 'XJ',
    1310         '_984' => 'XL',
    1311         '_985' => 'XM',
    1312         '_986' => 'XN',
    1313         '_987' => 'XO',
    1314         '_988' => 'XP',
    1315         '_989' => 'XQ',
    1316         '_990' => 'XR',
    1317         '_991' => 'XS',
    1318         '_992' => 'XT',
    1319         '_993' => 'XU',
    1320         '_994' => 'XV',
    1321         '_995' => 'XW',
    1322         '_996' => 'XX',
    1323         '_997' => 'XY',
    1324         '_998' => 'XZ',
    13251253        '_887' => 'YE',
    13261254        '_175' => 'YT',
  • monbillet-embed/trunk/vendor/symfony/intl/Transliterator/EmojiTransliterator.php

    r3300607 r3343991  
    1212namespace Symfony\Component\Intl\Transliterator;
    1313
    14 use Symfony\Component\Emoji\EmojiTransliterator as EmojiEmojiTransliterator;
     14use Symfony\Component\Intl\Util\GzipStreamWrapper;
    1515
    16 trigger_deprecation('symfony/intl', '7.1', 'The "%s" class is deprecated, use "%s" instead.', EmojiTransliterator::class, EmojiEmojiTransliterator::class);
     16if (!class_exists(\Transliterator::class)) {
     17    throw new \LogicException(\sprintf('You cannot use the "%s\EmojiTransliterator" class as the "intl" extension is not installed. See https://php.net/intl.', __NAMESPACE__));
     18} else {
     19    /**
     20     * @internal
     21     */
     22    trait EmojiTransliteratorTrait
     23    {
     24        private array $map;
     25        private \Transliterator $transliterator;
    1726
    18 if (!class_exists(EmojiEmojiTransliterator::class)) {
    19     throw new \LogicException(\sprintf('You cannot use the "%s" if the Emoji component is not available. Try running "composer require symfony/emoji".', EmojiEmojiTransliterator::class));
     27        public static function create(string $id, int $direction = self::FORWARD): self
     28        {
     29            $id = strtolower($id);
     30
     31            if (!isset(self::REVERSEABLE_IDS[$id]) && !str_starts_with($id, 'emoji-')) {
     32                $id = 'emoji-'.$id;
     33            }
     34
     35            if (self::REVERSE === $direction) {
     36                if (!isset(self::REVERSEABLE_IDS[$id])) {
     37                    // Create a failing reverse-transliterator to populate intl_get_error_*()
     38                    \Transliterator::createFromRules('A > B')->createInverse();
     39
     40                    throw new \IntlException(intl_get_error_message(), intl_get_error_code());
     41                }
     42                $id = self::REVERSEABLE_IDS[$id];
     43            }
     44
     45            $file = \dirname(__DIR__)."/Resources/data/transliterator/emoji/{$id}.php";
     46            if (!preg_match('/^[a-z0-9@_\\.\\-]*$/', $id) || !is_file($file) && !is_file($file .= '.gz')) {
     47                \Transliterator::create($id); // Populate intl_get_error_*()
     48
     49                throw new \IntlException(intl_get_error_message(), intl_get_error_code());
     50            }
     51
     52            static $maps;
     53
     54            // Create an instance of \Transliterator with a custom id; that's the only way
     55            if (\PHP_VERSION_ID >= 80200) {
     56                static $newInstance;
     57                $instance = ($newInstance ??= (new \ReflectionClass(self::class))->newInstanceWithoutConstructor(...))();
     58                $instance->id = $id;
     59            } else {
     60                $instance = unserialize(\sprintf('O:%d:"%s":1:{s:2:"id";s:%d:"%s";}', \strlen(self::class), self::class, \strlen($id), $id));
     61            }
     62
     63            $instance->map = $maps[$id] ??= str_ends_with($file, '.gz') ? GzipStreamWrapper::require($file) : require $file;
     64
     65            return $instance;
     66        }
     67
     68        public function createInverse(): self
     69        {
     70            return self::create($this->id, self::REVERSE);
     71        }
     72
     73        /**
     74         * @return int
     75         */
     76        #[\ReturnTypeWillChange]
     77        public function getErrorCode(): int|false
     78        {
     79            return isset($this->transliterator) ? $this->transliterator->getErrorCode() : 0;
     80        }
     81
     82        /**
     83         * @return string
     84         */
     85        #[\ReturnTypeWillChange]
     86        public function getErrorMessage(): string|false
     87        {
     88            return isset($this->transliterator) ? $this->transliterator->getErrorMessage() : '';
     89        }
     90
     91        public static function listIDs(): array
     92        {
     93            static $ids = [];
     94
     95            if ($ids) {
     96                return $ids;
     97            }
     98
     99            foreach (scandir(\dirname(__DIR__).'/Resources/data/transliterator/emoji/') as $file) {
     100                if (str_ends_with($file, '.php.gz')) {
     101                    $ids[] = substr($file, 0, -7);
     102                } elseif (str_ends_with($file, '.php')) {
     103                    $ids[] = substr($file, 0, -4);
     104                }
     105            }
     106
     107            return $ids;
     108        }
     109
     110        public function transliterate(string $string, int $start = 0, int $end = -1): string|false
     111        {
     112            $quickCheck = ':' === array_key_first($this->map)[0] ? ':' : self::QUICK_CHECK;
     113
     114            if (0 === $start && -1 === $end && preg_match('//u', $string)) {
     115                return \strlen($string) === strcspn($string, $quickCheck) ? $string : strtr($string, $this->map);
     116            }
     117
     118            // Here we rely on intl to validate the $string, $start and $end arguments
     119            // and to slice the string. Slicing is done by replacing the part if $string
     120            // between $start and $end by a unique cookie that can be reliably used to
     121            // identify which part of $string should be transliterated.
     122
     123            static $cookie;
     124            static $transliterator;
     125
     126            $cookie ??= hash('xxh128', random_bytes(8));
     127            $this->transliterator ??= clone $transliterator ??= \Transliterator::createFromRules('[:any:]* > '.$cookie);
     128
     129            if (false === $result = $this->transliterator->transliterate($string, $start, $end)) {
     130                return false;
     131            }
     132
     133            $parts = explode($cookie, $result);
     134            $start = \strlen($parts[0]);
     135            $length = -\strlen($parts[1]) ?: null;
     136            $string = substr($string, $start, $length);
     137
     138            return $parts[0].(\strlen($string) === strcspn($string, $quickCheck) ? $string : strtr($string, $this->map)).$parts[1];
     139        }
     140    }
    20141}
    21142
    22 class_alias(EmojiEmojiTransliterator::class, EmojiTransliterator::class);
     143if (\PHP_VERSION_ID >= 80200) {
     144    final class EmojiTransliterator extends \Transliterator
     145    {
     146        use EmojiTransliteratorTrait;
    23147
    24 if (false) {
    25     /**
    26      * @deprecated since Symfony 7.1, use Symfony\Component\Emoji\EmojiTransliterator instead
    27      */
    28     class EmojiTransliterator extends \Transliterator
     148        private const QUICK_CHECK = "\xA9\xAE\xE2\xE3\xF0";
     149        private const REVERSEABLE_IDS = [
     150            'emoji-github' => 'github-emoji',
     151            'emoji-slack' => 'slack-emoji',
     152            'github-emoji' => 'emoji-github',
     153            'slack-emoji' => 'emoji-slack',
     154        ];
     155
     156        public readonly string $id;
     157    }
     158} else {
     159    final class EmojiTransliterator extends \Transliterator
    29160    {
     161        use EmojiTransliteratorTrait;
     162
     163        private const QUICK_CHECK = "\xA9\xAE\xE2\xE3\xF0";
     164        private const REVERSEABLE_IDS = [
     165            'emoji-github' => 'github-emoji',
     166            'emoji-slack' => 'slack-emoji',
     167            'github-emoji' => 'emoji-github',
     168            'slack-emoji' => 'emoji-slack',
     169        ];
    30170    }
    31171}
  • monbillet-embed/trunk/vendor/symfony/intl/Util/GitRepository.php

    r3300607 r3343991  
    2020final class GitRepository
    2121{
    22     public function __construct(
    23         private string $path,
    24     ) {
     22    private string $path;
     23
     24    public function __construct(string $path)
     25    {
     26        $this->path = $path;
     27
    2528        $this->getUrl();
    2629    }
  • monbillet-embed/trunk/vendor/symfony/intl/Util/IntlTestHelper.php

    r3300607 r3343991  
    3030    /**
    3131     * Should be called before tests that work fine with the stub implementation.
     32     *
     33     * @return void
    3234     */
    33     public static function requireIntl(TestCase $testCase, ?string $minimumIcuVersion = null): void
     35    public static function requireIntl(TestCase $testCase, ?string $minimumIcuVersion = null)
    3436    {
    3537        $minimumIcuVersion ??= Intl::getIcuStubVersion();
     
    6264     * Should be called before tests that require a feature-complete intl
    6365     * implementation.
     66     *
     67     * @return void
    6468     */
    65     public static function requireFullIntl(TestCase $testCase, ?string $minimumIcuVersion = null): void
     69    public static function requireFullIntl(TestCase $testCase, ?string $minimumIcuVersion = null)
    6670    {
    6771        // We only run tests if the intl extension is loaded...
     
    8286    /**
    8387     * Skips the test unless the current system has a 32bit architecture.
     88     *
     89     * @return void
    8490     */
    85     public static function require32Bit(TestCase $testCase): void
     91    public static function require32Bit(TestCase $testCase)
    8692    {
    8793        if (4 !== \PHP_INT_SIZE) {
     
    9298    /**
    9399     * Skips the test unless the current system has a 64bit architecture.
     100     *
     101     * @return void
    94102     */
    95     public static function require64Bit(TestCase $testCase): void
     103    public static function require64Bit(TestCase $testCase)
    96104    {
    97105        if (8 !== \PHP_INT_SIZE) {
  • monbillet-embed/trunk/vendor/symfony/intl/composer.json

    r3300607 r3343991  
    2525    ],
    2626    "require": {
    27         "php": ">=8.2",
    28         "symfony/deprecation-contracts": "^2.5|^3"
     27        "php": ">=8.1"
    2928    },
    3029    "require-dev": {
    31         "symfony/filesystem": "^6.4|^7.0",
    32         "symfony/var-exporter": "^6.4|^7.0"
    33     },
    34     "conflict": {
    35         "symfony/string": "<7.1"
     30        "symfony/filesystem": "^5.4|^6.0|^7.0",
     31        "symfony/finder": "^5.4|^6.0|^7.0",
     32        "symfony/var-exporter": "^5.4|^6.0|^7.0"
    3633    },
    3734    "autoload": {
  • monbillet-embed/trunk/vendor/symfony/string/AbstractString.php

    r3300607 r3343991  
    4040    public const PREG_SPLIT_OFFSET_CAPTURE = \PREG_SPLIT_OFFSET_CAPTURE;
    4141
    42     protected string $string = '';
    43     protected ?bool $ignoreCase = false;
     42    protected $string = '';
     43    protected $ignoreCase = false;
    4444
    4545    abstract public function __construct(string $string = '');
     
    434434    abstract public function snake(): static;
    435435
    436     public function kebab(): static
    437     {
    438         return $this->snake()->replace('_', '-');
    439     }
    440 
    441436    abstract public function splice(string $replacement, int $start = 0, ?int $length = null): static;
    442437
     
    611606    }
    612607
    613     public function truncate(int $length, string $ellipsis = '', bool|TruncateMode $cut = TruncateMode::Char): static
     608    public function truncate(int $length, string $ellipsis = '', bool $cut = true): static
    614609    {
    615610        $stringLength = $this->length();
     
    625620        }
    626621
    627         $desiredLength = $length;
    628         if (TruncateMode::WordAfter === $cut || !$cut) {
     622        if (!$cut) {
    629623            if (null === $length = $this->indexOf([' ', "\r", "\n", "\t"], ($length ?: 1) - 1)) {
    630624                return clone $this;
     
    632626
    633627            $length += $ellipsisLength;
    634         } elseif (TruncateMode::WordBefore === $cut && null !== $this->indexOf([' ', "\r", "\n", "\t"], ($length ?: 1) - 1)) {
    635             $length += $ellipsisLength;
    636628        }
    637629
    638630        $str = $this->slice(0, $length - $ellipsisLength);
    639 
    640         if (TruncateMode::WordBefore === $cut) {
    641             if (0 === $ellipsisLength && $desiredLength === $this->indexOf([' ', "\r", "\n", "\t"], $length)) {
    642                 return $str;
    643             }
    644 
    645             $str = $str->beforeLast([' ', "\r", "\n", "\t"]);
    646         }
    647631
    648632        return $ellipsisLength ? $str->trimEnd()->append($ellipsis) : $str;
  • monbillet-embed/trunk/vendor/symfony/string/AbstractUnicodeString.php

    r3300607 r3343991  
    227227    }
    228228
    229     /**
    230      * @param string $locale In the format language_region (e.g. tr_TR)
    231      */
    232     public function localeLower(string $locale): static
    233     {
    234         if (null !== $transliterator = $this->getLocaleTransliterator($locale, 'Lower')) {
    235             $str = clone $this;
    236             $str->string = $transliterator->transliterate($str->string);
    237 
    238             return $str;
    239         }
    240 
    241         return $this->lower();
    242     }
    243 
    244229    public function match(string $regexp, int $flags = 0, int $offset = 0): array
    245230    {
     
    385370    }
    386371
    387     /**
    388      * @param string $locale In the format language_region (e.g. tr_TR)
    389      */
    390     public function localeTitle(string $locale): static
    391     {
    392         if (null !== $transliterator = $this->getLocaleTransliterator($locale, 'Title')) {
    393             $str = clone $this;
    394             $str->string = $transliterator->transliterate($str->string);
    395 
    396             return $str;
    397         }
    398 
    399         return $this->title();
    400     }
    401 
    402372    public function trim(string $chars = " \t\n\r\0\x0B\x0C\u{A0}\u{FEFF}"): static
    403373    {
     
    485455
    486456        return $str;
    487     }
    488 
    489     /**
    490      * @param string $locale In the format language_region (e.g. tr_TR)
    491      */
    492     public function localeUpper(string $locale): static
    493     {
    494         if (null !== $transliterator = $this->getLocaleTransliterator($locale, 'Upper')) {
    495             $str = clone $this;
    496             $str->string = $transliterator->transliterate($str->string);
    497 
    498             return $str;
    499         }
    500 
    501         return $this->upper();
    502457    }
    503458
     
    639594        return $width;
    640595    }
    641 
    642     private function getLocaleTransliterator(string $locale, string $id): ?\Transliterator
    643     {
    644         $rule = $locale.'-'.$id;
    645         if (\array_key_exists($rule, self::$transliterators)) {
    646             return self::$transliterators[$rule];
    647         }
    648 
    649         if (null !== $transliterator = self::$transliterators[$rule] = \Transliterator::create($rule)) {
    650             return $transliterator;
    651         }
    652 
    653         // Try to find a parent locale (nl_BE -> nl)
    654         if (false === $i = strpos($locale, '_')) {
    655             return null;
    656         }
    657 
    658         $parentRule = substr_replace($locale, '-'.$id, $i);
    659 
    660         // Parent locale was already cached, return and store as current locale
    661         if (\array_key_exists($parentRule, self::$transliterators)) {
    662             return self::$transliterators[$rule] = self::$transliterators[$parentRule];
    663         }
    664 
    665         // Create transliterator based on parent locale and cache the result on both initial and parent locale values
    666         $transliterator = \Transliterator::create($parentRule);
    667 
    668         return self::$transliterators[$rule] = self::$transliterators[$parentRule] = $transliterator;
    669     }
    670596}
  • monbillet-embed/trunk/vendor/symfony/string/ByteString.php

    r3300607 r3343991  
    1212namespace Symfony\Component\String;
    1313
    14 use Random\Randomizer;
    1514use Symfony\Component\String\Exception\ExceptionInterface;
    1615use Symfony\Component\String\Exception\InvalidArgumentException;
     
    5554        if ($bits <= 0 || $bits > 56) {
    5655            throw new InvalidArgumentException('The length of the alphabet must in the [2^1, 2^56] range.');
    57         }
    58 
    59         if (\PHP_VERSION_ID >= 80300) {
    60             return new static((new Randomizer())->getBytesFromString($alphabet, $length));
    6156        }
    6257
     
    341336    {
    342337        $str = clone $this;
    343         $str->string = substr($this->string, $start, $length ?? \PHP_INT_MAX);
     338        $str->string = (string) substr($this->string, $start, $length ?? \PHP_INT_MAX);
    344339
    345340        return $str;
  • monbillet-embed/trunk/vendor/symfony/string/CHANGELOG.md

    r3300607 r3343991  
    11CHANGELOG
    22=========
    3 
    4 7.2
    5 ---
    6 
    7  * Add `TruncateMode` enum to handle more truncate methods
    8  * Add the `AbstractString::kebab()` method
    9 
    10 7.1
    11 ---
    12 
    13  * Add `localeLower()`, `localeUpper()`, `localeTitle()` methods to `AbstractUnicodeString`
    143
    1546.2
  • monbillet-embed/trunk/vendor/symfony/string/LazyString.php

    r3300607 r3343991  
    130130            $r = new \ReflectionFunction($callback);
    131131
    132             if ($r->isAnonymous() || !$class = $r->getClosureCalledClass()) {
     132            if (str_contains($r->name, '{closure') || !$class = \PHP_VERSION_ID >= 80111 ? $r->getClosureCalledClass() : $r->getClosureScopeClass()) {
    133133                return $r->name;
    134134            }
  • monbillet-embed/trunk/vendor/symfony/string/Slugger/AsciiSlugger.php

    r3300607 r3343991  
    1212namespace Symfony\Component\String\Slugger;
    1313
    14 use Symfony\Component\Emoji\EmojiTransliterator;
     14use Symfony\Component\Intl\Transliterator\EmojiTransliterator;
    1515use Symfony\Component\String\AbstractUnicodeString;
    1616use Symfony\Component\String\UnicodeString;
     
    5656    ];
    5757
     58    private ?string $defaultLocale;
    5859    private \Closure|array $symbolsMap = [
    5960        'en' => ['@' => 'at', '&' => 'and'],
     
    6869    private array $transliterators = [];
    6970
    70     public function __construct(
    71         private ?string $defaultLocale = null,
    72         array|\Closure|null $symbolsMap = null,
    73     ) {
     71    public function __construct(?string $defaultLocale = null, array|\Closure|null $symbolsMap = null)
     72    {
     73        $this->defaultLocale = $defaultLocale;
    7474        $this->symbolsMap = $symbolsMap ?? $this->symbolsMap;
    7575    }
    7676
    77     public function setLocale(string $locale): void
     77    /**
     78     * @return void
     79     */
     80    public function setLocale(string $locale)
    7881    {
    7982        $this->defaultLocale = $locale;
     
    9396    {
    9497        if (false !== $emoji && !class_exists(EmojiTransliterator::class)) {
    95             throw new \LogicException(\sprintf('You cannot use the "%s()" method as the "symfony/emoji" package is not installed. Try running "composer require symfony/emoji".', __METHOD__));
     98            throw new \LogicException(\sprintf('You cannot use the "%s()" method as the "symfony/intl" package is not installed. Try running "composer require symfony/intl".', __METHOD__));
    9699        }
    97100
  • monbillet-embed/trunk/vendor/symfony/string/UnicodeString.php

    r3300607 r3343991  
    287287
    288288        $start = $start ? \strlen(grapheme_substr($this->string, 0, $start)) : 0;
    289         $length = $length ? \strlen(grapheme_substr($this->string, $start, $length)) : $length;
     289        $length = $length ? \strlen(grapheme_substr($this->string, $start, $length ?? 2147483647)) : $length;
    290290        $str->string = substr_replace($this->string, $replacement, $start, $length ?? 2147483647);
    291291
     
    363363    }
    364364
    365     public function __wakeup(): void
     365    /**
     366     * @return void
     367     */
     368    public function __wakeup()
    366369    {
    367370        if (!\is_string($this->string)) {
  • monbillet-embed/trunk/vendor/symfony/string/composer.json

    r3300607 r3343991  
    1717    ],
    1818    "require": {
    19         "php": ">=8.2",
     19        "php": ">=8.1",
    2020        "symfony/polyfill-ctype": "~1.8",
    2121        "symfony/polyfill-intl-grapheme": "~1.0",
     
    2424    },
    2525    "require-dev": {
    26         "symfony/error-handler": "^6.4|^7.0",
    27         "symfony/emoji": "^7.1",
    28         "symfony/http-client": "^6.4|^7.0",
    29         "symfony/intl": "^6.4|^7.0",
     26        "symfony/error-handler": "^5.4|^6.0|^7.0",
     27        "symfony/intl": "^6.2|^7.0",
     28        "symfony/http-client": "^5.4|^6.0|^7.0",
    3029        "symfony/translation-contracts": "^2.5|^3.0",
    31         "symfony/var-exporter": "^6.4|^7.0"
     30        "symfony/var-exporter": "^5.4|^6.0|^7.0"
    3231    },
    3332    "conflict": {
Note: See TracChangeset for help on using the changeset viewer.