php-mysql-replication icon indicating copy to clipboard operation
php-mysql-replication copied to clipboard

Add support of Symfony 6

Open Johnmeurt opened this issue 3 years ago • 2 comments

Hello,

the library has 2 dependencies on Symfony < 6 which makes the migration impossible for project.

  • symfony/dependency-injection: I did not find usage on the source and test. Should it be removed ?
  • symfony/event-dispatcher: seems compatible with Sf6.

Regards

Johnmeurt avatar May 27 '22 14:05 Johnmeurt

You can try this fork https://github.com/Moln/php-mysql-replication .

Resolve these issues:

  • Add regular expression matching support for DatabasesOnly or TablesOnly of Config.
  • Resolve krowinski/php-mysql-replication#94, change static config properties to non-static.
  • Add retry feature.
    (new ConfigBuilder())
      ->withRetry(-1) // Retry always.
      ->withRetry(0)  // Disable retry feature. (Default)
      ->withRetry(2)  // Retry twice.
    
  • PHP 8.1,8.2 supports.

Moln avatar Jan 10 '23 12:01 Moln

Can you submit a PR to the official?

huangdijia avatar Jan 10 '23 23:01 huangdijia

fixed in #113

krowinski avatar Mar 13 '24 11:03 krowinski