summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for version 4.5.04.5.0origin/QAIsaac Bennetch2020-01-071-1/+1
| | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* Fix phpdoc using phpstan level 3William Desportes2019-12-318-17/+17
| | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Add CHANGELOG entries for #259 and #249William Desportes2019-12-311-0/+2
| | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Merge #280 - Add support for DROP USER statementWilliam Desportes2019-12-316-0/+31
|\ | | | | | | | | | | | | Pull-request: #280 Fixes: #259 Signed-off-by: William Desportes <williamdes@wdes.fr>
| * fix #259: Add support for DROP USER statementDeven Bansod2019-12-316-0/+31
| |
* | Merge #279 - fix php error undefined indexWilliam Desportes2019-12-312-1/+15
|\ \ | |/ |/| | | | | | | | | Pull-request: #279 Fixes: #249 Signed-off-by: William Desportes <williamdes@wdes.fr>
| * Fix #249 - Notice - Undefined index: ORDER BYWilliam Desportes2019-12-311-1/+1
| | | | | | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
| * Add test case for #249William Desportes2019-12-311-0/+14
|/ | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Add more tests for CLI stdinWilliam Desportes2019-12-313-1/+213
| | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Cover some edge casesWilliam Desportes2019-12-312-2/+141
| | | | | | Ref: #154 (See my comment for one test I added) Signed-off-by: William Desportes <williamdes@wdes.fr>
* Add test cases for CALL and TRUNCATE statementsWilliam Desportes2019-12-312-0/+59
| | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Fix CONTRIBUTING.md instructionsWilliam Desportes2019-12-311-4/+4
| | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Fix phpcs errors using 2.9 version and allow 3.4 versionWilliam Desportes2019-12-312-1/+31
| | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Add php 7.4 to test matrixWilliam Desportes2019-12-311-0/+1
| | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Add CHANGELOG entries for #275, #231, #255William Desportes2019-12-311-0/+3
| | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Merge #276 - add missing options in SET statementWilliam Desportes2019-12-314-2/+122
|\ | | | | | | | | | | | | Pull-request: #276 Fixes: #255 Signed-off-by: William Desportes <williamdes@wdes.fr>
| * fix #255: add missing options in SET statementDeven Bansod2019-12-294-2/+122
| |
* | Merge #277 - allow SCHEMA to be used in CREATE Database statementWilliam Desportes2019-12-3111-4/+35
|\ \ | | | | | | | | | | | | | | | | | | Pull-request: #277 Fixes: #231 Signed-off-by: William Desportes <williamdes@wdes.fr>
| * | fix #231: allow SCHEMA to be used in CREATE Database statementDeven Bansod2019-12-2911-4/+35
| |/
* | Merge #278 - Prevent overwrite of offset in Limit clause by parenthesisWilliam Desportes2019-12-315-3/+22
|\ \ | |/ |/| | | | | | | | | Pull-request: #278 Fixes: #275 Signed-off-by: William Desportes <williamdes@wdes.fr>
| * 275: Prevent overwrite of offset in Limit clause by parenthesisDeven Bansod2019-12-305-3/+22
|/
* Set last CHANGELOG as unreleasedWilliam Desportes2019-11-131-1/+4
| | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Add CHANGELOG entry for #267William Desportes2019-11-131-0/+1
| | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Merge #268 - fixes ALTER TABLE ... PRIMARY/UNIQUE KEY "Missing comma" errorWilliam Desportes2019-11-136-2/+21
|\ | | | | | | | | Fixes: #267 Signed-off-by: William Desportes <williamdes@wdes.fr>
| * fixes #267 - ALTER TABLE ... PRIMARY/UNIQUE KEY "Missing comma" errorMisterCoder2019-11-136-2/+21
|/
* CHANGELOG for version 4.4.04.4.0Isaac Bennetch2019-11-121-1/+2
| | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* Fix php compatiblity (array syntax)William Desportes2019-11-011-1/+1
| | | | | Ref: fd4c4f34715070d7f7238ab3838935863a92f556 Signed-off-by: William Desportes <williamdes@wdes.fr>
* Add CHANGELOG entry for #265William Desportes2019-11-011-0/+1
| | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Merge #265 - Fix wrong parsing of partitionsWilliam Desportes2019-11-012-4/+22
|\ | | | | | | | | Fixes: phpmyadmin/phpmyadmin#13951 Signed-off-by: William Desportes <williamdes@wdes.fr>
| * Add test case to check partition name starting by a numberHugues Peccatte2019-11-012-1/+13
| | | | | | | | Signed-off-by: Hugues Peccatte <hugues.peccatte@aareon.fr>
| * Fix #13951 wrong parsing partitionsHugues Peccatte2019-11-011-4/+10
|/ | | | | | When partition names contain "_", the parser wasn't reading the full name, but stopped before the first "_". Signed-off-by: Hugues Peccatte <hugues.peccatte@aareon.fr>
* Add CHANGELOG entry for #221William Desportes2019-10-281-0/+1
| | | | | Pull-request: #222 Signed-off-by: William Desportes <williamdes@wdes.fr>
* Fix #221 - parse truncate statementWilliam Desportes2019-10-282-5/+19
|\ | | | | | | | | | | | | Fixes: #221 Pull-request: #222 Signed-off-by: William Desportes <williamdes@wdes.fr>
| * Fix #221 - parse truncate statementSinri Edogawa2019-10-282-5/+19
|/ | | | | | | | Fixes: #221 Pull-request: #222 Co-authored-by: Sinri Edogawa <e.joshua.s.e@gmail.com> Signed-off-by: William Desportes <williamdes@wdes.fr>
* Add CHANGELOG entries for #258 and #264William Desportes2019-10-281-0/+4
| | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Merge #264 - parse CHECK keyword on table definitionWilliam Desportes2019-10-282-1/+22
|\ | | | | | | | | | | | | Ref: #167 Pull-request: #264 Signed-off-by: William Desportes <williamdes@wdes.fr>
| * Manage "CHECK" keywordHugues Peccatte2019-10-282-1/+22
| | | | | | | | | | | | | | Even if this keyword is ignored by MySQL, it should be parsed. Ref: #167 Signed-off-by: Hugues Peccatte <hugues.peccatte@aareon.fr>
* | Merge #258 - fix implode argument order into QAWilliam Desportes2019-10-282-2/+2
|\ \ | |/ |/| | | Signed-off-by: William Desportes <williamdes@wdes.fr>
| * fix implode arg. orderRemi Collet2019-10-282-2/+2
|/ | | | Ref: https://www.php.net/manual/en/function.implode.php
* CHANGELOG entries for QA branch4.3.2Isaac Bennetch2019-06-031-1/+10
| | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* Merge #248 'fix-typo-changelog' into QAWilliam Desportes2019-05-311-3/+3
|\ | | | | | | | | [ci skip] Signed-off-by: William Desportes <williamdes@wdes.fr>
| * Fix typos in changelogTyson Andre2019-05-311-3/+3
|/
* Fix CLITestWilliam Desportes2019-05-291-1/+1
| | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* revert usage of new array syntax []William Desportes2019-05-2912-30/+34
| | | | | | See: 86c5baebda24c1721fb6881df8671a3c7df60e8b Related-to: 930a860bc7f0684c45babd012070f88a9505d427, 5d5089a259d0195c4a1e4aa3588c31c839954067 Signed-off-by: William Desportes <williamdes@wdes.fr>
* Downgrade phpcs from 3.4 to to 2.9.xWilliam Desportes2019-05-281-1/+1
| | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Edit CHANGELOG.mdWilliam Desportes2019-05-281-11/+0
| | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
* Revert "Enable strict mode on PHP files"William Desportes2019-05-28159-174/+101
| | | | | This reverts commit 17da8a34b81442524a8e01fead7b5968fa1cc39d. Signed-off-by: William Desportes <williamdes@wdes.fr>
* remove phpmyadmin/coding-standard and add squizlabs/php_codesnifferWilliam Desportes2019-05-282-7/+1
| | | | | | See: 86c5baebda24c1721fb6881df8671a3c7df60e8b Signed-off-by: William Desportes <williamdes@wdes.fr>
* revert of new array syntaxWilliam Desportes2019-05-28108-2000/+1998
| | | | | See: 86c5baebda24c1721fb6881df8671a3c7df60e8b Signed-off-by: William Desportes <williamdes@wdes.fr>
* Revert array syntaxWilliam Desportes2019-05-2849-153/+153
| | | | | See: 86c5baebda24c1721fb6881df8671a3c7df60e8b Signed-off-by: William Desportes <williamdes@wdes.fr>
* Partial revert "Bump minimum version to PHP 7.1"William Desportes2019-05-283-3/+14
| | | | | | This reverts commit 2941ff6b8b9c4d50362f3bc9bb79f086376c4acc. Signed-off-by: William Desportes <williamdes@wdes.fr>
* Add CHANGELOG for pull request #242Isaac Bennetch2019-05-091-0/+1
| | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* Fix merge conflicts for pull request #242Isaac Bennetch2019-05-095-2/+57
|\ | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
| * CS fixRadosław Kowalewski2019-04-191-1/+1
| |
| * Recognize question mark as parameter, add formatter for parametersRadosław Kowalewski2019-04-195-2/+57
| |
* | Merge pull request #245 from staabm/patch-1Isaac Bennetch2019-05-081-3/+5
|\ \ | | | | | | Added null check to fix tests from pull request #224.
| * | Added null checkMarkus Staab2019-05-071-3/+5
| | |
* | | Fix errors detected by PHPStan at level 0Maurício Meneghini Fauth2019-05-087-3/+6
|/ / | | | | | | Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
* | Fix failing test from pull request #224Isaac Bennetch2019-05-061-1/+1
| | | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* | Add CHANGELOG entry for pull request #224Isaac Bennetch2019-05-061-0/+1
| | | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* | Fix issue #223: can't parse multiple call statements (#224)Everstray Jun Sinri Edogawa2019-05-062-8/+26
| | | | | | | | | | Fix for errors when using multiple CALL statements and no arguments/parenthesis. Fixes: #223
* | Add CHANGELOG entry for pull request #241, commit a7c5771Isaac Bennetch2019-05-051-0/+1
| | | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* | Merge pull request #241 from LeSuisse/php-warning-incomplete-case-expressionIsaac Bennetch2019-05-0519-20/+26
|\ \ | | | | | | Fix PHP warnings when building an incomplete CASE expression
| * | Fix PHP warnings when building an incomplete CASE expressionThomas Gerbet2019-04-1019-20/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | Issue can be reproduced with the following code snippet: ```php new \PhpMyAdmin\SqlParser\Parser('SELECT a CASE'); // PHP Warning: count(): Parameter must be an array or an object that implements Countable in src/Components/CaseExpression.php on line 296 // PHP Warning: count(): Parameter must be an array or an object that implements Countable in src/Components/CaseExpression.php on line 297 ```
* | | Merge branch 'origin/master' into Weblate.Hosted Weblate2019-04-302-15/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | [CI skip] Translation: phpMyAdmin/SQL parser Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/sql-parser/
| * | | Translated using Weblate (Norwegian Bokmål)Allan Nordhøy2019-04-302-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently translated at 90.9% (40 of 44 strings) [CI skip] Translation: phpMyAdmin/SQL parser Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/sql-parser/nb_NO/ Signed-off-by: Allan Nordhøy <epost@anotheragency.no>
* | | | Merge pull request #243 from ibennetch/usageIsaac Bennetch2019-04-302-6/+15
|\ \ \ \ | |/ / / |/| | | Add usage hints for command line stdin
| * | | Add usage hints for command line stdinIsaac Bennetch2019-04-292-6/+15
| |/ / | | | | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* | | Translated using Weblate (Czech)William Desportes2019-04-282-7/+5
|/ / | | | | | | | | | | Currently translated at 25.0% (11 of 44 strings) [CI skip]
* | Add CHANGELOG entriesIsaac Bennetch2019-04-071-0/+2
| | | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* | Add some documentation about the new ability to read from stdin, introduced ↵Isaac Bennetch2019-04-061-0/+6
| | | | | | | | | | | | with #239 Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* | Add tokenize-query to Composer bin list, so a link will be created in ↵Isaac Bennetch2019-04-061-1/+2
| | | | | | | | | | | | | | | | vendor/bin/ Fixes #240 Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* | Merge pull request #239 from staabm/stdinIsaac Bennetch2019-04-062-0/+49
|\ \ | | | | | | Support reading from stdin
| * | added stdin testcoverageMarkus Staab2019-04-051-0/+26
| | |
| * | Support reading from stdinMarkus Staab2019-04-051-0/+23
|/ /
* | Translated using Weblate (Kazakh)WWWesten2019-04-012-72/+50
| | | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip]
* | Translated using Weblate (Persian)manssour2019-03-252-14/+21
| | | | | | | | | | | | Currently translated at 0.0% (0 of 44 strings) [CI skip]
* | fix incorrect PR title in ChangeLogDeven Bansod2019-03-241-1/+1
| |
* | Merge branch 'master' of https://github.com/phpmyadmin/sql-parserDeven Bansod2019-03-132-3/+88
|\ \
| * \ Merge pull request #233 from devenbansod/fix/pma/14995William Desportes2019-03-122-3/+88
| |\ \ | | | | | | | | fix: incorrect lastClauseIdx in Utils::getQuery
| | * | fix: incorrect lastClauseIdx in Util::getQueryDeven Bansod2019-03-122-3/+88
| |/ /
* | | Add ChangeLog for #228, #229 and #233Deven Bansod2019-03-131-0/+3
|/ /
* | Translated using Weblate (Indonesian)Muhammad Rifqi Priyo Susanto2019-03-112-111/+52
| | | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip]
* | Fix #229 - Incorrect error on DEFAULT keyword in ALTER operationWilliam Desportes2019-03-075-9/+16
|\ \ | | | | | | | | | | | | Closes: #230 Fixes: #229 Signed-off-by: William Desportes <williamdes@wdes.fr>
| * | Fix incorrect error on DEFAULT keyword in ALTER operationDeven Bansod2019-03-075-9/+16
|/ /
* | Merge pull request #228 from mobtitude/fix-whitespacesDeven Bansod2019-02-269-28/+52
|\ \ | | | | | | Fix redundant whitespaces - Issue #227
| * | Fixed statements INSERT and REPLACE + options.Przemek Szalko2019-02-154-3/+27
| | |
| * | Changed implementation of build() methods to generate more consistent SQL.Przemek Szalko2019-02-159-27/+27
| | | | | | | | | | | | This commit fixes implementation of `build()` methods to produce more consistent SQL code without redundant spaces.
* | | Translated using Weblate (Japanese)Joshua PowellNishiyama2019-02-222-18/+8
|/ / | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip]
* | Translated using Weblate (Japanese)Joshua PowellNishiyama2019-02-072-9/+9
| | | | | | | | | | | | Currently translated at 84.1% (37 of 44 strings) [CI skip]
* | Fix risky testsMaurício Meneghini Fauth2019-01-1627-55/+62
| | | | | | | | | | | | | | - Rename test providers - Mark tests as incomplete Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
* | Enable strict mode on PHP filesMaurício Meneghini Fauth2019-01-16160-103/+177
| | | | | | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
* | Apply phpmyadmin/coding-standardMaurício Meneghini Fauth2019-01-16132-2094/+2958
| | | | | | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
* | Create CODE_OF_CONDUCT.mdMaurício Meneghini Fauth2019-01-111-0/+76
| | | | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
* | Merge pull request #220 from mauriciofauth/php71Maurício Meneghini Fauth2019-01-084-21/+12
|\ \ | | | | | | Bump minimum version to PHP 7.1
| * | Bump minimum version to PHP 7.1Maurício Meneghini Fauth2019-01-084-21/+12
|/ / | | | | | | | | | | Drop support for PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6, PHP 7.0 and HHVM Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
* | Fix phpunit config name on TravisMaurício Meneghini Fauth2019-01-081-2/+2
| | | | | | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
* | Rename phpunit.xml to phpunit.xml.distMaurício Meneghini Fauth2019-01-082-0/+1
| | | | | | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
* | Translated using Weblate (Norwegian Bokmål)Allan Nordhøy2019-01-082-11/+9
| | | | | | | | | | | | Currently translated at 93.2% (41 of 44 strings) [CI skip]
* | Prepare for next releaseIsaac Bennetch2019-01-051-0/+2
|/ | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>