summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CHANGELOG for version 5.1.05.1.0Isaac Bennetch2019-11-121-1/+2
| | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* Merge branch 'QA'William Desportes2019-11-013-4/+23
|\ | | | | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
| * 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>
* | Merge branch 'QA'William Desportes2019-10-2910-20/+79
|\ \ | |/ | | | | | | | | This merge includes phpcs fixes Signed-off-by: William Desportes <williamdes@wdes.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
* | Translated using Weblate (Korean)Yoonseo Kim2019-10-062-67/+36
| | | | | | | | | | | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip] Translation: phpMyAdmin/SQL parser Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/sql-parser/ko/ Signed-off-by: Yoonseo Kim <yyumz6961@gmail.com>
* | Set phpunit version from ^8.0 to ^8William Desportes2019-09-251-1/+1
| | | | | | | | | | | | | | Ref: #261 Ref: https://phpunit.de/getting-started/phpunit-8.html Signed-off-by: William Desportes <williamdes@wdes.fr>
* | Add support for phpunit 8.0William Desportes2019-09-252-1/+2
| | | | | | | | | | | | Ref: #261 Signed-off-by: William Desportes <williamdes@wdes.fr>
* | Fix deprecated annotations William Desportes2019-09-255-28/+16
| | | | | | | | | | | | Ref: #261 Signed-off-by: William Desportes <williamdes@wdes.fr>
* | Set return type to void on setUp for phpunitWilliam Desportes2019-09-251-1/+1
| | | | | | | | | | | | Closes: #261 Signed-off-by: William Desportes <williamdes@wdes.fr>
* | Translated using Weblate (Norwegian Bokmål)Allan Nordhøy2019-08-182-5/+5
| | | | | | | | | | | | | | | | | | | | Currently translated at 100.0% (44 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>
* | Translated using Weblate (Norwegian Bokmål)Kjell Ove2019-08-172-8/+3
| | | | | | | | | | | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip] Translation: phpMyAdmin/SQL parser Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/sql-parser/nb_NO/ Signed-off-by: Kjell Ove <laikabaika@hotmail.com>
* | Translated using Weblate (Thai)Kongfa Warorot2019-07-192-26/+15
| | | | | | | | | | | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip] Translation: phpMyAdmin/SQL parser Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/sql-parser/th/ Signed-off-by: Kongfa Warorot <gongpha@hotmail.com>
* | Translated using Weblate (Persian)ReZa ZaRe2019-07-152-6/+5
| | | | | | | | | | | | | | | | | | | | Currently translated at 4.5% (2 of 44 strings) [CI skip] Translation: phpMyAdmin/SQL parser Translate-URL: https://hosted.weblate.org/projects/phpmyadmin/sql-parser/fa/ Signed-off-by: ReZa ZaRe <rz.zare@gmail.com>
* | Merge pull request #247 from MartkCz/masterDeven Bansod2019-06-0422-35/+35
|\ \ | | | | | | Replaced new self with new static
| * | Replaced new self with new staticMartkCz2019-05-1722-35/+35
| | |
* | | Fix CHANGELOG merge conflictsIsaac Bennetch2019-06-031-4/+6
| | | | | | | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* | | Merge branch 'QA'Isaac Bennetch2019-06-031-1/+10
|\ \ \ | | |/ | |/|
| * | CHANGELOG entries for QA branch4.3.2Isaac Bennetch2019-06-031-1/+10
| | | | | | | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* | | Merge branch 'QA'William Desportes2019-05-311-4/+4
|\ \ \ | |/ / | | / | |/ |/| Signed-off-by: William Desportes <williamdes@wdes.fr>
| * 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>
* | Prepare CHANGELOG for next releaseIsaac Bennetch2019-05-091-0/+2
| | | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* | Prepare CHANGELOG for release 5.0.05.0.0Isaac Bennetch2019-05-091-1/+1
|/ | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* 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>
* Prepare to release 4.3.1v4.3.1Isaac Bennetch2019-01-051-1/+1
| | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* Merge pull request #219 from devenbansod/fix/218Deven Bansod2019-01-055-1/+6
|\ | | | | Fix incorrect error on DEFAULT keyword in ALTER operation
| * Add ChangeLog for Issue 218Deven Bansod2019-01-031-0/+2
| | | | | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
| * Fix incorrect error on DEFAULT keyword in ALTER operationDeven Bansod2019-01-034-1/+4
|/ | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
* Prepare CHANGELOG for next releaseIsaac Bennetch2018-12-251-0/+2
| | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* CHANGELOG dates for 4.3.0 releasev4.3.0Isaac Bennetch2018-12-251-1/+1
| | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>
* Add issue numbers and improve CHANGELOG entriesIsaac Bennetch2018-12-251-8/+10
| | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com>