Skip to content

Commit

Permalink
use absolute paths and fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Jul 1, 2015
1 parent 1abd7f9 commit 9868d42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion container.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"config.file" parameter.
*/

$container = new PSX\Dependency\DefaultContainer();
$container = new \PSX\Dependency\DefaultContainer();
$container->setParameter('config.file', __DIR__ . '/configuration.php');

return $container;
7 changes: 3 additions & 4 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@
$loader = require(__DIR__ . '/../vendor/autoload.php');
$loader->add('PSX', 'tests');

PSX\Test\Environment::setup(__DIR__ . '/..', function($fromSchema){
\PSX\Test\Environment::setup(__DIR__ . '/..', function(\Doctrine\DBAL\Schema\Schema $fromSchema){

// create the database schema if not available
if(!$fromSchema->hasTable('psx_cache_handler_sql_test'))
{
return PSX\Sql\TestSchema::getSchema();
if (!$fromSchema->hasTable('psx_cache_handler_sql_test')) {
return \PSX\Sql\TestSchema::getSchema();
}

});
Expand Down

0 comments on commit 9868d42

Please sign in to comment.