Skip to content

Commit

Permalink
Fix: Skip autoloader configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Nov 22, 2014
1 parent bc9932e commit 124ab3a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 27 deletions.
18 changes: 2 additions & 16 deletions Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,7 @@

namespace ZfcBase;

use Zend\ModuleManager\Feature\AutoloaderProviderInterface;

class Module implements AutoloaderProviderInterface
class Module
{
public function getAutoloaderConfig()
{
return array(
'Zend\Loader\ClassMapAutoloader' => array(
__DIR__ . '/autoload_classmap.php',
),
'Zend\Loader\StandardAutoloader' => array(
'namespaces' => array(
__NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
),
),
);
}

}
11 changes: 0 additions & 11 deletions autoload_classmap.php

This file was deleted.

1 change: 1 addition & 0 deletions test/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
use ZfcBaseTest\Bootstrap;

error_reporting(E_ALL | E_STRICT);

chdir(dirname(__DIR__));

require_once 'vendor/autoload.php';
Expand Down

0 comments on commit 124ab3a

Please sign in to comment.