Skip to content

Commit fbdc1a0

Browse files
committed
fixed-cs
1 parent 707f17f commit fbdc1a0

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
},
3333
"require-dev": {
3434
"dama/doctrine-test-bundle": "^6.7.5",
35+
"friendsofphp/php-cs-fixer": "^3.0",
3536
"ibexa/admin-ui": "~4.6.x-dev",
3637
"ibexa/ci-scripts": "^0.2@dev",
3738
"ibexa/doctrine-schema": "~4.6.x-dev",

src/bundle/Templating/Twig/Extension/YoutubeIdExtractorExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
final class YoutubeIdExtractorExtension extends AbstractExtension
1818
{
1919
private const YOUTUBE_ID_REGEX = '/(?:https?:)?(?:\/\/)?(?:[0-9A-Z-]+\.)?(?:youtu\.be\/|youtube(?:-nocookie)?\.com\S*?[^\w\s-])'
20-
. '(?P<id>[\w-]{11})(?=[^\w-]|$)(?![?=&+%\w.-]*(?:[\'"][^<>]*>|<\/a>))[?=&+%\w.-]*/i';
20+
. '(?P<id>[\w-]{11})(?=[^\w-]|$)(?![?=&+%\w.-]*(?:[\'"][^<>]*>|<\/a>))[?=&+%\w.-]*/i';
2121

2222
public function getFunctions(): array
2323
{

src/lib/Configuration/UI/Mapper/CustomTag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
namespace Ibexa\FieldTypeRichText\Configuration\UI\Mapper;
1010

1111
use Ibexa\FieldTypeRichText\Configuration\UI\Mapper\CustomTag\AttributeMapper;
12+
use JMS\TranslationBundle\Annotation\Ignore;
1213
use RuntimeException;
1314
use Symfony\Component\Asset\Packages;
1415
use Symfony\Component\Translation\TranslatorBagInterface;
1516
use Symfony\Contracts\Translation\TranslatorInterface;
16-
use JMS\TranslationBundle\Annotation\Ignore;
1717

1818
/**
1919
* RichText Custom Tag configuration mapper.

0 commit comments

Comments
 (0)