Commit Graph

45 Commits

Author SHA1 Message Date
Maurício Meneghini Fauth
487591badd Remove the DropDownUploadFileBlock HTML generator
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-04-01 20:06:09 -03:00
Maurício Meneghini Fauth
ef994c3398 Remove the FKCheckbox HTML generator
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-04-01 16:52:25 -03:00
Maurício Meneghini Fauth
676f48349a Reference global funcs and consts via use statement
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-21 22:13:36 -03:00
Maurício Meneghini Fauth
42166cac37 Remove use statements within the same namespace
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-21 19:47:56 -03:00
Maurício Meneghini Fauth
f80d3e3bd4 Remove unnecessary annotations
@package, @subpackage and others.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2020-01-20 17:35:56 -03:00
Maurício Meneghini Fauth
f6a17433a2 Use null coalesce operator when possible
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-11 20:16:58 -03:00
Maurício Meneghini Fauth
dd06cd38f8 Defines rules for double quote usage
Makes sure that any use of double quotes strings are warranted.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-12-01 14:10:07 -03:00
Maurício Meneghini Fauth
1a14b3e4d3 Remove vim modelines
These settings are no longer required as they are guaranteed through
other coding standard tools.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-09-02 09:43:21 -03:00
Maurício Meneghini Fauth
0291c48114 Remove Charsets::getCharsetDropdownBox method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-25 01:45:32 -03:00
Maurício Meneghini Fauth
7be0f6bfae Reference class names in use statements
Sort use statements

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-06-12 00:14:26 -03:00
William Desportes
40cc2dc813
Fix @var comments to match the phpdoc reference
See: http://docs.phpdoc.org/references/phpdoc/tags/var.html

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2019-05-01 10:54:43 +02:00
Maurício Meneghini Fauth
5edbdf2063 Remove Template::get() method
Uses Template::render() instead of Template::get().

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-06-18 19:46:36 -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
267aadd4c3 Enable strict mode in Display classes
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-05-16 01:09:16 -03:00
Maurício Meneghini Fauth
35eb2da38a Remove @ operator from function_exists
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2018-03-01 22:36:35 -03:00
Maurício Meneghini Fauth
73e558337c Refactor PhpMyAdmin\Display\Import class
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-26 15:38:25 -02:00
Maurício Meneghini Fauth
4b51f335de Use template for getHtmlForImport
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-26 15:38:25 -02:00
Maurício Meneghini Fauth
ec3591fe60 Remove getHtmlForImportOptionsFile method
Replace getHtmlForImportOptionsFile method with the template call.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
7e81e5e09e Use template for getHtmlForImportOptionsFile
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
db607e7fa8 Remove getHtmlForImportOptionsSubmit method
Replace getHtmlForImportOptionsSubmit method with the template call.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
4ea6e68b37 Remove getHtmlForImportOptionsFormat method
Replace getHtmlForImportOptionsFormat method with the template call.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
4ef1e098d2 Remove getHtmlForImportOptionsOther method
Replace getHtmlForImportOptionsOther method with the template call.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
8f12613b7b Remove getHtmlForImportOptionsPartialImport method
Replace getHtmlForImportOptionsPartialImport method with the template call.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
8502c2ad47 Remove getHtmlForImportCharset method
Replace getHtmlForImportCharset method with the template call.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
1c4390205c Remove getHtmlForImportOptions method
Replace getHtmlForImportOptions method with the template call.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
2f511140ae Remove getHtmlForImportCompressions method
Replace getHtmlForImportCompressions method with the template call.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
3d688660af Remove getHtmlForImportJs method
Replace getHtmlForImportJs method with the template call.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
96a1f01a62 Remove getHtmlForHiddenInputs method
Replace getHtmlForHiddenInputs method with the template call.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
ef7936af09 Use template for getHtmlForImportCharset
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
aeef8e5418 Use template for getHtmlForImportCompressions
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
33330d7a7b Use template for getHtmlForImportJs
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
0d2e214c58 Remove getHtmlForImportWithPlugin method
Replace getHtmlForImportWithPlugin method with the template call.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
45860954cd Use template for getHtmlForImportWithPlugin
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
ce50bd64ce Use template for getHtmlForHiddenInputs
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
dfd8abaae6 Use template for getHtmlForImportOptions
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
6e5fbd7403 Use template for getHtmlForImportOptionsSubmit
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-25 17:37:14 -02:00
Maurício Meneghini Fauth
ce73bdbbab Use template for kanjiEncodingForm method
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-22 23:19:49 -02:00
Maurício Meneghini Fauth
2e038bd5cd Use template for getHtmlForImportOptionsFormat
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-22 23:19:49 -02:00
Maurício Meneghini Fauth
63ac8cd82d Use template for getHtmlForImportOptionsOther
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-22 15:22:26 -02:00
Maurício Meneghini Fauth
5fc2c010da Use template for getHtmlForImportOptionsPartialImport
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-21 22:43:17 -02:00
Maurício Meneghini Fauth
cc2c4fc36d Replace globals with DI in Charsets class
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-11-09 11:31:42 -02:00
Maurício Meneghini Fauth
700e081833 Refactor plugin_interface functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-12 17:36:39 -03:00
Maurício Meneghini Fauth
e555b77946 Refactor file_listing functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-11 22:58:58 -03:00
Maurício Meneghini Fauth
57f4006423 Refactor display_import_ajax to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-07 09:37:02 -03:00
Maurício Meneghini Fauth
f0f8c3e68f Refactor display_import functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-09-06 10:59:18 -03:00