REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 2.34 KB
Close
//opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/ondram/ci-detector/src/Ci/CiInterface.php
Text
Base64
<?php declare (strict_types=1); namespace RectorPrefix202411\OndraM\CiDetector\Ci; use RectorPrefix202411\OndraM\CiDetector\Env; use RectorPrefix202411\OndraM\CiDetector\TrinaryLogic; interface CiInterface { /** * Return true if this CI was detected. */ public static function isDetected(Env $env) : bool; /** * Get name of the CI server type. */ public function getCiName() : string; /** * Return key-value map of all detected properties in human-readable form. * * @return array<string, string> */ public function describe() : array; /** * Get number of this concrete build. * * Build number is usually human-readable increasing number sequence. It should increase each time this particular * job was run on the CI server. Most CIs use simple numbering sequence like: 1, 2, 3... * However, some CIs do not provide this simple human-readable value and rather use for example alphanumeric hash. */ public function getBuildNumber() : string; /** * Get URL where this build can be found and viewed. */ public function getBuildUrl() : string; /** * Get hash of the git (or other VCS) commit being built. */ public function getCommit() : string; /** * Get name of the git (or other VCS) branch which is being built. * * Use `getTargetBranch()` to get name of the branch where this branch is targeted. */ public function getBranch() : string; /** * Get name of the target branch of a pull request. */ public function getTargetBranch() : string; /** * Get name of the git (or other VCS) repository which is being built. * * This is usually in form "user/repository", for example "OndraM/ci-detector". */ public function getRepositoryName() : string; /** * Get URL where the repository which is being built can be found. * * This is either HTTP URL like "https://github.com/OndraM/ci-detector" * but may be a git ssh url like "ssh://git@bitbucket.org/OndraM/ci-detector". */ public function getRepositoryUrl() : string; /** * Returned TrinaryLogic object's value will be true if the current build is from a pull/merge request, * false if it not, and maybe if we can't determine it. */ public function isPullRequest() : TrinaryLogic; }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 19
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
AbstractCi.php
883 B
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
AppVeyor.php
1.84 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
AwsCodeBuild.php
1.56 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
AzurePipelines.php
1.73 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Bamboo.php
1.68 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
BitbucketPipelines.php
1.59 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Buddy.php
1.65 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CiInterface.php
2.34 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Circle.php
1.47 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Codeship.php
1.37 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Continuousphp.php
1.45 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Drone.php
1.41 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
GitHubActions.php
1.86 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
GitLab.php
2.03 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Jenkins.php
1.30 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
SourceHut.php
1.34 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
TeamCity.php
1.29 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Travis.php
1.75 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Wercker.php
1.45 KB
lrw-r--r--
2024-11-08 13:59:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).