rdbms: add "secret" parameter to ChronologyProtector to use HMAC client IDs
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 19 Apr 2019 23:18:01 +0000 (16:18 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Fri, 19 Apr 2019 23:22:04 +0000 (16:22 -0700)
commit8107fddd8fe3d5e6e0411f3df0a62f55e8b0c999
tree6e523a64fda9f7cafc73c370f7e29e5f4de16c8e
parent61702397aa04572251869935245c07a0821f6c4a
rdbms: add "secret" parameter to ChronologyProtector to use HMAC client IDs

Also make $posIndex mandatory and clean up some IDE warnings in LBFactory.

Change-Id: I9e686b670bc86eb377f14ca57a94e1aa3fd901d5
includes/libs/rdbms/ChronologyProtector.php
includes/libs/rdbms/lbfactory/ILBFactory.php
includes/libs/rdbms/lbfactory/LBFactory.php
tests/phpunit/includes/db/LBFactoryTest.php