PHP 8.2.31
Preview: FileProcessResult.php Size: 952 B
/opt/cpanel/ea-wappspector/vendor/rector/rector/src/ValueObject/FileProcessResult.php

<?php

declare (strict_types=1);
namespace Rector\ValueObject;

use Rector\ValueObject\Error\SystemError;
use Rector\ValueObject\Reporting\FileDiff;
use RectorPrefix202411\Webmozart\Assert\Assert;
final class FileProcessResult
{
    /**
     * @var SystemError[]
     * @readonly
     */
    private $systemErrors;
    /**
     * @readonly
     * @var \Rector\ValueObject\Reporting\FileDiff|null
     */
    private $fileDiff;
    /**
     * @param SystemError[] $systemErrors
     */
    public function __construct(array $systemErrors, ?FileDiff $fileDiff)
    {
        $this->systemErrors = $systemErrors;
        $this->fileDiff = $fileDiff;
        Assert::allIsInstanceOf($systemErrors, SystemError::class);
    }
    /**
     * @return SystemError[]
     */
    public function getSystemErrors() : array
    {
        return $this->systemErrors;
    }
    public function getFileDiff() : ?FileDiff
    {
        return $this->fileDiff;
    }
}

Directory Contents

Dirs: 4 × Files: 10

Name Size Perms Modified Actions
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
Bootstrap DIR
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
Error DIR
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
Reporting DIR
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
3.74 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
952 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
646 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.15 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.12 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
16.74 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
286 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.29 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
761 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
718 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download

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