Plugin Directory

Changeset 3437941


Ignore:
Timestamp:
01/12/2026 04:33:25 PM (8 weeks ago)
Author:
mailerpress
Message:

version 1.2

Location:
mailerpress/trunk/vendor/symfony
Files:
308 added
12 edited

Legend:

Unmodified
Added
Removed
  • mailerpress/trunk/vendor/symfony/event-dispatcher/DependencyInjection/RegisterListenersPass.php

    r3333098 r3437941  
    6666            $noPreload = 0;
    6767
     68            $resolvedEvents = [];
    6869            foreach ($events as $event) {
    69                 $priority = $event['priority'] ?? 0;
    70 
    7170                if (!isset($event['event'])) {
    7271                    if ($container->getDefinition($id)->hasTag('kernel.event_subscriber')) {
     
    7574
    7675                    $event['method'] ??= '__invoke';
    77                     $event['event'] = $this->getEventFromTypeDeclaration($container, $id, $event['method']);
    78                 }
    79 
    80                 $event['event'] = $aliases[$event['event']] ?? $event['event'];
     76                    $eventNames = $this->getEventFromTypeDeclaration($container, $id, $event['method']);
     77                } else {
     78                    $eventNames = [$event['event']];
     79                }
     80
     81                foreach ($eventNames as $eventName) {
     82                    $event['event'] = $aliases[$eventName] ?? $eventName;
     83                    $resolvedEvents[] = $event;
     84                }
     85            }
     86
     87            foreach ($resolvedEvents as $event) {
     88                $priority = $event['priority'] ?? 0;
    8189
    8290                if (!isset($event['method'])) {
     
    168176    }
    169177
    170     private function getEventFromTypeDeclaration(ContainerBuilder $container, string $id, string $method): string
     178    /**
     179     * @return string[]
     180     */
     181    private function getEventFromTypeDeclaration(ContainerBuilder $container, string $id, string $method): array
    171182    {
    172183        if (
     
    175186            || !$r->hasMethod($method)
    176187            || 1 > ($m = $r->getMethod($method))->getNumberOfParameters()
    177             || !($type = $m->getParameters()[0]->getType()) instanceof \ReflectionNamedType
    178             || $type->isBuiltin()
    179             || Event::class === ($name = $type->getName())
     188            || !(($type = $m->getParameters()[0]->getType()) instanceof \ReflectionNamedType || $type instanceof \ReflectionUnionType)
    180189        ) {
    181190            throw new InvalidArgumentException(\sprintf('Service "%s" must define the "event" attribute on "kernel.event_listener" tags.', $id));
    182191        }
    183192
    184         return $name;
     193        $types = $type instanceof \ReflectionUnionType ? $type->getTypes() : [$type];
     194
     195        $names = [];
     196        foreach ($types as $type) {
     197            if (!$type instanceof \ReflectionNamedType
     198                || $type->isBuiltin()
     199                || Event::class === ($name = $type->getName())
     200            ) {
     201                continue;
     202            }
     203
     204            $names[] = $name;
     205        }
     206
     207        if (!$names) {
     208            throw new InvalidArgumentException(\sprintf('Service "%s" must define the "event" attribute on "kernel.event_listener" tags.', $id));
     209        }
     210
     211        return $names;
    185212    }
    186213}
  • mailerpress/trunk/vendor/symfony/mailer/Command/MailerTestCommand.php

    r3361799 r3437941  
    4141            ->addOption('transport', null, InputOption::VALUE_REQUIRED, 'The transport to be used')
    4242            ->setHelp(<<<'EOF'
    43 The <info>%command.name%</info> command tests a Mailer transport by sending a simple email message:
     43                The <info>%command.name%</info> command tests a Mailer transport by sending a simple email message:
    4444
    45 <info>php %command.full_name% to@example.com</info>
     45                <info>php %command.full_name% to@example.com</info>
    4646
    47 You can also specify a specific transport:
     47                You can also specify a specific transport:
    4848
    49     <info>php %command.full_name% to@example.com --transport=transport_name</info>
     49                    <info>php %command.full_name% to@example.com --transport=transport_name</info>
    5050
    51 Note that this command bypasses the Messenger bus if configured.
     51                Note that this command bypasses the Messenger bus if configured.
    5252
    53 EOF
     53                EOF
    5454            );
    5555    }
  • mailerpress/trunk/vendor/symfony/mailer/Exception/UnsupportedSchemeException.php

    r3333098 r3437941  
    7777            'package' => 'symfony/mailtrap-mailer',
    7878        ],
     79        'microsoftgraph' => [
     80            'class' => Bridge\MicrosoftGraph\Transport\MicrosoftGraphTransportFactory::class,
     81            'package' => 'symfony/microsoft-graph-mailer',
     82        ],
    7983        'resend' => [
    8084            'class' => Bridge\Resend\Transport\ResendTransportFactory::class,
  • mailerpress/trunk/vendor/symfony/mailer/Test/TransportFactoryTestCase.php

    r3333098 r3437941  
    1313
    1414use Psr\Log\LoggerInterface;
     15use Psr\Log\NullLogger;
     16use Symfony\Component\EventDispatcher\EventDispatcher;
     17use Symfony\Component\HttpClient\MockHttpClient;
    1518use Symfony\Component\Mailer\Transport\Dsn;
    1619use Symfony\Contracts\EventDispatcher\EventDispatcherInterface;
     
    5053    protected function getDispatcher(): EventDispatcherInterface
    5154    {
    52         return $this->dispatcher ??= $this->createMock(EventDispatcherInterface::class);
     55        return $this->dispatcher ??= new EventDispatcher();
    5356    }
    5457
    5558    protected function getClient(): HttpClientInterface
    5659    {
    57         return $this->client ??= $this->createMock(HttpClientInterface::class);
     60        return $this->client ??= new MockHttpClient();
    5861    }
    5962
    6063    protected function getLogger(): LoggerInterface
    6164    {
    62         return $this->logger ??= $this->createMock(LoggerInterface::class);
     65        return $this->logger ??= new NullLogger();
    6366    }
    6467}
  • mailerpress/trunk/vendor/symfony/mailer/Transport/RoundRobinTransport.php

    r3361799 r3437941  
    1212namespace Symfony\Component\Mailer\Transport;
    1313
     14use Psr\Log\LoggerInterface;
     15use Psr\Log\NullLogger;
    1416use Symfony\Component\Mailer\Envelope;
    1517use Symfony\Component\Mailer\Exception\TransportException;
     
    3739        private array $transports,
    3840        private int $retryPeriod = 60,
     41        private LoggerInterface $logger = new NullLogger(),
    3942    ) {
    4043        if (!$transports) {
     
    5558                $exception ??= new TransportException('All transports failed.');
    5659                $exception->appendDebug(\sprintf("Transport \"%s\": %s\n", $transport, $e->getDebug()));
     60                $this->logger->error(\sprintf('Transport "%s" failed.', $transport), ['exception' => $e]);
    5761                $this->deadTransports[$transport] = microtime(true);
    5862            }
  • mailerpress/trunk/vendor/symfony/mime/Email.php

    r3333098 r3437941  
    493493
    494494                if ($name !== $part->getContentId()) {
    495                     $html = str_replace('cid:'.$name, 'cid:'.$part->getContentId(), $html, $count);
     495                    $html = str_replace('cid:'.$name, 'cid:'.$part->getContentId(), $html);
    496496                }
    497497                $relatedParts[$name] = $part;
  • mailerpress/trunk/vendor/symfony/mime/MimeTypes.php

    r3333098 r3437941  
    136136     * A map of MIME types and their default extensions.
    137137     *
    138      * Updated from upstream on 2024-11-09.
     138     * Updated from upstream on 2025-11-15.
    139139     *
    140140     * @see Resources/bin/update_mime_types.php
     
    159159        'application/bat' => ['bat'],
    160160        'application/bdoc' => ['bdoc'],
     161        'application/buildstream+yaml' => ['bst'],
    161162        'application/bzip2' => ['bz2', 'bz'],
    162163        'application/calendar+xml' => ['xcs'],
     
    204205        'application/gxf' => ['gxf'],
    205206        'application/gzip' => ['gz'],
     207        'application/har+json' => ['har'],
    206208        'application/hjson' => ['hjson'],
    207209        'application/hta' => ['hta'],
     
    218220        'application/java-serialized-object' => ['ser'],
    219221        'application/java-vm' => ['class'],
    220         'application/javascript' => ['js', 'jsm', 'mjs'],
     222        'application/javascript' => ['js', 'cjs', 'jsm', 'mjs'],
    221223        'application/jrd+json' => ['jrd'],
    222224        'application/json' => ['json', 'map'],
     
    339341        'application/sparql-query' => ['rq', 'qs'],
    340342        'application/sparql-results+xml' => ['srx'],
     343        'application/spdx+json' => ['spdx.json'],
    341344        'application/sql' => ['sql'],
    342345        'application/srgs' => ['gram'],
     
    354357        'application/trig' => ['trig'],
    355358        'application/ttml+xml' => ['ttml'],
     359        'application/typescript' => ['cts', 'mts', 'ts'],
    356360        'application/ubjson' => ['ubj'],
    357361        'application/urc-ressheet+xml' => ['rsheet'],
     
    394398        'application/vnd.apple.pages' => ['pages'],
    395399        'application/vnd.apple.pkpass' => ['pkpass'],
     400        'application/vnd.apple.pkpasses' => ['pkpasses'],
    396401        'application/vnd.aristanetworks.swi' => ['swi'],
    397402        'application/vnd.astraea-software.iota' => ['iota'],
     
    428433        'application/vnd.curl.car' => ['car'],
    429434        'application/vnd.curl.pcurl' => ['pcurl'],
     435        'application/vnd.cyclonedx+json' => ['cdx.json'],
     436        'application/vnd.cyclonedx+xml' => ['cdx.xml'],
    430437        'application/vnd.dart' => ['dart'],
    431438        'application/vnd.data-vision.rdz' => ['rdz'],
     
    810817        'application/x-ace' => ['ace'],
    811818        'application/x-ace-compressed' => ['ace'],
     819        'application/x-alpine-package-keeper-package' => ['apk'],
    812820        'application/x-alz' => ['alz'],
     821        'application/x-amf' => ['amf'],
    813822        'application/x-amiga-disk-format' => ['adf'],
    814823        'application/x-amipro' => ['sam'],
     
    927936        'application/x-frame' => ['fm'],
    928937        'application/x-freearc' => ['arc'],
     938        'application/x-freedesktop-appstream-component' => ['metainfo.xml', 'appdata.xml'],
     939        'application/x-freedesktop-appstream-releases' => ['releases.xml'],
    929940        'application/x-futuresplash' => ['spl'],
    930941        'application/x-gameboy-color-rom' => ['gbc', 'cgb'],
     
    9911002        'application/x-java-pack200' => ['pack'],
    9921003        'application/x-java-vm' => ['class'],
    993         'application/x-javascript' => ['js', 'jsm', 'mjs'],
     1004        'application/x-javascript' => ['js', 'cjs', 'jsm', 'mjs'],
    9941005        'application/x-jbuilder-project' => ['jpr', 'jpx'],
    9951006        'application/x-karbon' => ['karbon'],
     
    11001111        'application/x-pc-engine-rom' => ['pce'],
    11011112        'application/x-pcap' => ['pcap', 'cap', 'dmp'],
    1102         'application/x-pcapng' => ['pcapng', 'ntar'],
     1113        'application/x-pcapng' => ['pcapng', 'scap', 'ntar'],
    11031114        'application/x-pdf' => ['pdf'],
    11041115        'application/x-perl' => ['pl', 'pm', 'PL', 'al', 'perl', 'pod', 't'],
     
    12591270        'application/x-zpaq' => ['zpaq'],
    12601271        'application/x-zstd-compressed-tar' => ['tar.zst', 'tzst'],
     1272        'application/x.sf3-archive' => ['ar.sf3', 'sf3'],
     1273        'application/x.sf3-log' => ['log.sf3', 'sf3'],
     1274        'application/x.sf3-table' => ['tab.sf3', 'sf3'],
     1275        'application/x.sf3-text' => ['txt.sf3', 'sf3'],
    12611276        'application/xaml+xml' => ['xaml'],
    12621277        'application/xcap-att+xml' => ['xav'],
     
    13521367        'audio/x-dsd' => ['dsf'],
    13531368        'audio/x-dsf' => ['dsf'],
     1369        'audio/x-dsp' => ['dsm', 'dsp'],
    13541370        'audio/x-dts' => ['dts'],
    13551371        'audio/x-dtshd' => ['dtshd'],
     
    14111427        'audio/x-xm' => ['xm'],
    14121428        'audio/x-xmf' => ['xmf'],
     1429        'audio/x.sf3' => ['au.sf3', 'sf3'],
    14131430        'audio/xm' => ['xm'],
    14141431        'audio/xmf' => ['xmf'],
     
    15101527        'image/vnd.net-fpx' => ['npx'],
    15111528        'image/vnd.pco.b16' => ['b16'],
     1529        'image/vnd.radiance' => ['hdr', 'pic', 'rgbe', 'xyze'],
    15121530        'image/vnd.rn-realpix' => ['rp'],
    15131531        'image/vnd.tencent.tap' => ['tap'],
     
    15431561        'image/x-gimp-pat' => ['pat'],
    15441562        'image/x-gzeps' => ['eps.gz', 'epsi.gz', 'epsf.gz'],
     1563        'image/x-hdr' => ['hdr', 'pic', 'rgbe', 'xyze'],
    15451564        'image/x-icb' => ['tga', 'icb', 'tpic', 'vda', 'vst'],
    15461565        'image/x-icns' => ['icns'],
     
    15731592        'image/x-pentax-pef' => ['pef'],
    15741593        'image/x-pfm' => ['pfm'],
     1594        'image/x-phm' => ['phm'],
    15751595        'image/x-photo-cd' => ['pcd'],
    15761596        'image/x-photoshop' => ['psd'],
     
    16041624        'image/x-xwindowdump' => ['xwd'],
    16051625        'image/x.djvu' => ['djvu', 'djv'],
     1626        'image/x.sf3' => ['img.sf3', 'sf3'],
     1627        'image/x.sf3-vector' => ['vec.sf3', 'sf3'],
    16061628        'message/disposition-notification' => ['disposition-notification'],
    16071629        'message/global' => ['u8msg'],
     
    16431665        'model/vnd.vtu' => ['vtu'],
    16441666        'model/vrml' => ['wrl', 'vrml', 'vrm'],
     1667        'model/x.sf3' => ['mod.sf3', 'sf3'],
     1668        'model/x.sf3-physics' => ['phys.sf3', 'sf3'],
    16451669        'model/x.stl-ascii' => ['stl'],
    16461670        'model/x.stl-binary' => ['stl'],
     
    16641688        'text/ico' => ['ico'],
    16651689        'text/jade' => ['jade'],
    1666         'text/javascript' => ['js', 'mjs', 'jsm'],
    1667         'text/jscript' => ['js', 'jsm', 'mjs'],
     1690        'text/javascript' => ['js', 'mjs', 'cjs', 'jsm'],
     1691        'text/jscript' => ['cjs', 'js', 'jsm', 'mjs'],
    16681692        'text/jscript.encode' => ['jse'],
    16691693        'text/jsx' => ['jsx'],
     
    17131737        'text/vnd.sun.j2me.app-descriptor' => ['jad'],
    17141738        'text/vnd.trolltech.linguist' => ['ts'],
     1739        'text/vnd.typst' => ['typ'],
    17151740        'text/vnd.wap.wml' => ['wml'],
    17161741        'text/vnd.wap.wmlscript' => ['wmls'],
     
    17421767        'text/x-devicetree-source' => ['dts', 'dtsi'],
    17431768        'text/x-diff' => ['diff', 'patch'],
     1769        'text/x-dockerfile' => ['Dockerfile'],
    17441770        'text/x-dsl' => ['dsl'],
    17451771        'text/x-dsrc' => ['d', 'di'],
     
    17861812        'text/x-mrml' => ['mrml', 'mrl'],
    17871813        'text/x-ms-regedit' => ['reg'],
     1814        'text/x-ms-visualstudio.project' => ['dsp'],
     1815        'text/x-ms-visualstudio.workspace' => ['dsw'],
    17881816        'text/x-mup' => ['mup', 'not'],
    17891817        'text/x-nfo' => ['nfo'],
     
    17911819        'text/x-nimscript' => ['nims', 'nimble'],
    17921820        'text/x-nix' => ['nix'],
     1821        'text/x-nsis' => ['nsi', 'nsh'],
    17931822        'text/x-nu' => ['nu'],
     1823        'text/x-nushell' => ['nu'],
    17941824        'text/x-objc++src' => ['mm'],
    17951825        'text/x-objcsrc' => ['m'],
     
    17981828        'text/x-octave' => ['m'],
    17991829        'text/x-ooc' => ['ooc'],
     1830        'text/x-opencl-c++src' => ['clcpp'],
     1831        'text/x-opencl-csrc' => ['cl'],
    18001832        'text/x-opencl-src' => ['cl'],
    18011833        'text/x-opml' => ['opml'],
     
    18151847        'text/x-rpm-spec' => ['spec'],
    18161848        'text/x-rst' => ['rst'],
     1849        'text/x-ruby' => ['rb'],
    18171850        'text/x-sagemath' => ['sage'],
    18181851        'text/x-sass' => ['sass'],
     
    18251858        'text/x-sql' => ['sql'],
    18261859        'text/x-ssa' => ['ssa', 'ass'],
     1860        'text/x-ssh-public-key' => ['pub'],
    18271861        'text/x-subviewer' => ['sub'],
    18281862        'text/x-suse-ymp' => ['ymp'],
     
    18731907        'video/mj2' => ['mj2', 'mjp2'],
    18741908        'video/mp2t' => ['ts', 'm2t', 'm2ts', 'mts', 'cpi', 'clpi', 'mpl', 'mpls', 'bdm', 'bdmv'],
    1875         'video/mp4' => ['mp4', 'mp4v', 'mpg4', 'm4v', 'f4v', 'lrv'],
    1876         'video/mp4v-es' => ['mp4', 'm4v', 'f4v', 'lrv'],
     1909        'video/mp4' => ['mp4', 'mp4v', 'mpg4', 'm4v', 'f4v', 'lrv', 'lrf'],
     1910        'video/mp4v-es' => ['mp4', 'm4v', 'f4v', 'lrv', 'lrf'],
    18771911        'video/mpeg' => ['mpeg', 'mpg', 'mpe', 'm1v', 'm2v', 'mp2', 'vob'],
    18781912        'video/mpeg-system' => ['mpeg', 'mpg', 'mp2', 'mpe', 'vob'],
     
    19081942        'video/x-flv' => ['flv'],
    19091943        'video/x-javafx' => ['fxm'],
    1910         'video/x-m4v' => ['m4v', 'mp4', 'f4v', 'lrv'],
     1944        'video/x-m4v' => ['m4v', 'mp4', 'f4v', 'lrv', 'lrf'],
    19111945        'video/x-matroska' => ['mkv', 'mk3d', 'mks'],
    19121946        'video/x-matroska-3d' => ['mk3d'],
     
    19662000        '7z.001' => ['application/x-7z-compressed'],
    19672001        'C' => ['text/x-c++src'],
     2002        'Dockerfile' => ['text/x-dockerfile'],
    19682003        'PAR2' => ['application/x-par2'],
    19692004        'PL' => ['application/x-perl', 'text/x-perl'],
     
    20092044        'al' => ['application/x-perl', 'text/x-perl'],
    20102045        'alz' => ['application/x-alz'],
     2046        'amf' => ['application/x-amf'],
    20112047        'ami' => ['application/vnd.amiga.ami'],
    20122048        'aml' => ['application/automationml-aml+xml'],
     
    20272063        'anx' => ['application/annodex', 'application/x-annodex'],
    20282064        'ape' => ['audio/x-ape'],
    2029         'apk' => ['application/vnd.android.package-archive'],
     2065        'apk' => ['application/vnd.android.package-archive', 'application/x-alpine-package-keeper-package'],
    20302066        'apng' => ['image/apng', 'image/vnd.mozilla.apng'],
    20312067        'appcache' => ['text/cache-manifest'],
     2068        'appdata.xml' => ['application/x-freedesktop-appstream-component'],
    20322069        'appimage' => ['application/vnd.appimage', 'application/x-iso9660-appimage'],
    20332070        'appinstaller' => ['application/appinstaller'],
     
    20372074        'apr' => ['application/vnd.lotus-approach'],
    20382075        'ar' => ['application/x-archive'],
     2076        'ar.sf3' => ['application/x.sf3-archive'],
    20392077        'arc' => ['application/x-freearc'],
    20402078        'arj' => ['application/x-arj'],
     
    20592097        'atx' => ['application/vnd.antix.game-component'],
    20602098        'au' => ['audio/basic'],
     2099        'au.sf3' => ['audio/x.sf3'],
    20612100        'automount' => ['text/x-systemd-unit'],
    20622101        'avci' => ['image/avci'],
     
    21082147        'bsdiff' => ['application/x-bsdiff'],
    21092148        'bsp' => ['model/vnd.valve.source.compiled-map'],
     2149        'bst' => ['application/buildstream+yaml'],
    21102150        'btf' => ['image/prs.btif'],
    21112151        'btif' => ['image/prs.btif'],
     
    21522192        'cdr' => ['application/cdr', 'application/coreldraw', 'application/vnd.corel-draw', 'application/x-cdr', 'application/x-coreldraw', 'image/cdr', 'image/x-cdr', 'zz-application/zz-winassoc-cdr'],
    21532193        'cdx' => ['chemical/x-cdx'],
     2194        'cdx.json' => ['application/vnd.cyclonedx+json'],
     2195        'cdx.xml' => ['application/vnd.cyclonedx+xml'],
    21542196        'cdxml' => ['application/vnd.chemdraw+xml'],
    21552197        'cdy' => ['application/vnd.cinderella'],
     
    21672209        'cii' => ['application/vnd.anser-web-certificate-issue-initiation'],
    21682210        'cil' => ['application/vnd.ms-artgalry'],
    2169         'cjs' => ['application/node'],
    2170         'cl' => ['text/x-opencl-src'],
     2211        'cjs' => ['application/javascript', 'application/node', 'application/x-javascript', 'text/javascript', 'text/jscript'],
     2212        'cl' => ['text/x-opencl-csrc', 'text/x-opencl-src'],
    21712213        'cla' => ['application/vnd.claymore'],
    21722214        'class' => ['application/java', 'application/java-byte-code', 'application/java-vm', 'application/x-java', 'application/x-java-class', 'application/x-java-vm'],
     2215        'clcpp' => ['text/x-opencl-c++src'],
    21732216        'cld' => ['model/vnd.cld'],
    21742217        'clkk' => ['application/vnd.crick.clicker.keyboard'],
     
    22172260        'csv' => ['text/csv', 'application/csv', 'text/x-comma-separated-values', 'text/x-csv'],
    22182261        'csvs' => ['text/csv-schema'],
     2262        'cts' => ['application/typescript'],
    22192263        'cu' => ['application/cu-seeme'],
    22202264        'cue' => ['application/x-cue'],
     
    22852329        'dsf' => ['audio/dsd', 'audio/dsf', 'audio/x-dsd', 'audio/x-dsf'],
    22862330        'dsl' => ['text/x-dsl'],
     2331        'dsm' => ['audio/x-dsp'],
     2332        'dsp' => ['audio/x-dsp', 'text/x-ms-visualstudio.project'],
    22872333        'dssc' => ['application/dssc+der'],
     2334        'dsw' => ['text/x-ms-visualstudio.workspace'],
    22882335        'dtb' => ['application/x-dtbook+xml', 'text/x-devicetree-binary'],
    22892336        'dtd' => ['application/xml-dtd', 'text/x-dtd'],
     
    25072554        'h5' => ['application/x-hdf'],
    25082555        'hal' => ['application/vnd.hal+xml'],
     2556        'har' => ['application/har+json'],
    25092557        'hbci' => ['application/vnd.hbci'],
    25102558        'hbs' => ['text/x-handlebars-template'],
     
    25142562        'hdf5' => ['application/x-hdf'],
    25152563        'hdp' => ['image/jxr', 'image/vnd.ms-photo'],
     2564        'hdr' => ['image/vnd.radiance', 'image/x-hdr'],
    25162565        'heic' => ['image/heic', 'image/heic-sequence', 'image/heif', 'image/heif-sequence'],
    25172566        'heics' => ['image/heic-sequence'],
     
    25682617        'ime' => ['audio/imelody', 'audio/x-imelody', 'text/x-imelody'],
    25692618        'img' => ['application/vnd.efi.img', 'application/x-raw-disk-image'],
     2619        'img.sf3' => ['image/x.sf3'],
    25702620        'img.xz' => ['application/x-raw-disk-image-xz-compressed'],
    25712621        'imp' => ['application/vnd.accpac.simply.imp'],
     
    27102760        'loas' => ['audio/usac'],
    27112761        'log' => ['text/plain', 'text/x-log'],
     2762        'log.sf3' => ['application/x.sf3-log'],
    27122763        'lostxml' => ['application/lost+xml'],
    2713         'lrf' => ['application/x-sony-bbeb'],
     2764        'lrf' => ['application/x-sony-bbeb', 'video/mp4', 'video/mp4v-es', 'video/x-m4v'],
    27142765        'lrm' => ['application/vnd.ms-lrm'],
    27152766        'lrv' => ['video/mp4', 'video/mp4v-es', 'video/x-m4v'],
     
    27812832        'mesh' => ['model/mesh'],
    27822833        'meta4' => ['application/metalink4+xml'],
     2834        'metainfo.xml' => ['application/x-freedesktop-appstream-component'],
    27832835        'metalink' => ['application/metalink+xml'],
    27842836        'mets' => ['application/mets+xml'],
     
    28212873        'moc' => ['text/x-moc'],
    28222874        'mod' => ['application/x-object', 'audio/x-mod'],
     2875        'mod.sf3' => ['model/x.sf3'],
    28232876        'mods' => ['application/mods+xml'],
    28242877        'mof' => ['text/x-mof'],
     
    28772930        'mtl' => ['model/mtl'],
    28782931        'mtm' => ['audio/x-mod'],
    2879         'mts' => ['model/vnd.mts', 'video/mp2t'],
     2932        'mts' => ['application/typescript', 'model/vnd.mts', 'video/mp2t'],
    28802933        'mup' => ['text/x-mup'],
    28812934        'mus' => ['application/vnd.musician'],
     
    29222975        'nsc' => ['application/x-conference', 'application/x-netshow-channel'],
    29232976        'nsf' => ['application/vnd.lotus-notes'],
     2977        'nsh' => ['text/x-nsis'],
     2978        'nsi' => ['text/x-nsis'],
    29242979        'nsv' => ['video/x-nsv'],
    29252980        'nt' => ['application/n-triples'],
    29262981        'ntar' => ['application/x-pcapng'],
    29272982        'ntf' => ['application/vnd.nitf'],
    2928         'nu' => ['application/x-nuscript', 'text/x-nu'],
     2983        'nu' => ['application/x-nuscript', 'text/x-nu', 'text/x-nushell'],
    29292984        'numbers' => ['application/vnd.apple.numbers', 'application/x-iwork-numbers-sffnumbers'],
    29302985        'nzb' => ['application/x-nzb'],
     
    30463101        'pgn' => ['application/vnd.chess-pgn', 'application/x-chess-pgn'],
    30473102        'pgp' => ['application/pgp', 'application/pgp-encrypted', 'application/pgp-keys', 'application/pgp-signature'],
     3103        'phm' => ['image/x-phm'],
    30483104        'php' => ['application/x-php', 'application/x-httpd-php'],
    30493105        'php3' => ['application/x-php'],
     
    30513107        'php5' => ['application/x-php'],
    30523108        'phps' => ['application/x-php'],
    3053         'pic' => ['image/x-pict'],
     3109        'phys.sf3' => ['model/x.sf3-physics'],
     3110        'pic' => ['image/vnd.radiance', 'image/x-hdr', 'image/x-pict'],
    30543111        'pict' => ['image/x-pict'],
    30553112        'pict1' => ['image/x-pict'],
     
    30603117        'pkipath' => ['application/pkix-pkipath'],
    30613118        'pkpass' => ['application/vnd.apple.pkpass'],
     3119        'pkpasses' => ['application/vnd.apple.pkpasses'],
    30623120        'pkr' => ['application/pgp-keys'],
    30633121        'pl' => ['application/x-perl', 'text/x-perl'],
     
    31113169        'pti' => ['image/prs.pti'],
    31123170        'ptid' => ['application/vnd.pvi.ptid1'],
    3113         'pub' => ['application/vnd.ms-publisher', 'application/x-mspublisher'],
     3171        'pub' => ['application/vnd.ms-publisher', 'application/x-mspublisher', 'text/x-ssh-public-key'],
    31143172        'pvb' => ['application/vnd.3gpp.pic-bw-var'],
    31153173        'pw' => ['application/x-pw'],
     
    31713229        'raw-disk-image.xz' => ['application/x-raw-disk-image-xz-compressed'],
    31723230        'rax' => ['audio/vnd.m-realaudio', 'audio/vnd.rn-realaudio', 'audio/x-pn-realaudio'],
    3173         'rb' => ['application/x-ruby'],
     3231        'rb' => ['application/x-ruby', 'text/x-ruby'],
    31743232        'rcprofile' => ['application/vnd.ipunplugged.rcprofile'],
    31753233        'rdf' => ['application/rdf+xml', 'text/rdf'],
     
    31783236        'reg' => ['text/x-ms-regedit'],
    31793237        'rej' => ['application/x-reject', 'text/x-reject'],
     3238        'releases.xml' => ['application/x-freedesktop-appstream-releases'],
    31803239        'relo' => ['application/p2p-overlay+xml'],
    31813240        'rep' => ['application/vnd.businessobjects'],
    31823241        'res' => ['application/x-dtbresource+xml', 'application/x-godot-resource'],
    31833242        'rgb' => ['image/x-rgb'],
     3243        'rgbe' => ['image/vnd.radiance', 'image/x-hdr'],
    31843244        'rif' => ['application/reginfo+xml'],
    31853245        'rip' => ['audio/vnd.rip'],
     
    32353295        'sc' => ['application/vnd.ibm.secure-container', 'text/x-scala'],
    32363296        'scala' => ['text/x-scala'],
     3297        'scap' => ['application/x-pcapng'],
    32373298        'scd' => ['application/x-msschedule'],
    32383299        'scm' => ['application/vnd.lotus-screencam', 'text/x-scheme'],
     
    32663327        'setpay' => ['application/set-payment-initiation'],
    32673328        'setreg' => ['application/set-registration-initiation'],
     3329        'sf3' => ['application/x.sf3-archive', 'application/x.sf3-log', 'application/x.sf3-table', 'application/x.sf3-text', 'audio/x.sf3', 'image/x.sf3', 'image/x.sf3-vector', 'model/x.sf3', 'model/x.sf3-physics'],
    32683330        'sfc' => ['application/vnd.nintendo.snes.rom', 'application/x-snes-rom'],
    32693331        'sfd-hdstx' => ['application/vnd.hydrostatix.sof-data'],
     
    33323394        'spd' => ['application/x-font-speedo'],
    33333395        'spdx' => ['text/spdx'],
     3396        'spdx.json' => ['application/spdx+json'],
    33343397        'spec' => ['text/x-rpm-spec'],
    33353398        'spf' => ['application/vnd.yamaha.smaf-phrase'],
     
    34083471        't3' => ['application/x-t3vm-image'],
    34093472        't38' => ['image/t38'],
     3473        'tab.sf3' => ['application/x.sf3-table'],
    34103474        'taglet' => ['application/vnd.mynfc'],
    34113475        'tak' => ['audio/x-tak'],
     
    34723536        'trm' => ['application/x-msterminal'],
    34733537        'trz' => ['application/x-rzip-compressed-tar'],
    3474         'ts' => ['application/x-linguist', 'text/vnd.qt.linguist', 'text/vnd.trolltech.linguist', 'video/mp2t'],
     3538        'ts' => ['application/typescript', 'application/x-linguist', 'text/vnd.qt.linguist', 'text/vnd.trolltech.linguist', 'video/mp2t'],
    34753539        'tscn' => ['application/x-godot-scene'],
    34763540        'tsd' => ['application/timestamped-data'],
     
    34893553        'txf' => ['application/vnd.mobius.txf'],
    34903554        'txt' => ['text/plain'],
     3555        'txt.sf3' => ['application/x.sf3-text'],
    34913556        'txz' => ['application/x-xz-compressed-tar'],
    3492         'typ' => ['text/x-typst'],
     3557        'typ' => ['text/vnd.typst', 'text/x-typst'],
    34933558        'tzo' => ['application/x-tzo'],
    34943559        'tzst' => ['application/x-zstd-compressed-tar'],
     
    35723637        'vdi' => ['application/x-vdi-disk', 'application/x-virtualbox-vdi'],
    35733638        'vds' => ['model/vnd.sap.vds'],
     3639        'vec.sf3' => ['image/x.sf3-vector'],
    35743640        'vhd' => ['application/x-vhd-disk', 'application/x-virtualbox-vhd', 'text/x-vhdl'],
    35753641        'vhdl' => ['text/x-vhdl'],
     
    37573823        'xwd' => ['image/x-xwindowdump'],
    37583824        'xyz' => ['chemical/x-xyz'],
     3825        'xyze' => ['image/vnd.radiance', 'image/x-hdr'],
    37593826        'xz' => ['application/x-xz'],
    37603827        'yaml' => ['application/yaml', 'application/x-yaml', 'text/x-yaml', 'text/yaml'],
  • mailerpress/trunk/vendor/symfony/mime/Part/AbstractPart.php

    r3333098 r3437941  
    6363
    6464    abstract public function getMediaSubtype(): string;
     65
     66    public function __serialize(): array
     67    {
     68        if (!method_exists($this, '__sleep')) {
     69            return ['headers' => $this->headers];
     70        }
     71
     72        trigger_deprecation('symfony/mime', '7.4', 'Implementing "%s::__sleep()" is deprecated, use "__serialize()" instead.', get_debug_type($this));
     73
     74        $data = [];
     75        foreach ($this->__sleep() as $key) {
     76            try {
     77                if (($r = new \ReflectionProperty($this, $key))->isInitialized($this)) {
     78                    $data[$key] = $r->getValue($this);
     79                }
     80            } catch (\ReflectionException) {
     81                $data[$key] = $this->$key;
     82            }
     83        }
     84
     85        return $data;
     86    }
     87
     88    public function __unserialize(array $data): void
     89    {
     90        if ($wakeup = method_exists($this, '__wakeup') && self::class === (new \ReflectionMethod($this, '__unserialize'))->class) {
     91            trigger_deprecation('symfony/mime', '7.4', 'Implementing "%s::__wakeup()" is deprecated, use "__unserialize()" instead.', get_debug_type($this));
     92        }
     93
     94        if (['headers'] === array_keys($data)) {
     95            $this->headers = $data['headers'];
     96
     97            if ($wakeup) {
     98                $this->__wakeup();
     99            }
     100
     101            return;
     102        }
     103
     104        trigger_deprecation('symfony/mime', '7.4', 'Passing more than just key "headers" to "%s::__unserialize()" is deprecated, populate properties in "%s::__unserialize()" instead.', self::class, get_debug_type($this));
     105
     106        \Closure::bind(function ($data) use ($wakeup) {
     107            foreach ($data as $key => $value) {
     108                $this->{("\0" === $key[0] ?? '') ? substr($key, 1 + strrpos($key, "\0")) : $key} = $value;
     109            }
     110
     111            if ($wakeup) {
     112                $this->__wakeup();
     113            }
     114        }, $this, static::class)($data);
     115    }
    65116}
  • mailerpress/trunk/vendor/symfony/mime/Part/DataPart.php

    r3333098 r3437941  
    2020class DataPart extends TextPart
    2121{
    22     /** @internal */
     22    /** @internal, to be removed in 8.0 */
    2323    protected array $_parent;
    2424
     
    130130    }
    131131
     132    public function __serialize(): array
     133    {
     134        if (self::class === (new \ReflectionMethod($this, '__sleep'))->class || self::class !== (new \ReflectionMethod($this, '__serialize'))->class) {
     135            $parent = parent::__serialize();
     136            $headers = $parent['_headers'];
     137            unset($parent['_headers']);
     138
     139            return [
     140                '_headers' => $headers,
     141                '_parent' => $parent,
     142                'filename' => $this->filename,
     143                'mediaType' => $this->mediaType,
     144            ];
     145        }
     146
     147        trigger_deprecation('symfony/mime', '7.4', 'Implementing "%s::__sleep()" is deprecated, use "__serialize()" instead.', get_debug_type($this));
     148
     149        $data = [];
     150        foreach ($this->__sleep() as $key) {
     151            try {
     152                if (($r = new \ReflectionProperty($this, $key))->isInitialized($this)) {
     153                    $data[$key] = $r->getValue($this);
     154                }
     155            } catch (\ReflectionException) {
     156                $data[$key] = $this->$key;
     157            }
     158        }
     159
     160        return $data;
     161    }
     162
     163    public function __unserialize(array $data): void
     164    {
     165        if ($wakeup = self::class !== (new \ReflectionMethod($this, '__wakeup'))->class && self::class === (new \ReflectionMethod($this, '__unserialize'))->class) {
     166            trigger_deprecation('symfony/mime', '7.4', 'Implementing "%s::__wakeup()" is deprecated, use "__unserialize()" instead.', get_debug_type($this));
     167        }
     168
     169        if (['_headers', '_parent', 'filename', 'mediaType'] === array_keys($data)) {
     170            parent::__unserialize(['_headers' => $data['_headers'], ...$data['_parent']]);
     171            $this->filename = $data['filename'];
     172            $this->mediaType = $data['mediaType'];
     173
     174            if ($wakeup) {
     175                $this->__wakeup();
     176            }
     177
     178            return;
     179        }
     180
     181        if (["\0*\0_headers", "\0*\0_parent", "\0".self::class."\0filename", "\0".self::class."\0mediaType"] === array_keys($data)) {
     182            parent::__unserialize(['_headers' => $data["\0*\0_headers"], ...$data["\0*\0_parent"]]);
     183            $this->filename = $data["\0".self::class."\0filename"];
     184            $this->mediaType = $data["\0".self::class."\0mediaType"];
     185
     186            if ($wakeup) {
     187                $this->__wakeup();
     188            }
     189
     190            return;
     191        }
     192
     193        trigger_deprecation('symfony/mime', '7.4', 'Passing extra keys to "%s::__unserialize()" is deprecated, populate properties in "%s::__unserialize()" instead.', self::class, get_debug_type($this));
     194
     195        \Closure::bind(function ($data) use ($wakeup) {
     196            foreach ($data as $key => $value) {
     197                $this->{("\0" === $key[0] ?? '') ? substr($key, 1 + strrpos($key, "\0")) : $key} = $value;
     198            }
     199
     200            if ($wakeup) {
     201                $this->__wakeup();
     202            }
     203        }, $this, static::class)($data);
     204    }
     205
     206    /**
     207     * @deprecated since Symfony 7.4, will be replaced by `__serialize()` in 8.0
     208     */
    132209    public function __sleep(): array
    133210    {
     211        trigger_deprecation('symfony/mime', '7.4', 'Calling "%s::__sleep()" is deprecated, use "__serialize()" instead.', get_debug_type($this));
    134212        // converts the body to a string
    135213        parent::__sleep();
     
    145223    }
    146224
     225    /**
     226     * @deprecated since Symfony 7.4, will be replaced by `__unserialize()` in 8.0
     227     */
    147228    public function __wakeup(): void
    148229    {
  • mailerpress/trunk/vendor/symfony/mime/Part/SMimePart.php

    r3333098 r3437941  
    1919class SMimePart extends AbstractPart
    2020{
    21     /** @internal */
     21    /** @internal, to be removed in 8.0 */
    2222    protected Headers $_headers;
    2323
     
    8585    }
    8686
     87    public function __serialize(): array
     88    {
     89        if (self::class === (new \ReflectionMethod($this, '__sleep'))->class || self::class !== (new \ReflectionMethod($this, '__serialize'))->class) {
     90            // convert iterables to strings for serialization
     91            if (is_iterable($this->body)) {
     92                $this->body = $this->bodyToString();
     93            }
     94
     95            return [
     96                '_headers' => $this->getHeaders(),
     97                'body' => $this->body,
     98                'type' => $this->type,
     99                'subtype' => $this->subtype,
     100                'parameters' => $this->parameters,
     101            ];
     102        }
     103
     104        trigger_deprecation('symfony/mime', '7.4', 'Implementing "%s::__sleep()" is deprecated, use "__serialize()" instead.', get_debug_type($this));
     105
     106        $data = [];
     107        foreach ($this->__sleep() as $key) {
     108            try {
     109                if (($r = new \ReflectionProperty($this, $key))->isInitialized($this)) {
     110                    $data[$key] = $r->getValue($this);
     111                }
     112            } catch (\ReflectionException) {
     113                $data[$key] = $this->$key;
     114            }
     115        }
     116
     117        return $data;
     118    }
     119
     120    public function __unserialize(array $data): void
     121    {
     122        if ($wakeup = self::class !== (new \ReflectionMethod($this, '__wakeup'))->class && self::class === (new \ReflectionMethod($this, '__unserialize'))->class) {
     123            trigger_deprecation('symfony/mime', '7.4', 'Implementing "%s::__wakeup()" is deprecated, use "__unserialize()" instead.', get_debug_type($this));
     124        }
     125
     126        if (['_headers', 'body', 'type', 'subtype', 'parameters'] === array_keys($data)) {
     127            parent::__unserialize(['headers' => $data['_headers']]);
     128            $this->body = $data['body'];
     129            $this->type = $data['type'];
     130            $this->subtype = $data['subtype'];
     131            $this->parameters = $data['parameters'];
     132
     133            if ($wakeup) {
     134                $this->__wakeup();
     135            }
     136
     137            return;
     138        }
     139
     140        $p = "\0".self::class."\0";
     141        if (["\0*\0_headers", $p.'body', $p.'type', $p.'subtype', $p.'parameters'] === array_keys($data)) {
     142            $r = new \ReflectionProperty(parent::class, 'headers');
     143            $r->setValue($this, $data["\0*\0_headers"]);
     144
     145            $this->body = $data[$p.'body'];
     146            $this->type = $data[$p.'type'];
     147            $this->subtype = $data[$p.'subtype'];
     148            $this->parameters = $data[$p.'parameters'];
     149
     150            if ($wakeup) {
     151                $this->_headers = $data["\0*\0_headers"];
     152                $this->__wakeup();
     153            }
     154
     155            return;
     156        }
     157
     158        trigger_deprecation('symfony/mime', '7.4', 'Passing extra keys to "%s::__unserialize()" is deprecated, populate properties in "%s::__unserialize()" instead.', self::class, get_debug_type($this));
     159
     160        \Closure::bind(function ($data) use ($wakeup) {
     161            foreach ($data as $key => $value) {
     162                $this->{("\0" === $key[0] ?? '') ? substr($key, 1 + strrpos($key, "\0")) : $key} = $value;
     163            }
     164
     165            if ($wakeup) {
     166                $this->__wakeup();
     167            }
     168        }, $this, static::class)($data);
     169    }
     170
     171    /**
     172     * @deprecated since Symfony 7.4, will be replaced by `__serialize()` in 8.0
     173     */
    87174    public function __sleep(): array
    88175    {
     176        trigger_deprecation('symfony/mime', '7.4', 'Calling "%s::__sleep()" is deprecated, use "__serialize()" instead.', get_debug_type($this));
     177
    89178        // convert iterables to strings for serialization
    90179        if (is_iterable($this->body)) {
     
    97186    }
    98187
     188    /**
     189     * @deprecated since Symfony 7.4, will be replaced by `__unserialize()` in 8.0
     190     */
    99191    public function __wakeup(): void
    100192    {
     193        trigger_deprecation('symfony/mime', '7.4', 'Calling "%s::__wakeup()" is deprecated, use "__unserialize()" instead.', get_debug_type($this));
     194
    101195        $r = new \ReflectionProperty(AbstractPart::class, 'headers');
    102196        $r->setValue($this, $this->_headers);
  • mailerpress/trunk/vendor/symfony/mime/Part/TextPart.php

    r3333098 r3437941  
    2626    private const DEFAULT_ENCODERS = ['quoted-printable', 'base64', '8bit'];
    2727
    28     /** @internal */
     28    /** @internal, to be removed in 8.0 */
    2929    protected Headers $_headers;
    3030
     
    239239    }
    240240
     241    public function __serialize(): array
     242    {
     243        if (self::class === (new \ReflectionMethod($this, '__sleep'))->class || self::class !== (new \ReflectionMethod($this, '__serialize'))->class) {
     244            // convert resources to strings for serialization
     245            if (null !== $this->seekable) {
     246                $this->body = $this->getBody();
     247                $this->seekable = null;
     248            }
     249
     250            return [
     251                '_headers' => $this->getHeaders(),
     252                'body' => $this->body,
     253                'charset' => $this->charset,
     254                'subtype' => $this->subtype,
     255                'disposition' => $this->disposition,
     256                'name' => $this->name,
     257                'encoding' => $this->encoding,
     258            ];
     259        }
     260
     261        trigger_deprecation('symfony/mime', '7.4', 'Implementing "%s::__sleep()" is deprecated, use "__serialize()" instead.', get_debug_type($this));
     262
     263        $data = [];
     264        foreach ($this->__sleep() as $key) {
     265            try {
     266                if (($r = new \ReflectionProperty($this, $key))->isInitialized($this)) {
     267                    $data[$key] = $r->getValue($this);
     268                }
     269            } catch (\ReflectionException) {
     270                $data[$key] = $this->$key;
     271            }
     272        }
     273
     274        return $data;
     275    }
     276
     277    public function __unserialize(array $data): void
     278    {
     279        if ($wakeup = self::class !== (new \ReflectionMethod($this, '__wakeup'))->class && self::class === (new \ReflectionMethod($this, '__unserialize'))->class) {
     280            trigger_deprecation('symfony/mime', '7.4', 'Implementing "%s::__wakeup()" is deprecated, use "__unserialize()" instead.', get_debug_type($this));
     281        }
     282
     283        if ($headers = $data['_headers'] ?? $data["\0*\0_headers"] ?? null) {
     284            unset($data['_headers'], $data["\0*\0_headers"]);
     285            parent::__unserialize(['headers' => $headers]);
     286        }
     287
     288        if (['body', 'charset', 'subtype', 'disposition', 'name', 'encoding'] === array_keys($data)) {
     289            parent::__unserialize(['headers' => $headers]);
     290            $this->body = $data['body'];
     291            $this->charset = $data['charset'];
     292            $this->subtype = $data['subtype'];
     293            $this->disposition = $data['disposition'];
     294            $this->name = $data['name'];
     295            $this->encoding = $data['encoding'];
     296
     297            if ($wakeup) {
     298                $this->__wakeup();
     299            } elseif (!\is_string($this->body) && !$this->body instanceof File) {
     300                throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
     301            }
     302
     303            return;
     304        }
     305
     306        if (["\0".self::class."\0body", "\0".self::class."\0charset", "\0".self::class."\0subtype", "\0".self::class."\0disposition", "\0".self::class."\0name", "\0".self::class."\0encoding"] === array_keys($data)) {
     307            $this->body = $data["\0".self::class."\0body"];
     308            $this->charset = $data["\0".self::class."\0charset"];
     309            $this->subtype = $data["\0".self::class."\0subtype"];
     310            $this->disposition = $data["\0".self::class."\0disposition"];
     311            $this->name = $data["\0".self::class."\0name"];
     312            $this->encoding = $data["\0".self::class."\0encoding"];
     313
     314            if ($wakeup) {
     315                $this->_headers = $headers;
     316                $this->__wakeup();
     317            } elseif (!\is_string($this->body) && !$this->body instanceof File) {
     318                throw new \BadMethodCallException('Cannot unserialize '.__CLASS__);
     319            }
     320
     321            return;
     322        }
     323
     324        trigger_deprecation('symfony/mime', '7.4', 'Passing extra keys to "%s::__unserialize()" is deprecated, populate properties in "%s::__unserialize()" instead.', self::class, get_debug_type($this));
     325
     326        \Closure::bind(function ($data) use ($wakeup) {
     327            foreach ($data as $key => $value) {
     328                $this->{("\0" === $key[0] ?? '') ? substr($key, 1 + strrpos($key, "\0")) : $key} = $value;
     329            }
     330
     331            if ($wakeup) {
     332                $this->__wakeup();
     333            }
     334        }, $this, static::class)($data);
     335    }
     336
     337    /**
     338     * @deprecated since Symfony 7.4, will be replaced by `__serialize()` in 8.0
     339     */
    241340    public function __sleep(): array
    242341    {
     342        trigger_deprecation('symfony/mime', '7.4', 'Calling "%s::__sleep()" is deprecated, use "__serialize()" instead.', get_debug_type($this));
     343
    243344        // convert resources to strings for serialization
    244345        if (null !== $this->seekable) {
     
    252353    }
    253354
     355    /**
     356     * @deprecated since Symfony 7.4, will be replaced by `__unserialize()` in 8.0
     357     */
    254358    public function __wakeup(): void
    255359    {
     360        trigger_deprecation('symfony/mime', '7.4', 'Calling "%s::__wakeup()" is deprecated, use "__unserialize()" instead.', get_debug_type($this));
     361
    256362        $r = new \ReflectionProperty(AbstractPart::class, 'headers');
    257363        $r->setValue($this, $this->_headers);
  • mailerpress/trunk/vendor/symfony/service-contracts/ServiceSubscriberTrait.php

    r3333098 r3437941  
    5454            }
    5555
    56             /* @var SubscribedService $attribute */
     56            /** @var SubscribedService $attribute */
    5757            $attribute = $attribute->newInstance();
    5858            $attribute->key ??= self::class.'::'.$method->name;
Note: See TracChangeset for help on using the changeset viewer.