[phpMyAdmin Git] [phpmyadmin/phpmyadmin] 5254ec: Refactor Navigation\NavigationTree

Maurício Meneghini Fauth mauricio at fauth.dev
Wed Apr 24 07:28:14 CEST 2019


Branch: refs/heads/master
Home: https://github.com/phpmyadmin/phpmyadmin
Commit: 5254ec1b65fb21a88aceec405c159e62eda69394
https://github.com/phpmyadmin/phpmyadmin/commit/5254ec1b65fb21a88aceec405c159e62eda69394
Author: Maurício Meneghini Fauth <mauricio at fauth.dev>
Date: 2019-04-24 (Wed, 04 April 2019) -03:00

Changed paths: 
A templates/navigation/tree/database_select.twig
A templates/navigation/tree/state.twig
M libraries/classes/Dbi/DbiDummy.php
M libraries/classes/Navigation/Navigation.php
M libraries/classes/Navigation/NavigationTree.php
M test/classes/Config/PageSettingsTest.php
M test/classes/ConfigTest.php
M test/classes/Controllers/Table/IndexesControllerTest.php
M test/classes/Controllers/Table/RelationControllerTest.php
M test/classes/HeaderTest.php
M test/classes/Navigation/NavigationTest.php
M test/classes/Navigation/NavigationTreeTest.php
M test/classes/Plugins/Auth/AuthenticationCookieTest.php

Log Message:
-----------
Refactor Navigation\NavigationTree

- Extract HTML from renderState() and renderDbSelect()
- Use DI for $dbi instead of global
- Fix tests

Signed-off-by: Maurício Meneghini Fauth <mauricio at fauth.dev>



More information about the Git mailing list