Branch: refs/heads/6.0.x
Home: https://github.com/phpmyadmin/sql-parser
Commit: 234f96f96839bfb4f7fb7f5f1e93908a2c99eac1
https://github.com/phpmyadmin/sql-parser/commit/234f96f96839bfb4f7fb7f5f1e93908a2c99eac1
Author: Maximilian Krög <[email protected]>
Date: 2025-08-23 (Sat, 08 August 2025) +02:00

Changed paths: 
M phpstan-baseline.neon
M psalm-baseline.xml
M src/Components/IntoKeyword.php
M tests/Builder/InsertStatementTest.php

Log Message:
-----------
Build insert statement with context's quote style

Commit: 43ad0a746891074467747ad1a8aae5a6066bb80e
https://github.com/phpmyadmin/sql-parser/commit/43ad0a746891074467747ad1a8aae5a6066bb80e
Author: Liviu-Mihail Concioiu <[email protected]>
Date: 2026-03-20 (Fri, 03 March 2026) +01:00

Changed paths: 
M composer.json

Log Message:
-----------
Bump zumba/json-serializer version to ^3.2

Signed-off-by: Liviu-Mihail Concioiu <[email protected]>

Commit: 83886f689db6a50a7f977c8a671276bf1806b210
https://github.com/phpmyadmin/sql-parser/commit/83886f689db6a50a7f977c8a671276bf1806b210
Author: William Desportes <[email protected]>
Date: 2026-04-01 (Wed, 04 April 2026) +02:00

Changed paths: 
M .scrutinizer.yml

Log Message:
-----------
Update the Scrutinizer base image for PHP 7.2 to work

Commit: 36d2ded4c916c38059975ccca1678ea240c4f70e
https://github.com/phpmyadmin/sql-parser/commit/36d2ded4c916c38059975ccca1678ea240c4f70e
Author: William Desportes <[email protected]>
Date: 2026-04-01 (Wed, 04 April 2026) +02:00

Changed paths: 
M composer.json

Log Message:
-----------
Merge #648 - Bump zumba/json-serializer version to ^3.2

Pull-request: #648
Signed-off-by: William Desportes <[email protected]>

Commit: 018f3471b3121d2e9281a98fb5988886bee53b65
https://github.com/phpmyadmin/sql-parser/commit/018f3471b3121d2e9281a98fb5988886bee53b65
Author: William Desportes <[email protected]>
Date: 2026-04-01 (Wed, 04 April 2026) +02:00

Changed paths: 
M .scrutinizer.yml

Log Message:
-----------
Update composer to version 2 on Scrutinizer

Commit: 3a7c59a80850d96385792311078112573845140a
https://github.com/phpmyadmin/sql-parser/commit/3a7c59a80850d96385792311078112573845140a
Author: Sean Wei <[email protected]>
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 <[email protected]>
Co-Authored-By: William Desportes <[email protected]>

Commit: caf66936b4b036569482270cf20fd0bfeb0c5e67
https://github.com/phpmyadmin/sql-parser/commit/caf66936b4b036569482270cf20fd0bfeb0c5e67
Author: William Desportes <[email protected]>
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 <[email protected]>

Commit: fe8e3bfc6dbd3ad276cb09f4c99c2162ff703143
https://github.com/phpmyadmin/sql-parser/commit/fe8e3bfc6dbd3ad276cb09f4c99c2162ff703143
Author: William Desportes <[email protected]>
Date: 2026-04-01 (Wed, 04 April 2026) +02:00

Changed paths: 
M .github/workflows/lint-and-analyse-php.yml
M .github/workflows/lint-docs.yml
M .github/workflows/mutation-tests.yml
M .github/workflows/tests.yml

Log Message:
-----------
Bump action and setup codecov using the token method

Commit: 4562caff685140c43c9ac8963f9172c0d135cf0a
https://github.com/phpmyadmin/sql-parser/commit/4562caff685140c43c9ac8963f9172c0d135cf0a
Author: William Desportes <[email protected]>
Date: 2026-04-01 (Wed, 04 April 2026) +02:00

Changed paths: 
M .github/workflows/lint-and-analyse-php.yml
M .github/workflows/lint-docs.yml
M .github/workflows/mutation-tests.yml
M .github/workflows/tests.yml

Log Message:
-----------
Add missing permissions to GitHub workflows

Commit: 8d57493b1d454805145f18cfdefe8ea3461e8dc7
https://github.com/phpmyadmin/sql-parser/commit/8d57493b1d454805145f18cfdefe8ea3461e8dc7
Author: William Desportes <[email protected]>
Date: 2026-04-01 (Wed, 04 April 2026) +02:00

Changed paths: 
M .github/workflows/tests.yml

Log Message:
-----------
Bump codecov/codecov-action to v6

Commit: 0df242786716bfe68023a05ed26a9c22f5c04a22
https://github.com/phpmyadmin/sql-parser/commit/0df242786716bfe68023a05ed26a9c22f5c04a22
Author: William Desportes <[email protected]>
Date: 2026-04-01 (Wed, 04 April 2026) +02:00

Changed paths: 
M .github/workflows/lint-and-analyse-php.yml
M .github/workflows/mutation-tests.yml
M .github/workflows/tests.yml

Log Message:
-----------
Bump ramsey/composer-install to v4

Commit: 7e773e2942b05f802deafd654fa478233f449b83
https://github.com/phpmyadmin/sql-parser/commit/7e773e2942b05f802deafd654fa478233f449b83
Author: Nicolai Ehrhardt <[email protected]>
Date: 2026-04-02 (Thu, 04 April 2026) +02:00

Changed paths: 
M src/Components/AlterOperation.php

Log Message:
-----------
Fix ALTER index parsing: DESC should not begin a new statement (#592)

Signed-off-by: Nicolai Ehrhardt 
<[email protected]>

Commit: 2bdb0df49a0a4d494632812c656483f33ca0a037
https://github.com/phpmyadmin/sql-parser/commit/2bdb0df49a0a4d494632812c656483f33ca0a037
Author: Nicolai Ehrhardt <[email protected]>
Date: 2026-04-02 (Thu, 04 April 2026) +02:00

Changed paths: 
A tests/data/parser/parseAlterTableAddUniqueKeyDesc.in
A tests/data/parser/parseAlterTableAddUniqueKeyDesc.out
M tests/Parser/AlterStatementTest.php

Log Message:
-----------
Add test for DESC index (#592)

Signed-off-by: Nicolai Ehrhardt 
<[email protected]>

Commit: 42d40ad75afd8916b21381b4c0de1df62112e6a6
https://github.com/phpmyadmin/sql-parser/commit/42d40ad75afd8916b21381b4c0de1df62112e6a6
Author: Nicolai Ehrhardt <[email protected]>
Date: 2026-04-02 (Thu, 04 April 2026) +02:00

Changed paths: 
A tests/data/parser/parseAlterTableAddUniqueKeyAsc.in
A tests/data/parser/parseAlterTableAddUniqueKeyAsc.out
A tests/data/parser/parseAlterTableAddUniqueKeyDescLower.in
A tests/data/parser/parseAlterTableAddUniqueKeyDescLower.out
A tests/data/parser/parseAlterTableAddUniqueKeyTwoDesc.in
A tests/data/parser/parseAlterTableAddUniqueKeyTwoDesc.out
M tests/data/parser/parseAlterTableAddUniqueKeyDesc.in
M tests/data/parser/parseAlterTableAddUniqueKeyDesc.out

Log Message:
-----------
Add tests for ASC and lowercase keyword (#592)

Signed-off-by: Nicolai Ehrhardt 
<[email protected]>

Commit: a40cf3ee8eab1fea6c4099c11376386613ed89d6
https://github.com/phpmyadmin/sql-parser/commit/a40cf3ee8eab1fea6c4099c11376386613ed89d6
Author: Nicolai Ehrhardt <[email protected]>
Date: 2026-04-02 (Thu, 04 April 2026) +02:00

Changed paths: 
A tests/data/parser/parseAlterTableAddUniqueKeyAscDesc.in
A tests/data/parser/parseAlterTableAddUniqueKeyAscDesc.out
A tests/data/parser/parseAlterTableAddUniqueKeyAscLower.in
A tests/data/parser/parseAlterTableAddUniqueKeyAscLower.out
A tests/data/parser/parseAlterTableAddUniqueKeyDescAsc.in
A tests/data/parser/parseAlterTableAddUniqueKeyDescAsc.out
M tests/Parser/AlterStatementTest.php

Log Message:
-----------
#592 link test files and add asc-desc index tests

Commit: 16e7632e346680c84e21a814d4a679e1f8e446b1
https://github.com/phpmyadmin/sql-parser/commit/16e7632e346680c84e21a814d4a679e1f8e446b1
Author: William Desportes <[email protected]>
Date: 2026-04-02 (Thu, 04 April 2026) +02:00

Changed paths: 
M tests/data/parser/parseAlterTableAddUniqueKeyAsc.out
M tests/data/parser/parseAlterTableAddUniqueKeyAscDesc.out
M tests/data/parser/parseAlterTableAddUniqueKeyAscLower.out
M tests/data/parser/parseAlterTableAddUniqueKeyDesc.out
M tests/data/parser/parseAlterTableAddUniqueKeyDescAsc.out
M tests/data/parser/parseAlterTableAddUniqueKeyDescLower.out
M tests/data/parser/parseAlterTableAddUniqueKeyTwoDesc.out

Log Message:
-----------
Regenerate the test data

Commit: 5b68e0161205200dfd9169b98648b02ad1bd3d97
https://github.com/phpmyadmin/sql-parser/commit/5b68e0161205200dfd9169b98648b02ad1bd3d97
Author: William Desportes <[email protected]>
Date: 2026-04-02 (Thu, 04 April 2026) +02:00

Changed paths: 
A tests/data/parser/parseAlterTableAddUniqueKeyAsc.in
A tests/data/parser/parseAlterTableAddUniqueKeyAsc.out
A tests/data/parser/parseAlterTableAddUniqueKeyAscDesc.in
A tests/data/parser/parseAlterTableAddUniqueKeyAscDesc.out
A tests/data/parser/parseAlterTableAddUniqueKeyAscLower.in
A tests/data/parser/parseAlterTableAddUniqueKeyAscLower.out
A tests/data/parser/parseAlterTableAddUniqueKeyDesc.in
A tests/data/parser/parseAlterTableAddUniqueKeyDesc.out
A tests/data/parser/parseAlterTableAddUniqueKeyDescAsc.in
A tests/data/parser/parseAlterTableAddUniqueKeyDescAsc.out
A tests/data/parser/parseAlterTableAddUniqueKeyDescLower.in
A tests/data/parser/parseAlterTableAddUniqueKeyDescLower.out
A tests/data/parser/parseAlterTableAddUniqueKeyTwoDesc.in
A tests/data/parser/parseAlterTableAddUniqueKeyTwoDesc.out
M src/Components/AlterOperation.php
M tests/Parser/AlterStatementTest.php

Log Message:
-----------
Merge #636 - Fix #592 - desc index lint error

Pull-request: #636
Fixes: #592
Signed-off-by: William Desportes <[email protected]>

Commit: 0195e948ab403f52aecfc319061c98cc3d91d8dd
https://github.com/phpmyadmin/sql-parser/commit/0195e948ab403f52aecfc319061c98cc3d91d8dd
Author: William Desportes <[email protected]>
Date: 2026-04-02 (Thu, 04 April 2026) +02:00

Changed paths: 
M phpstan-baseline.neon
M psalm-baseline.xml
M src/Components/IntoKeyword.php
M tests/Builder/InsertStatementTest.php

Log Message:
-----------
Merge #631 - Build insert statement with context's quote style

Pull-request: #631
Fixes: #630
Signed-off-by: William Desportes <[email protected]>

Commit: 3e9ce57f4944e66d7b50c62632e56d74f6f983f5
https://github.com/phpmyadmin/sql-parser/commit/3e9ce57f4944e66d7b50c62632e56d74f6f983f5
Author: William Desportes <[email protected]>
Date: 2026-04-02 (Thu, 04 April 2026) +02:00

Changed paths: 
M tests/Builder/InsertStatementTest.php

Log Message:
-----------
phpunit data providers must be static

Commit: 4c45eac1c2c743a3128df542f7bcf37339adb071
https://github.com/phpmyadmin/sql-parser/commit/4c45eac1c2c743a3128df542f7bcf37339adb071
Author: William Desportes <[email protected]>
Date: 2026-04-09 (Thu, 04 April 2026) +02:00

Changed paths: 
M phpstan-baseline.neon
M psalm-baseline.xml
M src/Utils/Query.php
M tests/Utils/QueryTest.php

Log Message:
-----------
Fix #609 - Attempt to read property "keyword" on null

Commit: 1514837104b12d4a95c8ed389ed9fee01cf50c9b
https://github.com/phpmyadmin/sql-parser/commit/1514837104b12d4a95c8ed389ed9fee01cf50c9b
Author: Ardit Tirana <[email protected]>
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/290d1dedd7ca1bfaa9a9f92e6167d3dd8f58068f
Author: Ardit Tirana <[email protected]>
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/12287ea0c38708038ff3acba9bc3fba76eedbfd0
Author: William Desportes <[email protected]>
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 <[email protected]>

Commit: 6e52cae73014b42efcbb60f56847b0b9574201b9
https://github.com/phpmyadmin/sql-parser/commit/6e52cae73014b42efcbb60f56847b0b9574201b9
Author: Maurício Meneghini Fauth <[email protected]>
Date: 2026-07-03 (Fri, 07 July 2026) -03:00

Changed paths: 
M .github/workflows/tests.yml

Log Message:
-----------
Add support for PHP 8.6

Signed-off-by: Maurício Meneghini Fauth <[email protected]>

Commit: 5303ac87db6872b68ccaaf55a6ef3042caaaeb11
https://github.com/phpmyadmin/sql-parser/commit/5303ac87db6872b68ccaaf55a6ef3042caaaeb11
Author: Maurício Meneghini Fauth <[email protected]>
Date: 2026-07-04 (Sat, 07 July 2026) -03:00

Changed paths: 
M .github/workflows/tests.yml

Log Message:
-----------
Merge pull request #659 from MauricioFauth/php8.6

Add support for PHP 8.6

Commit: 136bf83fdeb77581456ef1d7bfa155dd820b8dd5
https://github.com/phpmyadmin/sql-parser/commit/136bf83fdeb77581456ef1d7bfa155dd820b8dd5
Author: Maurício Meneghini Fauth <[email protected]>
Date: 2026-07-04 (Sat, 07 July 2026) -03:00

Changed paths: 
A tests/data/parser/parseAlterTableAddUniqueKeyAsc.in
A tests/data/parser/parseAlterTableAddUniqueKeyAsc.out
A tests/data/parser/parseAlterTableAddUniqueKeyAscDesc.in
A tests/data/parser/parseAlterTableAddUniqueKeyAscDesc.out
A tests/data/parser/parseAlterTableAddUniqueKeyAscLower.in
A tests/data/parser/parseAlterTableAddUniqueKeyAscLower.out
A tests/data/parser/parseAlterTableAddUniqueKeyDesc.in
A tests/data/parser/parseAlterTableAddUniqueKeyDesc.out
A tests/data/parser/parseAlterTableAddUniqueKeyDescAsc.in
A tests/data/parser/parseAlterTableAddUniqueKeyDescAsc.out
A tests/data/parser/parseAlterTableAddUniqueKeyDescLower.in
A tests/data/parser/parseAlterTableAddUniqueKeyDescLower.out
A tests/data/parser/parseAlterTableAddUniqueKeyTwoDesc.in
A tests/data/parser/parseAlterTableAddUniqueKeyTwoDesc.out
M .github/workflows/lint-and-analyse-php.yml
M .github/workflows/lint-docs.yml
M .github/workflows/mutation-tests.yml
M .github/workflows/tests.yml
M .scrutinizer.yml
M phpstan-baseline.neon
M psalm-baseline.xml
M src/Components/IntoKeyword.php
M src/Context.php
M src/Parsers/AlterOperations.php
M src/Statements/SelectStatement.php
M src/Utils/Formatter.php
M src/Utils/Query.php
M tests/Builder/InsertStatementTest.php
M tests/Builder/StatementTest.php
M tests/Parser/AlterStatementTest.php
M tests/Utils/FormatterTest.php
M tests/Utils/QueryTest.php

Log Message:
-----------
Merge branch '5.11.x' into 6.0.x

Signed-off-by: Maurício Meneghini Fauth <[email protected]>

_______________________________________________
Git mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to