Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Fix errors detected by PHPStan at level 0 | Maurício Meneghini Fauth | 2019-05-08 | 7 | -3/+6 | |
|/ / | | | | | | | Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev> | |||||
* | | Fix failing test from pull request #224 | Isaac Bennetch | 2019-05-06 | 1 | -1/+1 | |
| | | | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com> | |||||
* | | Add CHANGELOG entry for pull request #224 | Isaac Bennetch | 2019-05-06 | 1 | -0/+1 | |
| | | | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com> | |||||
* | | Fix issue #223: can't parse multiple call statements (#224) | Everstray Jun Sinri Edogawa | 2019-05-06 | 2 | -8/+26 | |
| | | | | | | | | | | Fix for errors when using multiple CALL statements and no arguments/parenthesis. Fixes: #223 | |||||
* | | Add CHANGELOG entry for pull request #241, commit a7c5771 | Isaac Bennetch | 2019-05-05 | 1 | -0/+1 | |
| | | | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com> | |||||
* | | Merge pull request #241 from LeSuisse/php-warning-incomplete-case-expression | Isaac Bennetch | 2019-05-05 | 19 | -20/+26 | |
|\ \ | | | | | | | Fix PHP warnings when building an incomplete CASE expression | |||||
| * | | Fix PHP warnings when building an incomplete CASE expression | Thomas Gerbet | 2019-04-10 | 19 | -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 Weblate | 2019-04-30 | 2 | -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øy | 2019-04-30 | 2 | -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/usage | Isaac Bennetch | 2019-04-30 | 2 | -6/+15 | |
|\ \ \ \ | |/ / / |/| | | | Add usage hints for command line stdin | |||||
| * | | | Add usage hints for command line stdin | Isaac Bennetch | 2019-04-29 | 2 | -6/+15 | |
| |/ / | | | | | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com> | |||||
* | | | Translated using Weblate (Czech) | William Desportes | 2019-04-28 | 2 | -7/+5 | |
|/ / | | | | | | | | | | | Currently translated at 25.0% (11 of 44 strings) [CI skip] | |||||
* | | Add CHANGELOG entries | Isaac Bennetch | 2019-04-07 | 1 | -0/+2 | |
| | | | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com> | |||||
* | | Add some documentation about the new ability to read from stdin, introduced ↵ | Isaac Bennetch | 2019-04-06 | 1 | -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 Bennetch | 2019-04-06 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | vendor/bin/ Fixes #240 Signed-off-by: Isaac Bennetch <bennetch@gmail.com> | |||||
* | | Merge pull request #239 from staabm/stdin | Isaac Bennetch | 2019-04-06 | 2 | -0/+49 | |
|\ \ | | | | | | | Support reading from stdin | |||||
| * | | added stdin testcoverage | Markus Staab | 2019-04-05 | 1 | -0/+26 | |
| | | | ||||||
| * | | Support reading from stdin | Markus Staab | 2019-04-05 | 1 | -0/+23 | |
|/ / | ||||||
* | | Translated using Weblate (Kazakh) | WWWesten | 2019-04-01 | 2 | -72/+50 | |
| | | | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip] | |||||
* | | Translated using Weblate (Persian) | manssour | 2019-03-25 | 2 | -14/+21 | |
| | | | | | | | | | | | | Currently translated at 0.0% (0 of 44 strings) [CI skip] | |||||
* | | fix incorrect PR title in ChangeLog | Deven Bansod | 2019-03-24 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'master' of https://github.com/phpmyadmin/sql-parser | Deven Bansod | 2019-03-13 | 2 | -3/+88 | |
|\ \ | ||||||
| * \ | Merge pull request #233 from devenbansod/fix/pma/14995 | William Desportes | 2019-03-12 | 2 | -3/+88 | |
| |\ \ | | | | | | | | | fix: incorrect lastClauseIdx in Utils::getQuery | |||||
| | * | | fix: incorrect lastClauseIdx in Util::getQuery | Deven Bansod | 2019-03-12 | 2 | -3/+88 | |
| |/ / | ||||||
* | | | Add ChangeLog for #228, #229 and #233 | Deven Bansod | 2019-03-13 | 1 | -0/+3 | |
|/ / | ||||||
* | | Translated using Weblate (Indonesian) | Muhammad Rifqi Priyo Susanto | 2019-03-11 | 2 | -111/+52 | |
| | | | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip] | |||||
* | | Fix #229 - Incorrect error on DEFAULT keyword in ALTER operation | William Desportes | 2019-03-07 | 5 | -9/+16 | |
|\ \ | | | | | | | | | | | | | Closes: #230 Fixes: #229 Signed-off-by: William Desportes <williamdes@wdes.fr> | |||||
| * | | Fix incorrect error on DEFAULT keyword in ALTER operation | Deven Bansod | 2019-03-07 | 5 | -9/+16 | |
|/ / | ||||||
* | | Merge pull request #228 from mobtitude/fix-whitespaces | Deven Bansod | 2019-02-26 | 9 | -28/+52 | |
|\ \ | | | | | | | Fix redundant whitespaces - Issue #227 | |||||
| * | | Fixed statements INSERT and REPLACE + options. | Przemek Szalko | 2019-02-15 | 4 | -3/+27 | |
| | | | ||||||
| * | | Changed implementation of build() methods to generate more consistent SQL. | Przemek Szalko | 2019-02-15 | 9 | -27/+27 | |
| | | | | | | | | | | | | This commit fixes implementation of `build()` methods to produce more consistent SQL code without redundant spaces. | |||||
* | | | Translated using Weblate (Japanese) | Joshua PowellNishiyama | 2019-02-22 | 2 | -18/+8 | |
|/ / | | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip] | |||||
* | | Translated using Weblate (Japanese) | Joshua PowellNishiyama | 2019-02-07 | 2 | -9/+9 | |
| | | | | | | | | | | | | Currently translated at 84.1% (37 of 44 strings) [CI skip] | |||||
* | | Fix risky tests | Maurício Meneghini Fauth | 2019-01-16 | 27 | -55/+62 | |
| | | | | | | | | | | | | | | - Rename test providers - Mark tests as incomplete Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com> | |||||
* | | Enable strict mode on PHP files | Maurício Meneghini Fauth | 2019-01-16 | 160 | -103/+177 | |
| | | | | | | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com> | |||||
* | | Apply phpmyadmin/coding-standard | Maurício Meneghini Fauth | 2019-01-16 | 132 | -2094/+2958 | |
| | | | | | | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com> | |||||
* | | Create CODE_OF_CONDUCT.md | Maurício Meneghini Fauth | 2019-01-11 | 1 | -0/+76 | |
| | | | | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com> | |||||
* | | Merge pull request #220 from mauriciofauth/php71 | Maurício Meneghini Fauth | 2019-01-08 | 4 | -21/+12 | |
|\ \ | | | | | | | Bump minimum version to PHP 7.1 | |||||
| * | | Bump minimum version to PHP 7.1 | Maurício Meneghini Fauth | 2019-01-08 | 4 | -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 Travis | Maurício Meneghini Fauth | 2019-01-08 | 1 | -2/+2 | |
| | | | | | | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com> | |||||
* | | Rename phpunit.xml to phpunit.xml.dist | Maurício Meneghini Fauth | 2019-01-08 | 2 | -0/+1 | |
| | | | | | | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com> | |||||
* | | Translated using Weblate (Norwegian Bokmål) | Allan Nordhøy | 2019-01-08 | 2 | -11/+9 | |
| | | | | | | | | | | | | Currently translated at 93.2% (41 of 44 strings) [CI skip] | |||||
* | | Prepare for next release | Isaac Bennetch | 2019-01-05 | 1 | -0/+2 | |
|/ | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com> | |||||
* | Prepare to release 4.3.1v4.3.1 | Isaac Bennetch | 2019-01-05 | 1 | -1/+1 | |
| | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com> | |||||
* | Merge pull request #219 from devenbansod/fix/218 | Deven Bansod | 2019-01-05 | 5 | -1/+6 | |
|\ | | | | | Fix incorrect error on DEFAULT keyword in ALTER operation | |||||
| * | Add ChangeLog for Issue 218 | Deven Bansod | 2019-01-03 | 1 | -0/+2 | |
| | | | | | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | |||||
| * | Fix incorrect error on DEFAULT keyword in ALTER operation | Deven Bansod | 2019-01-03 | 4 | -1/+4 | |
|/ | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | |||||
* | Prepare CHANGELOG for next release | Isaac Bennetch | 2018-12-25 | 1 | -0/+2 | |
| | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com> | |||||
* | CHANGELOG dates for 4.3.0 releasev4.3.0 | Isaac Bennetch | 2018-12-25 | 1 | -1/+1 | |
| | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com> | |||||
* | Add issue numbers and improve CHANGELOG entries | Isaac Bennetch | 2018-12-25 | 1 | -8/+10 | |
| | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com> | |||||
* | Merge pull request #203 from mostertb/case-alias | Isaac Bennetch | 2018-12-24 | 23 | -2/+166 | |
|\ | | | | | Add support for Aliases on CASE expressions | |||||
| * | Apply php-cs-fixer formatting changes | Brad Mostert | 2018-10-13 | 1 | -12/+9 | |
| | | ||||||
| * | Add component build tests from CASE expressions with aliases | Brad Mostert | 2018-10-13 | 1 | -0/+28 | |
| | | ||||||
| * | Add tests for parsing of CASE expressions with aliases | Brad Mostert | 2018-10-13 | 21 | -0/+66 | |
| | | ||||||
| * | Handle end of statement while parsing CASE alias | Brad Mostert | 2018-10-13 | 1 | -0/+4 | |
| | | ||||||
| * | Explicitly handle case where keyword encountered before alias value found | Brad Mostert | 2018-10-13 | 1 | -8/+10 | |
| | | ||||||
| * | Handle CASE alias without AS | Brad Mostert | 2018-10-13 | 1 | -16/+14 | |
| | | ||||||
| * | Add Support for CASE ... END AS alias | Brad Mostert | 2018-10-13 | 1 | -0/+69 | |
| | | ||||||
* | | Merge pull request #217 from devenbansod/task/add-changelog-entries | Isaac Bennetch | 2018-12-24 | 1 | -0/+9 | |
|\ \ | | | | | | | Add missing ChangeLog entries | |||||
| * | | Add missing ChangeLog entries | Deven Bansod | 2018-12-23 | 1 | -0/+9 | |
| | | | | | | | | | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | |||||
* | | | Merge branch 'origin/master' into Weblate. | Hosted Weblate | 2018-12-23 | 2 | -5/+5 | |
|\ \ \ | ||||||
| * | | | Translated using Weblate (French) | tmtisfree | 2018-12-23 | 2 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip] | |||||
* | | | | Merge pull request #216 from devenbansod/fix/199 | Deven Bansod | 2018-12-23 | 18 | -0/+256 | |
|\ \ \ \ | |/ / / |/| | | | Add support for INDEX hints in SELECT statement | |||||
| * | | | Add support for INDEX hints in SELECT statement | Deven Bansod | 2018-12-23 | 18 | -0/+256 | |
| | | | | | | | | | | | | | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | |||||
* | | | | Merge pull request #215 from devenbansod/fix/180 | Deven Bansod | 2018-12-22 | 42 | -0/+568 | |
|\ \ \ \ | |/ / / | | | | | Add support for LOCK and UNLOCK Statements | |||||
| * | | | Add support for LOCK and UNLOCK Statements | Deven Bansod | 2018-12-22 | 42 | -0/+568 | |
| |/ / | | | | | | | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | |||||
* | | | Merge pull request #214 from devenbansod/fix/160 | Deven Bansod | 2018-12-22 | 4 | -4/+45 | |
|\ \ \ | |/ / |/| | | Throw a parser error on extraneous comma in UPDATE statement | |||||
| * | | Throw a parser error on extraneous comma in UPDATE statement | Deven Bansod | 2018-12-22 | 4 | -4/+45 | |
| | | | | | | | | | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | |||||
* | | | Merge pull request #212 from devenbansod/fix/189 | Deven Bansod | 2018-12-21 | 8 | -0/+40 | |
|\ \ \ | |/ / |/| | | Throw a parse error if a comma missing between two alter operations | |||||
| * | | Throw a parse error if a comma missing between two alter operations | Deven Bansod | 2018-12-21 | 8 | -0/+40 | |
| | | | | | | | | | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | |||||
* | | | Merge pull request #213 from devenbansod/fix/196 | Deven Bansod | 2018-12-21 | 3 | -0/+14 | |
|\ \ \ | |/ / |/| | | Fix: Add missing support for STRAIGHT_JOIN | |||||
| * | | Fix: Add missing support for STRAIGHT_JOIN | Deven Bansod | 2018-12-21 | 3 | -0/+14 | |
|/ / | | | | | | | | | | | | | | | * This was originally added in v3.0.8 but was erroneously removed in https://github.com/phpmyadmin/sql-parser/commit/848610a2004e37ec374c2c7a688c8c9131cd5687#diff-1041b02aae148a89853dc0d2710afc9c * Added a test case for this so that we don't remove it in future releases Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | |||||
* | | Merge pull request #211 from devenbansod/fix/190 | Deven Bansod | 2018-12-21 | 11 | -10/+69 | |
|\ \ | | | | | | | Add support for end options in SET statement | |||||
| * | | Add support for end options in SET statement | Deven Bansod | 2018-12-21 | 11 | -10/+69 | |
| | | | | | | | | | | | | | | | | | | * Support `[{ COLLATE expr | DEFAULT }] in `SET NAMES` statement Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | |||||
* | | | Merge pull request #210 from devenbansod/fix/204 | Deven Bansod | 2018-12-21 | 4 | -2/+52 | |
|\ \ \ | | | | | | | | | Fix building of RenameStatement | |||||
| * | | | Fix building of RenameStatement | Deven Bansod | 2018-12-20 | 4 | -2/+52 | |
| |/ / | | | | | | | | | | | | | | | | | | | | | | * The nuance here is that we don't treat `RENAME TABLE` as the keyword of the clause, only `RENAME` is considered. * That's why we can't use `Statement::$CLAUSES` directly here (even with value of `3` (see `Statement::$CLAUSES`)) * Providing an overriden definition of `build()` in RenameStatement Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | |||||
* | | | Merge pull request #209 from devenbansod/test/create-replace-view | William Desportes | 2018-12-20 | 1 | -0/+12 | |
|\ \ \ | | | | | | | | | | | | | | | | | Add tests for builder of CREATE or REPLACE VIEW statement Signed-off-by: William Desportes <williamdes@wdes.fr> | |||||
| * | | | Add tests for builder of CREATE or REPLACE VIEW | Deven Bansod | 2018-12-20 | 1 | -0/+12 | |
| |/ / | | | | | | | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | |||||
* | | | Merge pull request #208 from devenbansod/feature/purge-statement | William Desportes | 2018-12-20 | 18 | -0/+212 | |
|\ \ \ | |/ / |/| | | | | | | | | Add support for PURGE statements Signed-off-by: William Desportes <williamdes@wdes.fr> | |||||
| * | | Add support for PURGE statements | Deven Bansod | 2018-12-20 | 18 | -0/+212 | |
|/ / | | | | | | | | | | | Fix #207 Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | |||||
* | | Merge pull request #206 from bperel/cleanup | Deven Bansod | 2018-12-09 | 36 | -506/+491 | |
|\ \ | | | | | | | | | | | | | | | | | | | Cleanup the code * Avoid duplicate if conditions * Use switch/case instead of ifs when possible * Use triple (in)equalities when type compatibility is ensured | |||||
| * | | Fix unused variable | Bruno Perel | 2018-12-09 | 1 | -3/+3 | |
| | | | ||||||
| * | | Fix tests | Bruno Perel | 2018-11-27 | 3 | -21/+24 | |
| | | | ||||||
| * | | Use triple (in)equalities when type compatibility is ensured | Bruno Perel | 2018-11-26 | 18 | -58/+56 | |
| | | | ||||||
| * | | Cleanup and improve readability: | Bruno Perel | 2018-11-26 | 28 | -473/+457 | |
| | | | | | | | | | | | | | | | Avoid duplicate if conditions Use switch/case instead of ifs when possible | |||||
* | | | Translated using Weblate (Gujarati) | Hardik Jogadia | 2018-12-05 | 2 | -19/+20 | |
| | | | | | | | | | | | | | | | | | | Currently translated at 34.1% (15 of 44 strings) [CI skip] | |||||
* | | | Translated using Weblate (Norwegian Bokmål) | Kurt Eilertsen | 2018-11-29 | 2 | -71/+33 | |
| | | | | | | | | | | | | | | | | | | Currently translated at 86.4% (38 of 44 strings) [CI skip] | |||||
* | | | Translated using Weblate (Chinese (Traditional)) | Walter Cheuk | 2018-11-29 | 2 | -6/+4 | |
|/ / | | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip] | |||||
* | | Prepare for next release | Isaac Bennetch | 2018-10-31 | 1 | -0/+2 | |
| | | | | | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com> | |||||
* | | Prepare to release version 4.2.5v4.2.5 | Isaac Bennetch | 2018-10-31 | 1 | -1/+1 | |
|/ | | | | Signed-off-by: Isaac Bennetch <bennetch@gmail.com> | |||||
* | Add ChangeLog entry for #198 | Maurício Meneghini Fauth | 2018-10-08 | 1 | -0/+2 | |
| | | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com> | |||||
* | Merge pull request #198 from aswaniprakash/create_or_replace | Maurício Meneghini Fauth | 2018-10-08 | 1 | -1/+1 | |
|\ | | | | | Create or replace view query not working issue solved | |||||
| * | Create or replace view query not working issue solved | Aswani Prakash | 2018-07-03 | 1 | -1/+1 | |
| | | | | | | | | Signed-off-by: Aswani Prakash <aswani15prakash@gmail.com> | |||||
* | | Translated using Weblate (Portuguese) | ssantos | 2018-10-08 | 2 | -13/+5 | |
| | | | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip] | |||||
* | | Translated using Weblate (Portuguese) | Ayalos | 2018-10-06 | 2 | -71/+45 | |
| | | | | | | | | | | | | Currently translated at 88.6% (39 of 44 strings) [CI skip] | |||||
* | | Translated using Weblate (Sinhala) | Menuka Ishan | 2018-10-01 | 2 | -24/+14 | |
| | | | | | | | | | | | | Currently translated at 20.4% (9 of 44 strings) [CI skip] | |||||
* | | Translated using Weblate (Thai) | Anusuk Sangubon | 2018-08-17 | 2 | -6/+6 | |
| | | | | | | | | | | | | Currently translated at 72.7% (32 of 44 strings) [CI skip] | |||||
* | | Translated using Weblate (Chinese (Simplified)) | popcorner | 2018-08-02 | 2 | -15/+15 | |
| | | | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip] | |||||
* | | Translated using Weblate (Chinese (Simplified)) | popcorner | 2018-08-01 | 2 | -89/+46 | |
| | | | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip] | |||||
* | | Translated using Weblate (Romanian) | Dan Caragea | 2018-07-24 | 2 | -9/+4 | |
| | | | | | | | | | | | | Currently translated at 100.0% (44 of 44 strings) [CI skip] |