PHP code example of swisnl / game-of-tests
1. Go to this page and download the library: Download swisnl/game-of-tests library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
swisnl / game-of-tests example snippets
$settings = \Swis\GoT\Settings\SettingsFactory::create();
$inspector = new \Swis\GoT\Inspector($settings);
$repository = $inspector->getRepositoryByUrl('[email protected]:swisnl/game-of-tests.git');
$results = $inspector->inspect($repository);
$settings = \Swis\GoT\Settings\SettingsFactory::create();
$inspector = new \Swis\GoT\Inspector($settings);
$repository = $inspector->getRepositoryByPath('/path/to/repos');
$results = $inspector->inspect($repository);
// Create a bare settings object.
$settings = \Swis\GoT\Settings\SettingsFactory::create(false);