wiki.techinc.nl/tests/phpunit/unit
Amir Sarabadani 8614e30638 rdbms: Stop accepting live connection in DBConnRef constructor
This just makes the class overly complex and defies the whole point of
having this class in the first place (=delaying getting db connections).

It makes it harder to read and understand and specially polymorphic
arguments are quite confusing.

It also would break the reloading db on the fly (I6c3ffde62f6e), users
of DBConnectionRef should not know about the underlying connection, this
class is trying encpsulate that and accepting connection in constructor
breaks this encapsulation.

Bug: T298485
Depends-On: I951ab99ae766788dbae8bd338aaae114a388b21f
Change-Id: I743c0565504c65c4dedf29f2a36d4c386601fda0
2022-08-08 18:11:31 +02:00
..
documentation
includes rdbms: Stop accepting live connection in DBConnRef constructor 2022-08-08 18:11:31 +02:00
languages Add structure test for Messages*.php files 2022-06-16 03:09:39 +00:00
linker Replace trivial usa of mock builder with createMock() shortcut 2022-07-15 16:43:48 +00:00
maintenance Runner: Handle more params in runner. 2022-06-13 16:10:51 +00:00