summaryrefslogtreecommitdiffstats
path: root/src/Utils/BufferedQuery.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'QA'William Desportes2019-12-311-1/+1
|\ | | | | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
| * Fix phpdoc using phpstan level 3William Desportes2019-12-311-1/+1
| | | | | | | | Signed-off-by: William Desportes <williamdes@wdes.fr>
| * Revert "Enable strict mode on PHP files"William Desportes2019-05-281-1/+1
| | | | | | | | | | This reverts commit 17da8a34b81442524a8e01fead7b5968fa1cc39d. Signed-off-by: William Desportes <williamdes@wdes.fr>
| * revert of new array syntaxWilliam Desportes2019-05-281-2/+2
| | | | | | | | | | See: 86c5baebda24c1721fb6881df8671a3c7df60e8b Signed-off-by: William Desportes <williamdes@wdes.fr>
| * Revert array syntaxWilliam Desportes2019-05-281-2/+2
| | | | | | | | | | See: 86c5baebda24c1721fb6881df8671a3c7df60e8b Signed-off-by: William Desportes <williamdes@wdes.fr>
* | Remove useless comments and annotationsMaurício Meneghini Fauth2019-12-141-6/+0
|/ | | | Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
* Enable strict mode on PHP filesMaurício Meneghini Fauth2019-01-161-1/+1
| | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
* Apply phpmyadmin/coding-standardMaurício Meneghini Fauth2019-01-161-9/+8
| | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
* Use triple (in)equalities when type compatibility is ensuredBruno Perel2018-11-261-2/+2
|
* Cleanup and improve readability:Bruno Perel2018-11-261-21/+20
| | | | | Avoid duplicate if conditions Use switch/case instead of ifs when possible
* Fixes striping of inline comments #11717Raghuram2017-04-051-3/+5
| | | | Signed-off-by: Raghuram Vadapalli <raghuram.vadapalli@research.iiit.ac.in>
* Added PhpMyAdmin namespace prefix to follow PSR-4.Michal Čihař2017-01-231-2/+2
| | | | | | Fixes #126 Signed-off-by: Michal Čihař <michal@cihar.com>
* Apply php-cs-fixerDamian Dlugosz2017-01-061-25/+21
|
* Clarify licenseMichal Čihař2016-09-261-1/+1
| | | | | | | | | - Add link to official license text - Use SPDX identifier for license - Clarify that the code is GPL or later - See issue #89 Signed-off-by: Michal Čihař <michal@cihar.com>
* Remove @author from comment metadataMichal Čihař2016-09-261-1/+0
| | | | | | | | - We're doing this for ages in phpmyadmin repo - The comments get outdated over time - See issue #89 Signed-off-by: Michal Čihař <michal@cihar.com>
* Fix parsing of query with \v3.4.3Michal Čihař2016-04-191-3/+3
| | | | | | | | The previous fix was wrong, it didn't properly handle double escaping. Fixes https://github.com/phpmyadmin/phpmyadmin/issues/12197 Signed-off-by: Michal Čihař <michal@cihar.com>
* Fix splitting query when escaped quotes are involvedMichal Čihař2016-03-021-2/+2
| | | | | | Fixes https://github.com/phpmyadmin/phpmyadmin/issues/12054 Signed-off-by: Michal Čihař <michal@cihar.com>
* BufferedQuery: Backslashes in comments escaped characters in comments.Dan Ungureanu2016-01-091-7/+13
|
* Fixed DELIMITER statements in BufferedQuery.Dan Ungureanu2015-11-081-0/+5
|
* Handle backslashes separately for BufferedQuery.v3.0.1Dan Ungureanu2015-10-061-2/+14
|
* Updated coding style to follow PSR-2 coding standards.Dan Ungureanu2015-09-251-5/+0
|
* Consistent PHPDoc style.Dan Ungureanu2015-08-151-0/+5
|
* Coding style fixes.Dan Ungureanu2015-08-111-1/+1
|
* The initial value of the query is no longer ignored in BufferedQuery's ↵Dan Ungureanu2015-08-111-1/+1
| | | | constructor.
* Refactored some parts of BufferedQuery. Fixed minor bugs.Dan Ungureanu2015-08-111-13/+17
|
* Typo in operator name.Dan Ungureanu2015-08-111-2/+2
| | | | Fixed spacing in comment.
* Introduced the buffered query parser. This is used to extract statements from aDan Ungureanu2015-08-091-0/+390
buffered string that may be parsed using the parser. DELIMITER is no longer reported as unexpected beginning of statement. Fixed typos.