Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: codestyle
Browse files Browse the repository at this point in the history
potibm committed May 24, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent 8ab4aab commit 49f8ddd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BlueskyPostService.php
Original file line number Diff line number Diff line change
@@ -17,10 +17,10 @@
class BlueskyPostService
{
private const REGEXP_HANDLE = '([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)' .
'+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?';
'+[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?';

private const REGEXP_URL = 'https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~\#=]{1,256}\.' .
'[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~\#?&//=]*[-a-zA-Z0-9@%_\+~\#//=])?';
'[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~\#?&//=]*[-a-zA-Z0-9@%_\+~\#//=])?';

public function __construct(
private BlueskyApi $blueskyClient

0 comments on commit 49f8ddd

Please sign in to comment.