? Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
31 Dec 2021

Summary of Changes

get DatabaseDriver from container

Testing Instructions

code review

Actual result BEFORE applying this Pull Request

@deprecated 5.0 — Load the database service from the dependency injection container

Expected result AFTER applying this Pull Request

no more Factory::getDbo(); @deprecated 5.0

avatar alikon alikon - open - 31 Dec 2021
avatar alikon alikon - change - 31 Dec 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 31 Dec 2021
Category Administration com_modules com_workflow Front End com_content com_users Libraries Modules
avatar PhilETaylor
PhilETaylor - comment - 31 Dec 2021

I’m pretty sure there are now three open PRs all the same to do this

avatar alikon
alikon - comment - 31 Dec 2021

i've found only this #35888 ... but is not complete..what is the other one ?

8f4ef39 31 Dec 2021 avatar alikon grr
avatar alikon alikon - change - 31 Dec 2021
Labels Added: ?
avatar HLeithner
HLeithner - comment - 31 Dec 2021

it would be nice to add the variable type, so the static code analyser has a chance to help auto completing.

avatar alikon
alikon - comment - 31 Dec 2021

outside pr scope

avatar PhilETaylor
PhilETaylor - comment - 31 Dec 2021

outside pr scope

I disagree. The code you are replacing has a defined return type in the docblock which is used by static analysis, whereas after this PR it's not defined.

avatar alikon alikon - change - 31 Dec 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-12-31 17:06:54
Closed_By alikon
avatar alikon
alikon - comment - 31 Dec 2021

ok better status quo then

avatar alikon alikon - close - 31 Dec 2021
avatar PhilETaylor
PhilETaylor - comment - 31 Dec 2021

Wow attitude much - just add the 12 lines of copy and paste doc code and move on

avatar PhilETaylor
PhilETaylor - comment - 31 Dec 2021

Replacement PR Provided as #36511

Add a Comment

Login with GitHub to post a comment