[phpmyadmin/motranslator] 5d6225: Fix the PHPStan analyse job by renaming the loop variable so that the parameter is not overwritten
Branch: refs/heads/6.0.x Home: https://github.com/phpmyadmin/motranslator Commit: 5d622554809b4def1d4a517b62eea7daa4ab3ec5 https://github.com/phpmyadmin/motranslator/commit/5d622554809b4def1d4a517b62... Author: William Desportes <williamdes@wdes.fr> Date: 2026-10-23 (Fri, 10 October 2026) +02:00 Changed paths: M src/Translator.php Log Message: ----------- Fix the PHPStan analyse job by renaming the loop variable so that the parameter is not overwritten Co-Authored-By: DeepSeek <noreply@deepseek.com> Commit: 2e84c62eb8b10d59ca1698f84c11e0656992e0f8 https://github.com/phpmyadmin/motranslator/commit/2e84c62eb8b10d59ca1698f84c... Author: William Desportes <williamdes@wdes.fr> Date: 2026-10-23 (Fri, 10 October 2026) +02:00 Changed paths: M CHANGELOG.md M composer.json Log Message: ----------- Require patched symfony/expression-language versions symfony/expression-language versions below 5.4.54, 6.4.48 and 7.4.21 are affected by CVE-2026-109449 (unbounded nesting in the expression parser can crash the process), which makes Composer refuse to install them. Closes: #66 Co-Authored-By: DeepSeek <noreply@deepseek.com> Commit: 1ba5f5579f0f1ba5befd9c975610b304d5494a87 https://github.com/phpmyadmin/motranslator/commit/1ba5f5579f0f1ba5befd9c9756... Author: William Desportes <williamdes@wdes.fr> Date: 2026-10-23 (Fri, 10 October 2026) +02:00 Changed paths: M CHANGELOG.md M composer.json M src/Translator.php M tests/PluralTest.php Log Message: ----------- Fix the plural form selection for boolean plural expressions The ExpressionLanguage component evaluates a plural formula such as "n != 1" to a boolean, which is_numeric() rejects, so the plural index was always 0 and the singular form was returned for every count. This regression was introduced in 298752e and is only present in the 6.x releases. Fixes: #58 Co-Authored-By: DeepSeek <noreply@deepseek.com> Commit: 9bed787b3a30f1be4ce4138e408700f1800cb1ae https://github.com/phpmyadmin/motranslator/commit/9bed787b3a30f1be4ce4138e40... Author: William Desportes <williamdes@wdes.fr> Date: 2026-10-23 (Fri, 10 October 2026) +02:00 Changed paths: M phpstan-baseline.neon M src/Translator.php Log Message: ----------- Merge branch '5.4.x' into 6.0.x
participants (1)
-
William Desportes