PHP 8.3.31
Preview: TestTriggeredNoticeSubscriber.php Size: 968 B
/home/getspomw/royalsquad.us/vendor/phpunit/phpunit/src/Runner/Baseline/Subscriber/TestTriggeredNoticeSubscriber.php

<?php declare(strict_types=1);
/*
 * This file is part of PHPUnit.
 *
 * (c) Sebastian Bergmann <sebastian@phpunit.de>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace PHPUnit\Runner\Baseline;

use PHPUnit\Event\Test\NoticeTriggered;
use PHPUnit\Event\Test\NoticeTriggeredSubscriber;
use PHPUnit\Runner\FileDoesNotExistException;

/**
 * @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
 *
 * @internal This class is not covered by the backward compatibility promise for PHPUnit
 */
final readonly class TestTriggeredNoticeSubscriber extends Subscriber implements NoticeTriggeredSubscriber
{
    /**
     * @throws FileDoesNotExistException
     * @throws FileDoesNotHaveLineException
     */
    public function notify(NoticeTriggered $event): void
    {
        $this->generator()->testTriggeredIssue($event);
    }
}

Directory Contents

Dirs: 0 × Files: 7

Name Size Perms Modified Actions
765 B lrw-rw-rw- 2025-09-17 06:53:09
Edit Download
993 B lrw-rw-rw- 2025-09-17 06:53:09
Edit Download
968 B lrw-rw-rw- 2025-09-17 06:53:09
Edit Download
1008 B lrw-rw-rw- 2025-09-17 06:53:09
Edit Download
983 B lrw-rw-rw- 2025-09-17 06:53:09
Edit Download
988 B lrw-rw-rw- 2025-09-17 06:53:09
Edit Download
973 B lrw-rw-rw- 2025-09-17 06:53:09
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).