PHP 8.2.31
Preview: CiDetectorInterface.php Size: 630 B
/opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/ondram/ci-detector/src/CiDetectorInterface.php

<?php

declare (strict_types=1);
namespace RectorPrefix202411\OndraM\CiDetector;

use RectorPrefix202411\OndraM\CiDetector\Ci\CiInterface;
use RectorPrefix202411\OndraM\CiDetector\Exception\CiNotDetectedException;
/**
 * Unified way to get environment variables from current continuous integration server
 */
interface CiDetectorInterface
{
    /**
     * Is current environment an recognized CI server?
     */
    public function isCiDetected() : bool;
    /**
     * Detect current CI server and return instance of its settings
     *
     * @throws CiNotDetectedException
     */
    public function detect() : CiInterface;
}

Directory Contents

Dirs: 2 × Files: 4

Name Size Perms Modified Actions
Ci DIR
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
Exception DIR
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
2.77 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
630 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
455 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
1.83 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download

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