<?php

require_once 'lib/Proem/Loader/Autoloader.php';

use Proem\Loader\Autoloader;

$loader = new AutoLoader();
$loader->registerNamespaces([
    'Proem\\Tests'  => 'tests/lib',
    'Proem'       => 'lib'
])->registerPearPrefix('PHPUnit_', '/usr/share/php/PHPUnit')->register();

<?php

require_once 'lib/Proem/Loader/Autoloader.php';

use Proem\Loader\Autoloader;

$loader = new AutoLoader();
$loader->registerNamespaces([
    'Proem\\Tests'  => 'tests/lib',
    'Proem'         => 'lib'
])->register();

Remove path to PHPUnit. It has it's own autoloader built in.
Remove path to PHPUnit. It has it's own autoloader built in.
