<?php
require __DIR__ . "/../vendor/autoload.php";

error_reporting(~E_ALL);

$manager = new PhpProbe\Manager();
$manager->importConfig(__DIR__ . '/config.yml');
$manager->checkAll();

if (php_sapi_name() == 'cli') {
    $manager
        ->outputText(true)
        ->end();
} else {
    $manager
        ->outputHtml(true)
        ->end();
}

<?php
require __DIR__ . "/../vendor/autoload.php";

error_reporting(~E_ALL);

$manager = new PhpProbe\Manager();
$manager->importConfig('config.yml');
$manager->checkAll();

if (php_sapi_name() == 'cli') {
    $manager
        ->outputText(true)
        ->end();
} else {
    $manager
        ->outputHtml(true)
        ->end();
}

--- 
+++ 
@@ -4,7 +4,7 @@
 error_reporting(~E_ALL);
 
 $manager = new PhpProbe\Manager();
-$manager->importConfig('config.yml');
+$manager->importConfig(__DIR__ . '/config.yml');
 $manager->checkAll();
 
 if (php_sapi_name() == 'cli') {
Load config file from examples directory
