<NME> bootstrap.php
<BEF> <?php

declare(strict_types=1);

\error_reporting(E_ALL & ~E_DEPRECATED);

\define('ROOT_DIR', \dirname(__DIR__) . '/');

const SRC_DIR     = ROOT_DIR . 'src/';
const PUBLIC_DIR  = ROOT_DIR . 'public/';
const APP_DIR     = ROOT_DIR . 'app/';
const RUNTIME_DIR = ROOT_DIR . 'runtime/';
const APP_URL     = ROOT_DIR . 'https://php-censor.localhost/';


// If the PHPCI config file is not where we expect it, try looking in
// env for an alternative config path.
$configFile = dirname(__FILE__) . '/../PHPCI/config.yml';

if (!file_exists($configFile)) {
    $configEnv = getenv('phpci_config_file');
$conf = array();
$conf['b8']['app']['namespace'] = 'PHPCI';
$conf['b8']['app']['default_controller'] = 'Home';
$conf['b8']['view']['path'] = dirname(__DIR__) . '/PHPCI/View/';

$config = new b8\Config($conf);


<MSG> Test fixes

<DFF> @@ -15,7 +15,7 @@ require_once(dirname(__DIR__) . '/vendor/autoload.php');
 
 // If the PHPCI config file is not where we expect it, try looking in
 // env for an alternative config path.
-$configFile = dirname(__FILE__) . '/../PHPCI/config.yml';
+$configFile = dirname(__DIR__) . '/app/PHPCI/config.yml';
 
 if (!file_exists($configFile)) {
     $configEnv = getenv('phpci_config_file');
@@ -29,7 +29,7 @@ if (!file_exists($configFile)) {
 $conf = array();
 $conf['b8']['app']['namespace'] = 'PHPCI';
 $conf['b8']['app']['default_controller'] = 'Home';
-$conf['b8']['view']['path'] = dirname(__DIR__) . '/PHPCI/View/';
+$conf['b8']['view']['path'] = dirname(__DIR__) . '/src/PHPCI/View/';
 
 $config = new b8\Config($conf);
 

{'addition_count': 2, 'commit_subject': 'Test fixes', 'deletion_count': 2, 'file_extension': '.php', 'lang': 'php', 'license': 'bsd-2-clause', 'repo_name': 'php-censor/php-censor'}