[phpmyadmin/sql-parser] 3a7c59: Fix formatter spacing for JSON path operators (->, ->>)
Branch: refs/heads/master Home: https://github.com/phpmyadmin/sql-parser Commit: 3a7c59a80850d96385792311078112573845140a https://github.com/phpmyadmin/sql-parser/commit/3a7c59a80850d963857923110781... Author: Sean Wei <me@sean.taipei> Date: 2026-04-01 (Wed, 04 April 2026) +02:00 Changed paths: M src/Context.php M src/Utils/Formatter.php M tests/Utils/FormatterTest.php Log Message: ----------- Fix formatter spacing for JSON path operators (->, ->>) - Treat `->` and `->>` as SQL operators in the lexer. - Prevent formatter from inserting spaces around JSON path operators. - Add formatter test for JSON path access. For example: ```sql SELECT details->'$."first_name"' FROM users; ``` Signed-off-by: Sean Wei <me@sean.taipei> Co-Authored-By: William Desportes <williamdes@wdes.fr> Commit: caf66936b4b036569482270cf20fd0bfeb0c5e67 https://github.com/phpmyadmin/sql-parser/commit/caf66936b4b036569482270cf20f... Author: William Desportes <williamdes@wdes.fr> Date: 2026-04-01 (Wed, 04 April 2026) +02:00 Changed paths: M src/Context.php M src/Utils/Formatter.php M tests/Utils/FormatterTest.php Log Message: ----------- Merge #637 - Fix formatter spacing for JSON path operators (->, ->>) Pull-request: #637 Signed-off-by: William Desportes <williamdes@wdes.fr> Commit: 53c0ef8013efaf2d80fcef04d41014075d881622 https://github.com/phpmyadmin/sql-parser/commit/53c0ef8013efaf2d80fcef04d410... Author: William Desportes <williamdes@wdes.fr> Date: 2026-04-01 (Wed, 04 April 2026) +02:00 Changed paths: M src/Context.php M src/Utils/Formatter.php M tests/Utils/FormatterTest.php Log Message: ----------- Merge branch '5.11.x' Commit: 9433e807c2b75295552f5601d37d9271b0ef8ec1 https://github.com/phpmyadmin/sql-parser/commit/9433e807c2b75295552f5601d37d... Author: William Desportes <williamdes@wdes.fr> Date: 2026-04-01 (Wed, 04 April 2026) +02:00 Changed paths: M .scrutinizer.yml Log Message: ----------- vimeo/psalm needs a newer version of PHP on Scrutinizer Commit: 3a89a2abf05a820d475656d96112614c518ef706 https://github.com/phpmyadmin/sql-parser/commit/3a89a2abf05a820d475656d96112... Author: William Desportes <williamdes@wdes.fr> Date: 2026-04-01 (Wed, 04 April 2026) +02:00 Changed paths: M phpstan-baseline.neon M psalm-baseline.xml Log Message: ----------- Update phpstan and psalm baselines Commit: 1f813cf4e1c881a790b319037a9dfa8b8f6f0412 https://github.com/phpmyadmin/sql-parser/commit/1f813cf4e1c881a790b319037a9d... Author: William Desportes <williamdes@wdes.fr> Date: 2026-04-01 (Wed, 04 April 2026) +02:00 Changed paths: M composer.json Log Message: ----------- Bump phpstan, psalm and phpbench tools Commit: 18730fb735756e33ecca58c90a20a8507e8f29ec https://github.com/phpmyadmin/sql-parser/commit/18730fb735756e33ecca58c90a20... Author: William Desportes <williamdes@wdes.fr> Date: 2026-04-01 (Wed, 04 April 2026) +02:00 Changed paths: M composer.json Log Message: ----------- Bump phpmyadmin/coding-standard and phpmyadmin/motranslator - phpmyadmin/motranslator -> Drop old PHP versions
participants (1)
-
Sean Wei