From 8ac74964602af66b3e157ca00dc2e851d5cca580 Mon Sep 17 00:00:00 2001 From: Daniel Subiabre Date: Fri, 6 Feb 2026 13:25:06 +0100 Subject: [PATCH 1/3] feat: add missing Migration class for ProjectVideo $cover property --- migrations/Version20260206121101.php | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 migrations/Version20260206121101.php diff --git a/migrations/Version20260206121101.php b/migrations/Version20260206121101.php new file mode 100644 index 0000000..74f69bd --- /dev/null +++ b/migrations/Version20260206121101.php @@ -0,0 +1,26 @@ +addSql('ALTER TABLE project ADD video_cover VARCHAR(255) DEFAULT NULL'); + } + + public function down(Schema $schema): void + { + $this->addSql('ALTER TABLE project DROP video_cover'); + } +} From 8079b4d5b571acfd01656cac7992bb417c2e5ce5 Mon Sep 17 00:00:00 2001 From: Daniel Subiabre Date: Fri, 6 Feb 2026 13:25:46 +0100 Subject: [PATCH 2/3] feat: improve email provider string replacement of User handle strings --- src/Service/UserService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/UserService.php b/src/Service/UserService.php index eaa7c8a..24efe6a 100644 --- a/src/Service/UserService.php +++ b/src/Service/UserService.php @@ -20,7 +20,7 @@ class UserService $nval = \strtolower($value); // If email remove provider - $nval = \preg_replace('/@.*[\.-](com|net|org|es)/', '', $nval); + $nval = preg_replace('/@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/', '', $nval); // Replace known subs $nval = \str_replace(['&', '@', 'ñ', '=', '≠'], ['and', 'at', 'nn', 'eq', 'nq'], $nval); From b8830967ec1fcd580007c2a7acff13d157605501 Mon Sep 17 00:00:00 2001 From: Daniel Subiabre Date: Fri, 6 Feb 2026 14:28:20 +0100 Subject: [PATCH 3/3] fix: suppress self deprecation notice --- src/Validator/SingleRewardClaimPerCharge.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Validator/SingleRewardClaimPerCharge.php b/src/Validator/SingleRewardClaimPerCharge.php index 4b19130..dc95f32 100644 --- a/src/Validator/SingleRewardClaimPerCharge.php +++ b/src/Validator/SingleRewardClaimPerCharge.php @@ -17,6 +17,9 @@ final class SingleRewardClaimPerCharge extends Constraint parent::__construct([], $groups, $payload); } + /** + * @return string + */ public function getTargets() { return self::CLASS_CONSTRAINT;