Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove left overs of old array syntax | William Desportes | 2019-12-31 | 1 | -2/+2 |
| | | | | Signed-off-by: William Desportes <williamdes@wdes.fr> | ||||
* | Add PHPStan at level 2 | Maurício Meneghini Fauth | 2019-12-16 | 2 | -1/+7 |
| | | | | Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev> | ||||
* | Remove useless comments and annotations | Maurício Meneghini Fauth | 2019-12-14 | 4 | -8/+8 |
| | | | | Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev> | ||||
* | Reference classes via a use statement | Maurício Meneghini Fauth | 2019-12-14 | 1 | -2/+3 |
| | | | | Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev> | ||||
* | Merge branch 'QA' | William Desportes | 2019-11-01 | 1 | -0/+12 |
|\ | | | | | | | Signed-off-by: William Desportes <williamdes@wdes.fr> | ||||
| * | Add test case to check partition name starting by a number | Hugues Peccatte | 2019-11-01 | 1 | -0/+12 |
| | | | | | | | | Signed-off-by: Hugues Peccatte <hugues.peccatte@aareon.fr> | ||||
* | | Merge branch 'QA' | William Desportes | 2019-10-29 | 1 | -0/+16 |
|\ \ | |/ | | | | | | | | | This merge includes phpcs fixes Signed-off-by: William Desportes <williamdes@wdes.fr> | ||||
| * | Manage "CHECK" keyword | Hugues Peccatte | 2019-10-28 | 1 | -0/+16 |
| | | | | | | | | | | | | | | Even if this keyword is ignored by MySQL, it should be parsed. Ref: #167 Signed-off-by: Hugues Peccatte <hugues.peccatte@aareon.fr> | ||||
| * | revert usage of new array syntax [] | William Desportes | 2019-05-29 | 2 | -4/+4 |
| | | | | | | | | | | | | See: 86c5baebda24c1721fb6881df8671a3c7df60e8b Related-to: 930a860bc7f0684c45babd012070f88a9505d427, 5d5089a259d0195c4a1e4aa3588c31c839954067 Signed-off-by: William Desportes <williamdes@wdes.fr> | ||||
| * | Revert "Enable strict mode on PHP files" | William Desportes | 2019-05-28 | 21 | -21/+0 |
| | | | | | | | | | | This reverts commit 17da8a34b81442524a8e01fead7b5968fa1cc39d. Signed-off-by: William Desportes <williamdes@wdes.fr> | ||||
| * | revert of new array syntax | William Desportes | 2019-05-28 | 12 | -88/+88 |
| | | | | | | | | | | See: 86c5baebda24c1721fb6881df8671a3c7df60e8b Signed-off-by: William Desportes <williamdes@wdes.fr> | ||||
* | | Fix deprecated annotations | William Desportes | 2019-09-25 | 1 | -6/+4 |
|/ | | | | | | Ref: #261 Signed-off-by: William Desportes <williamdes@wdes.fr> | ||||
* | Fix errors detected by PHPStan at level 0 | Maurício Meneghini Fauth | 2019-05-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev> | ||||
* | Fix PHP warnings when building an incomplete CASE expression | Thomas Gerbet | 2019-04-10 | 1 | -0/+6 |
| | | | | | | | | | 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 ``` | ||||
* | Fix risky tests | Maurício Meneghini Fauth | 2019-01-16 | 5 | -9/+16 |
| | | | | | | | - 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 | 21 | -0/+21 |
| | | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com> | ||||
* | Apply phpmyadmin/coding-standard | Maurício Meneghini Fauth | 2019-01-16 | 13 | -83/+108 |
| | | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com> | ||||
* | Merge pull request #203 from mostertb/case-alias | Isaac Bennetch | 2018-12-24 | 1 | -0/+28 |
|\ | | | | | Add support for Aliases on CASE expressions | ||||
| * | Add component build tests from CASE expressions with aliases | Brad Mostert | 2018-10-13 | 1 | -0/+28 |
| | | |||||
* | | Add support for LOCK and UNLOCK Statements | Deven Bansod | 2018-12-22 | 1 | -0/+71 |
| | | | | | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | ||||
* | | Cleanup and improve readability: | Bruno Perel | 2018-11-26 | 2 | -2/+1 |
|/ | | | | | Avoid duplicate if conditions Use switch/case instead of ifs when possible | ||||
* | Refactoring tests | Gabriel Caruso | 2017-12-14 | 5 | -16/+16 |
| | |||||
* | Add tests for (partially) parsed queries | Michal Čihař | 2017-07-12 | 2 | -0/+2 |
| | | | | Signed-off-by: Michal Čihař <michal@cihar.com> | ||||
* | Remove not used type arg from GROUP BY | Michal Čihař | 2017-06-01 | 1 | -3/+3 |
| | | | | | | | | It should not be there since beginning. Issue #154 Signed-off-by: Michal Čihař <michal@cihar.com> | ||||
* | Add GroupKeyword class to fix postgres GROUP BY | José Tobias de Freitas Neto | 2017-05-31 | 1 | -0/+24 |
| | |||||
* | Merge remote-tracking branch 'origin/pull/137' | Michal Čihař | 2017-02-14 | 3 | -0/+7 |
|\ | |||||
| * | Apply cs fixes | Damian Dlugosz | 2017-02-12 | 3 | -0/+4 |
| | | |||||
* | | Order imports | Damian Dlugosz | 2017-02-12 | 17 | -17/+17 |
|/ | |||||
* | Added PhpMyAdmin namespace prefix to follow PSR-4. | Michal Čihař | 2017-01-23 | 19 | -79/+79 |
| | | | | | | Fixes #126 Signed-off-by: Michal Čihař <michal@cihar.com> | ||||
* | Apply php-cs-fixer | Damian Dlugosz | 2017-01-06 | 19 | -45/+6 |
| | |||||
* | Add some missing assertions | Michal Čihař | 2017-01-03 | 1 | -3/+31 |
| | | | | Signed-off-by: Michal Čihař <michal@cihar.com> | ||||
* | Add tests for removal of option which has value attached to it | Deven Bansod | 2016-10-25 | 1 | -0/+15 |
| | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | ||||
* | Merge pull request #90 from devenbansod/subquery_in_from | Michal Čihař | 2016-10-03 | 1 | -0/+6 |
|\ | | | | | Fix parsing of subquery in FROM clause | ||||
| * | Fix parsing and building of SELECT ... INTO @var1 [,@var2...] | Deven Bansod | 2016-09-28 | 1 | -0/+6 |
| | | | | | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | ||||
* | | Merge pull request #87 from devenbansod/delete_statement | Michal Čihař | 2016-10-03 | 1 | -2/+2 |
|\ \ | | | | | | | Implement parsing and building for Delete Statement | ||||
| * | | Fixed some errors and add new tests | Deven Bansod | 2016-09-27 | 1 | -1/+1 |
| | | | | | | | | | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | ||||
| * | | Added test cases for parsing DELETE statements | Deven Bansod | 2016-09-24 | 1 | -1/+1 |
| |/ | | | | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | ||||
* | | Add more tests | Deven Bansod | 2016-09-26 | 1 | -0/+52 |
| | | | | | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | ||||
* | | Fix some issue with error reports and added testcases | Deven Bansod | 2016-09-26 | 1 | -0/+36 |
|/ | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | ||||
* | Fix test failures, add test case assertions | Deven Bansod | 2016-09-10 | 1 | -2/+2 |
| | | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com> | ||||
* | Move test to better place | Michal Čihař | 2016-03-21 | 1 | -11/+0 |
| | | | | Signed-off-by: Michal Čihař <michal@cihar.com> | ||||
* | Properly parse CREATE TABLE [AS] SELECT | Michal Čihař | 2016-03-19 | 1 | -0/+11 |
| | | | | | | Fixes https://github.com/phpmyadmin/phpmyadmin/issues/12109 Signed-off-by: Michal Čihař <michal@cihar.com> | ||||
* | Misc: Fixed coding style issues. | Dan Ungureanu | 2016-02-21 | 1 | -0/+0 |
| | | | | Signed-off-by: Dan Ungureanu <udan1107@gmail.com> | ||||
* | JoinKeyword: Added tests. | Dan Ungureanu | 2016-02-21 | 1 | -0/+10 |
| | | | | Signed-off-by: Dan Ungureanu <udan1107@gmail.com> | ||||
* | Expression: Improved error messages related to aliases. | Dan Ungureanu | 2016-02-21 | 1 | -2/+2 |
| | | | | Signed-off-by: Dan Ungureanu <udan1107@gmail.com> | ||||
* | Expression: Refactored parsing options.v3.3.0 | Dan Ungureanu | 2016-02-12 | 3 | -4/+4 |
| | |||||
* | ArrayObj: Handle more complex expressions in arrays. | Dan Ungureanu | 2016-02-02 | 1 | -1/+0 |
| | |||||
* | Improved test coverage. | Dan Ungureanu | 2015-11-08 | 1 | -0/+2 |
| | |||||
* | Support for references from different tables.v3.0.0 | Dan Ungureanu | 2015-10-03 | 1 | -2/+3 |
| | |||||
* | Updated coding style to follow PSR-2 coding standards. | Dan Ungureanu | 2015-09-25 | 1 | -1/+0 |
| | |||||
* | Replaced explicit calls to Component::build() with implicit calls to ↵ | Dan Ungureanu | 2015-08-18 | 2 | -3/+9 |
| | | | | | | | Component::__toString(). Fixed bugs that caused field names like '0', '0.0', etc. to be considered invalid. Refactoring. | ||||
* | Fixed a couple of minor bugs in partition parsing. | Dan Ungureanu | 2015-08-16 | 2 | -0/+41 |
| | | | | | | | 'MAXVALUE' can be used for partitions. The correct class is used for parsing. Options may be specified for the class that is used for parsing. Wrote tests. | ||||
* | Finished builders for components. | Dan Ungureanu | 2015-08-14 | 3 | -0/+39 |
| | |||||
* | Refactored field to something more appropriate depending on the context in ↵ | Dan Ungureanu | 2015-08-08 | 1 | -6/+6 |
| | | | | which it is used. | ||||
* | Translated exceptions. | Dan Ungureanu | 2015-07-25 | 1 | -0/+2 |
| | | | | Refactored tests. | ||||
* | Added builder for ORDER keyword. | Dan Ungureanu | 2015-07-25 | 1 | -0/+26 |
| | |||||
* | Reorganized tests. | Dan Ungureanu | 2015-07-23 | 2 | -5/+5 |
| | | | | Implemented a tool to generate tests. | ||||
* | Implemented support for transactions. | Dan Ungureanu | 2015-07-23 | 1 | -4/+15 |
| | |||||
* | Avoid processing the alias twice and generate an error. | Dan Ungureanu | 2015-07-19 | 2 | -8/+42 |
| | | | | | Errors are triggered when an unexpected token is found between clauses. Refactoring. | ||||
* | Better error detection. Fixed some of the old messages. | Dan Ungureanu | 2015-07-15 | 4 | -6/+55 |
| | | | | Minor coding style fixes. | ||||
* | Fixed some Scrutinizer issues. | Dan Ungureanu | 2015-07-15 | 1 | -1/+2 |
| | |||||
* | Improved error messages. | Dan Ungureanu | 2015-07-15 | 6 | -27/+153 |
| | | | | | Achieved 100% code coverage. Some refactoring. | ||||
* | Added switch to skip sorting options. | Dan Ungureanu | 2015-07-14 | 1 | -15/+11 |
| | | | | Renamed the keys used for options to something more relevant. | ||||
* | Added MariaDB's options for virtual fields. Updated contexts to contain ↵ | Dan Ungureanu | 2015-07-14 | 1 | -4/+18 |
| | | | | | | | | | relevant keywords. Added magic method '__toString()' for components and statements for building. Fixed a bug that caused the function name to be incorrectly detected in an expression. Fixed a bug that ignored the 'noAlias' option in expressions. Options may be expressions now. | ||||
* | Added remove() method for OptionsArray. | Dan Ungureanu | 2015-07-10 | 1 | -0/+28 |
| | | | | | Fixed undefined variables introduced by previous renaming. Some refactoring. | ||||
* | Imporved JOIN parsing and building. | Dan Ungureanu | 2015-07-10 | 1 | -0/+36 |
| | | | | Some keywords may appear in conditions. | ||||
* | Mass renaming. Using 'component' instead of 'fragment'. | Dan Ungureanu | 2015-07-10 | 10 | -0/+332 |