From 45b6e63f326e877030e8c671c886b2148703ae62 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Fri, 23 Dec 2022 13:17:12 +0100 Subject: [PATCH] fix phpcs issues --- activitypub.php | 4 ++-- includes/class-admin.php | 4 ++-- includes/functions.php | 4 ++-- includes/rest/class-inbox.php | 4 ++-- includes/table/migrate-list.php | 16 ++++------------ 5 files changed, 12 insertions(+), 20 deletions(-) diff --git a/activitypub.php b/activitypub.php index 8015ff0..2bbe195 100644 --- a/activitypub.php +++ b/activitypub.php @@ -22,8 +22,8 @@ function init() { \defined( 'ACTIVITYPUB_HASHTAGS_REGEXP' ) || \define( 'ACTIVITYPUB_HASHTAGS_REGEXP', '(?:(?<=\s)|(?<=

)|(?<=
)|^)#([A-Za-z0-9_]+)(?:(?=\s|[[:punct:]]|$))' ); \defined( 'ACTIVITYPUB_ALLOWED_HTML' ) || \define( 'ACTIVITYPUB_ALLOWED_HTML', '