golden hour
/opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/ondram/ci-detector/src
⬆️ Go Up
Upload
File/Folder
Size
Actions
Ci
-
Del
OK
CiDetector.php
2.77 KB
Del
OK
CiDetectorInterface.php
630 B
Del
OK
Env.php
455 B
Del
OK
Exception
-
Del
OK
TrinaryLogic.php
1.83 KB
Del
OK
Edit: 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; }
Save