[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 32e83d: Refactor ServerDatabasesController

Maurício Meneghini Fauth mauriciofauth at gmail.com
Sat Jan 26 20:25:12 CET 2019


Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 32e83d90974e033adf8afffee0bfc8726859834e
https://github.com/phpmyadmin/phpmyadmin/commit/32e83d90974e033adf8afffee0bfc8726859834e
Author: Maurício Meneghini Fauth <mauriciofauth at gmail.com>
Date: 2019-01-26 (Sat, 01 January 2019) -02:00

Changed paths: 
M libraries/classes/Controllers/Server/ServerDatabasesController.php
M phpstan.neon
M server_databases.php
M templates/server/databases/index.twig
M templates/server/sub_page_header.twig
M test/classes/Controllers/Server/ServerDatabasesControllerTest.php
D templates/server/databases/databases_footer.twig
D templates/server/databases/table_row.twig

Log Message:
-----------
Refactor ServerDatabasesController

Refactors PhpMyAdmin\Controllers\Server\ServerDatabasesController.

- Renames variables and methods to camelCase format.
- Moves request and response handling back to server_databases.php.
- Groups all HTML into templates/server/databases/index.twig.
- Improves unit tests.

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth at gmail.com>

Commit: e972b3edbc1a2b9885093e86931657105ff9dc9e
https://github.com/phpmyadmin/phpmyadmin/commit/e972b3edbc1a2b9885093e86931657105ff9dc9e
Author: Maurício Meneghini Fauth <mauriciofauth at gmail.com>
Date: 2019-01-26 (Sat, 01 January 2019) -03:00

Changed paths: 
M libraries/classes/Controllers/Server/ServerDatabasesController.php
M phpstan.neon
M server_databases.php
M templates/server/databases/index.twig
M templates/server/sub_page_header.twig
M test/classes/Controllers/Server/ServerDatabasesControllerTest.php
D templates/server/databases/databases_footer.twig
D templates/server/databases/table_row.twig

Log Message:
-----------
Merge pull request #14901 from mauriciofauth/server_databases

Refactor ServerDatabasesController

Refactors PhpMyAdmin\Controllers\Server\ServerDatabasesController.

- Renames variables and methods to camelCase format.
- Moves request and response handling back to server_databases.php.
- Groups all HTML into templates/server/databases/index.twig.
- Improves unit tests.



More information about the Git mailing list