File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
bundle/Templating/Twig/Extension
lib/Configuration/UI/Mapper Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change 1717final 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 {
Original file line number Diff line number Diff line change 99namespace Ibexa \FieldTypeRichText \Configuration \UI \Mapper ;
1010
1111use Ibexa \FieldTypeRichText \Configuration \UI \Mapper \CustomTag \AttributeMapper ;
12+ use JMS \TranslationBundle \Annotation \Ignore ;
1213use RuntimeException ;
1314use Symfony \Component \Asset \Packages ;
1415use Symfony \Component \Translation \TranslatorBagInterface ;
1516use Symfony \Contracts \Translation \TranslatorInterface ;
16- use JMS \TranslationBundle \Annotation \Ignore ;
1717
1818/**
1919 * RichText Custom Tag configuration mapper.
You can’t perform that action at this time.
0 commit comments