Skip to content
This repository was archived by the owner on Jan 31, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
],
"type": "library",
"require": {
"php": ">=8.2",
"php": ">=8.1",
"ext-bcmath": "*",
"ext-json": "*",
"ext-sockets": "*",
Expand Down
2 changes: 1 addition & 1 deletion src/MySQLReplication/BinLog/BinLogServerInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use MySQLReplication\BinaryDataReader\BinaryDataReader;

readonly class BinLogServerInfo
class BinLogServerInfo
{
private const MYSQL_VERSION_MARIADB = 'MariaDB';
private const MYSQL_VERSION_PERCONA = 'Percona';
Expand Down
2 changes: 1 addition & 1 deletion src/MySQLReplication/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use JsonSerializable;

readonly class Config implements JsonSerializable
class Config implements JsonSerializable
{
public function __construct(
public string $user,
Expand Down
2 changes: 1 addition & 1 deletion src/MySQLReplication/Event/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
use Psr\SimpleCache\CacheInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;

readonly class Event
class Event
{
private const MARIADB_DUMMY_QUERY = '# Dum';

Expand Down
2 changes: 1 addition & 1 deletion src/MySQLReplication/Event/RowEvent/ColumnDTO.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use MySQLReplication\Definitions\ConstFieldType;
use MySQLReplication\Repository\FieldDTO;

readonly class ColumnDTO implements JsonSerializable
class ColumnDTO implements JsonSerializable
{
public function __construct(
public FieldDTO $fieldDTO,
Expand Down
2 changes: 1 addition & 1 deletion src/MySQLReplication/Event/RowEvent/RowEventFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use MySQLReplication\BinaryDataReader\BinaryDataReader;
use MySQLReplication\Event\EventInfo;

readonly class RowEventFactory
class RowEventFactory
{
public function __construct(
private RowEventBuilder $rowEventBuilder
Expand Down
2 changes: 1 addition & 1 deletion src/MySQLReplication/Event/RowEvent/TableMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use JsonSerializable;

readonly class TableMap implements JsonSerializable
class TableMap implements JsonSerializable
{
public function __construct(
public string $database,
Expand Down
2 changes: 1 addition & 1 deletion src/MySQLReplication/Event/RowEvent/TableMapCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

use Psr\SimpleCache\CacheInterface;

readonly class TableMapCache
class TableMapCache
{
public function __construct(
private CacheInterface $cache
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @see https://github.com/mysql/mysql-server/blob/8.0/sql/json_binary.cc
* @see https://github.com/shyiko/mysql-binlog-connector-java/blob/master/src/main/java/com/github/shyiko/mysql/binlog/event/deserialization/json/JsonBinary.java
*/
readonly class JsonBinaryDecoderService
class JsonBinaryDecoderService
{
public const SMALL_OBJECT = 0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace MySQLReplication\JsonBinaryDecoder;

readonly class JsonBinaryDecoderValue
class JsonBinaryDecoderValue
{
public function __construct(
public bool $isResolved,
Expand Down
2 changes: 1 addition & 1 deletion src/MySQLReplication/Repository/FieldDTO.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace MySQLReplication\Repository;

readonly class FieldDTO
class FieldDTO
{
public function __construct(
public string $columnName,
Expand Down
2 changes: 1 addition & 1 deletion src/MySQLReplication/Repository/MasterStatusDTO.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace MySQLReplication\Repository;

readonly class MasterStatusDTO
class MasterStatusDTO
{
public function __construct(
public string $position,
Expand Down
2 changes: 1 addition & 1 deletion src/MySQLReplication/Repository/MySQLRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use MySQLReplication\BinLog\BinLogException;
use MySQLReplication\Exception\MySQLReplicationException;

readonly class MySQLRepository implements RepositoryInterface, PingableConnection
class MySQLRepository implements RepositoryInterface, PingableConnection
{
public function __construct(
private Connection $connection
Expand Down