Maurício Meneghini Fauth
|
fa5c684f27
|
Replace the master/slave terminology
Replaces master with primary and slave with replica.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-12-18 14:26:56 -03:00 |
|
Kamil Tekiela
|
ce527035c2
|
PHPStan checkAlwaysTrueCheckTypeFunctionCall fixes
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
|
2021-12-08 15:26:52 +00:00 |
|
Maurício Meneghini Fauth
|
9928882de3
|
Fix some errors found by Psalm
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-05-23 00:24:59 -03:00 |
|
Maurício Meneghini Fauth
|
44bdd1d390
|
Rename $url_params global to $urlParams
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2021-03-24 22:48:14 -03:00 |
|
Maurício Meneghini Fauth
|
cd862d4f00
|
Remove replication_info global variable
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-09-12 09:04:44 -03:00 |
|
Maurício Meneghini Fauth
|
fd305ee8b1
|
Refactor ReplicationInfo::load
Extracts methods that uses the $dbi global.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-09-08 19:13:52 -03:00 |
|
Maurício Meneghini Fauth
|
bf2e91f41f
|
Remove (master|slave)_variables* global variables
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-09-08 17:31:17 -03:00 |
|
Maurício Meneghini Fauth
|
952e2f9ee8
|
Remove replication_types PHP global
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-09-08 15:54:02 -03:00 |
|
Maurício Meneghini Fauth
|
be9a73948a
|
Extract methods to get primary and replica info
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-09-08 15:28:15 -03:00 |
|
Maurício Meneghini Fauth
|
3b285ff17e
|
Use identical operator for non-empty strings
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-07-10 18:06:29 -03:00 |
|
Maurício Meneghini Fauth
|
f4582e083e
|
Use early exit when possible
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-27 00:35:24 -03:00 |
|
Maurício Meneghini Fauth
|
3baad2eb1c
|
Fix some coding standard issues
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-05-25 22:42:37 -03:00 |
|
Maurício Meneghini Fauth
|
676f48349a
|
Reference global funcs and consts via use statement
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-21 22:13:36 -03:00 |
|
Maurício Meneghini Fauth
|
f80d3e3bd4
|
Remove unnecessary annotations
@package, @subpackage and others.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 17:35:56 -03:00 |
|
Maurício Meneghini Fauth
|
88cfde2bed
|
Remove empty comments
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 13:33:38 -03:00 |
|
Maurício Meneghini Fauth
|
50bc4ab37f
|
Remove useless PHP docs for functions
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-20 13:20:01 -03:00 |
|
Maurício Meneghini Fauth
|
08afb43653
|
Remove replication.inc.php file
Extracts the replication.inc.php code to the ReplicationInfo class and
removes the file.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
|
2020-01-07 14:31:46 -03:00 |
|