Branch: refs/heads/master Home: https://github.com/phpmyadmin/sql-parser Commit: 1514837104b12d4a95c8ed389ed9fee01cf50c9b https://github.com/phpmyadmin/sql-parser/commit/1514837104b12d4a95c8ed389ed9... Author: Ardit Tirana <ardit.tirana@protonmail.com> Date: 2026-06-22 (Mon, 06 June 2026) +02:00 Changed paths: M psalm-baseline.xml M src/Utils/Misc.php M tests/Utils/MiscTest.php Log Message: ----------- Avoid using a null alias as an array offset in getAliases() Misc::getAliases() built a table-alias map with `$tables[$thisDb][$expr->alias] = $expr->table` for every FROM/JOIN expression. When a table has no alias, `$expr->alias` is null, so this used null as an array offset, which is deprecated as of PHP 8.5. The null-keyed entry was never read back: the only consumer looks up `$tables[$thisDb][$expr->table]`, whose offset is always a non-empty string. Skip expressions without an alias. getAliases() output is unchanged. Removes the now-resolved PossiblyNullArrayOffset baseline entry and adds a regression test. Commit: 290d1dedd7ca1bfaa9a9f92e6167d3dd8f58068f https://github.com/phpmyadmin/sql-parser/commit/290d1dedd7ca1bfaa9a9f92e6167... Author: Ardit Tirana <ardit.tirana@protonmail.com> Date: 2026-06-26 (Fri, 06 June 2026) +02:00 Changed paths: M src/Utils/Misc.php Log Message: ----------- Use non-Yoda null comparison to satisfy coding standard Commit: 12287ea0c38708038ff3acba9bc3fba76eedbfd0 https://github.com/phpmyadmin/sql-parser/commit/12287ea0c38708038ff3acba9bc3... Author: William Desportes <williamdes@wdes.fr> Date: 2026-06-26 (Fri, 06 June 2026) +02:00 Changed paths: M psalm-baseline.xml M src/Utils/Misc.php M tests/Utils/MiscTest.php Log Message: ----------- Merge #658 - Avoid using a null alias as an array offset in getAliases() Pull-request: #658 Signed-off-by: William Desportes <williamdes@wdes.fr> Commit: 93eaf8e877d66cb74720188c38800353cd1f8eb9 https://github.com/phpmyadmin/sql-parser/commit/93eaf8e877d66cb74720188c3880... Author: William Desportes <williamdes@wdes.fr> Date: 2026-06-26 (Fri, 06 June 2026) +02:00 Changed paths: M psalm-baseline.xml M src/Statements/SelectStatement.php M tests/Builder/StatementTest.php Log Message: ----------- Merge branch '5.11.x'