Hugues Peccatte
df847d7121
Remove useless 'use'
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:40:21 +02:00
Hugues Peccatte
a395bd2823
Remove as much as possible the old DI system
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2019-06-15 21:39:21 +02:00
Maurício Meneghini Fauth
17195fbe72
Get $dbi from DIC instead of global in entry points
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-04-18 01:09:38 -03:00
Maurício Meneghini Fauth
38e5b12c1c
Define an absolute path to use for require statements
...
Fixes #6167
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-12-22 14:37:31 -02:00
Maurício Meneghini Fauth
285e38e931
Fix some PSR-2 coding standard errors
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 09:07:56 -03:00
Maurício Meneghini Fauth
b9c0463d96
Use short array syntax instead of long array syntax
...
Replaces array() with [].
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-30 01:42:21 -03:00
Maurício Meneghini Fauth
af148ad92b
Enable strict mode in PHP files
...
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-16 04:36:04 -03:00
Maurício Meneghini Fauth
119563b7ea
Move classes to PhpMyAdmin namespace
...
- Move OpenDocument to PhpMyAdmin namespace
- Move OutputBuffering to PhpMyAdmin namespace
- Move Partition to PhpMyAdmin namespace
- Move Pdf class to PhpMyAdmin namespace
- Move RecentFavoriteTable to PhpMyAdmin namespace
- Move Response to PhpMyAdmin namespace
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-06-30 23:44:10 -03:00
Michal Čihař
308c9d7951
Simplify Response object handling
...
- always use use and short name
- avoid calling getInstance() several times in one script
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-07 18:17:59 +01:00
Hugues Peccatte
f0ba28fc1d
Set namespace on Advisor, Config, Console and Util classes.
...
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:22:52 +02:00
pratiksethia1
c3e0a58ec1
rfe1625 - Solves the repeated POST issues and javascript fatal error
...
Signed-off-by: Pratik Sethia <pratiksethia1@gmail.com>
2015-03-22 04:33:48 +05:30
pratiksethia1
f7c08962c7
moved response outside "if" condition
...
Signed-off-by: Pratik Sethia <pratiksethia1@gmail.com>
2015-03-21 02:24:41 +05:30
pratiksethia1
5d660eb09d
Feature Request #1625 Autocomplete Sql
...
Gives an option to user to toggle autocomplete of table and column
names in config settings
Signed-off-by: Pratik Sethia <pratiksethia1@gmail.com>
2015-03-21 00:15:30 +05:30
Zhang Hao
2cc8a9ce3b
rfe #1595 make professional code editor suggestion
...
Signed-off-by: Zhang Hao <jason.daurus@gmail.com>
2015-02-21 16:27:31 +08:00
Hugues Peccatte
037a034b43
Minor coding style modifications.
...
Fix typos.
PHPDoc and JSDoc updates.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-11-02 14:04:35 +01:00
Nisarg Jhaveri
6cc3ea6eae
Autocomplete table/column names in SQL editors
...
- In DB and Table level SQL editors, console
- Updated CodeMirror addon `sql-hint.js` to newer version
Signed-off-by: Nisarg Jhaveri <nisarg.jhaveri@research.iiit.ac.in>
2014-10-14 23:22:15 +05:30