Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
936012f
commit 7c35c4c
Showing
2 changed files
with
26 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
use React\Cache\ArrayCache; | ||
use WyriHaximus\AppVeyor\Client; | ||
|
||
require dirname(__DIR__) . DIRECTORY_SEPARATOR . 'vendor/autoload.php'; | ||
|
||
$client = new Client(require 'resolve_key.php', [ | ||
'cache' => new ArrayCache(), | ||
]); | ||
|
||
echo time(), PHP_EOL; | ||
$project = $client->project($argv[1] ?? 'WyriHaximus/php-appveyor-client'); | ||
echo 'Project: ', $project->name(), PHP_EOL; | ||
echo "\t", 'ID: ', $project->projectId(), PHP_EOL; | ||
echo "\t", 'SCM: ', $project->repositoryScm(), PHP_EOL; | ||
echo "\t", 'SCM Type: ', $project->repositoryType(), PHP_EOL; | ||
echo "\t", 'Repository: ', $project->repositoryName(), PHP_EOL; | ||
echo time(), PHP_EOL; | ||
$project = $client->project($argv[1] ?? 'WyriHaximus/php-appveyor-client'); | ||
echo 'Project: ', $project->name(), PHP_EOL; | ||
echo "\t", 'ID: ', $project->projectId(), PHP_EOL; | ||
echo "\t", 'SCM: ', $project->repositoryScm(), PHP_EOL; | ||
echo "\t", 'SCM Type: ', $project->repositoryType(), PHP_EOL; | ||
echo "\t", 'Repository: ', $project->repositoryName(), PHP_EOL; | ||
echo time(), PHP_EOL; |
This file was deleted.
Oops, something went wrong.