summaryrefslogtreecommitdiffstats
path: root/src/Components/OptionsArray.php
Commit message (Collapse)AuthorAgeFilesLines
* 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-7/+7
| | | | | See: 86c5baebda24c1721fb6881df8671a3c7df60e8b Signed-off-by: William Desportes <williamdes@wdes.fr>
* Revert array syntaxWilliam Desportes2019-05-281-5/+5
| | | | | See: 86c5baebda24c1721fb6881df8671a3c7df60e8b Signed-off-by: William Desportes <williamdes@wdes.fr>
* 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-19/+19
| | | | Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
* Use triple (in)equalities when type compatibility is ensuredBruno Perel2018-11-261-4/+4
|
* Merge branch 'master' into motranslatorMichal Čihař2017-01-231-6/+6
|\
| * Added PhpMyAdmin namespace prefix to follow PSR-4.Michal Čihař2017-01-231-5/+5
| | | | | | | | | | | | Fixes #126 Signed-off-by: Michal Čihař <michal@cihar.com>
* | Merge branch 'master' into motranslatorMichal Čihař2017-01-061-26/+26
|\ \ | |/
| * Apply php-cs-fixerDamian Dlugosz2017-01-061-26/+26
| |
| * Consistently end message with .Michal Čihař2016-12-211-1/+1
| | | | | | | | Signed-off-by: Michal Čihař <michal@cihar.com>
* | Migrate new code to use Translator classMichal Čihař2016-12-211-1/+1
| | | | | | | | Signed-off-by: Michal Čihař <michal@cihar.com>
* | Use static method for translatingMichal Čihař2016-12-211-1/+1
| | | | | | | | Signed-off-by: Michal Čihař <michal@cihar.com>
* | Replace __( usage by Translator classMichal Čihař2016-12-211-1/+2
|/ | | | Signed-off-by: Michal Čihař <michal@cihar.com>
* 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 user@host without backquotesDeven Bansod2016-09-201-5/+9
| | | | | | | | | | Introduce an option to parse 'expr=' (like var, var=, expr) Fix tests Fix phpmyadmin/phpmyadmin#12298 Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
* Add special cases for SET CHARACTER SET, CHARSET, NAMESDeven Bansod2016-09-101-0/+19
| | | | | | | Fix #51 Fix #74 Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
* OptionsArray: Fixed case-sensitivity issues.Dan Ungureanu2016-02-211-6/+11
| | | | Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
* Fixed coding style.Dan Ungureanu2015-11-081-2/+2
|
* Fix error message.v3.0.4Dan Ungureanu2015-10-211-1/+3
|
* Properly parse options when the value of the option is '='.v2.1.2Dan Ungureanu2015-10-021-1/+1
|
* Updated coding style to follow PSR-2 coding standards.Dan Ungureanu2015-09-251-1/+0
|
* Fixed minor style issues in generated queries.v1.0.0Dan Ungureanu2015-08-201-1/+2
| | | | | | | | | Introduced options for builders. Data types are lower case in CREATE TABLE statements, but in any other case they continue to be upper case. Formatter uses 2 spaces instead of 4 for indentation as specified in the MySQL Coding Guidelines. https://dev.mysql.com/doc/internals/en/indentation-spacing.html.
* Replaced explicit calls to Component::build() with implicit calls to ↵Dan Ungureanu2015-08-181-4/+3
| | | | | | | Component::__toString(). Fixed bugs that caused field names like '0', '0.0', etc. to be considered invalid. Refactoring.
* Consistent PHPDoc style.Dan Ungureanu2015-08-151-1/+7
|
* Coding style fixes.Dan Ungureanu2015-08-111-4/+4
|
* Refactoring.Dan Ungureanu2015-07-221-3/+5
|
* Improved localization.Dan Ungureanu2015-07-211-1/+5
|
* Fixed support for multi-byte strings.Dan Ungureanu2015-07-161-2/+2
|
* Better error detection. Fixed some of the old messages.Dan Ungureanu2015-07-151-1/+1
| | | | Minor coding style fixes.
* Improved error messages.Dan Ungureanu2015-07-151-0/+10
| | | | | Achieved 100% code coverage. Some refactoring.
* Added switch to skip sorting options.Dan Ungureanu2015-07-141-18/+28
| | | | Renamed the keys used for options to something more relevant.
* Fixed typos and documentation.Dan Ungureanu2015-07-141-7/+9
|
* Added MariaDB's options for virtual fields. Updated contexts to contain ↵Dan Ungureanu2015-07-141-33/+113
| | | | | | | | | 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 Ungureanu2015-07-101-2/+22
| | | | | Fixed undefined variables introduced by previous renaming. Some refactoring.
* Mass renaming. Using 'component' instead of 'fragment'.Dan Ungureanu2015-07-101-0/+210