summaryrefslogtreecommitdiffstats
path: root/tests/Components/CaseExpressionTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix PHP warnings when building an incomplete CASE expressionThomas Gerbet2019-04-101-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 ```
* Enable strict mode on PHP filesMaurício Meneghini Fauth2019-01-161-0/+1
| | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
* Apply phpmyadmin/coding-standardMaurício Meneghini Fauth2019-01-161-6/+12
| | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
* Add component build tests from CASE expressions with aliasesBrad Mostert2018-10-131-0/+28
|
* Order importsDamian Dlugosz2017-02-121-1/+1
|
* Added PhpMyAdmin namespace prefix to follow PSR-4.Michal Čihař2017-01-231-4/+4
| | | | | | Fixes #126 Signed-off-by: Michal Čihař <michal@cihar.com>
* Apply php-cs-fixerDamian Dlugosz2017-01-061-2/+0
|
* Add more testsDeven Bansod2016-09-261-0/+52
| | | | Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
* Fix some issue with error reports and added testcasesDeven Bansod2016-09-261-0/+36
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>