1
0
Fork 0
pull/1008/merge
Jordi Boggiano 2012-08-18 16:22:15 +02:00
parent ef637c8f1a
commit 521bbe6556
5 changed files with 11 additions and 14 deletions

View File

@ -343,7 +343,7 @@ AUTOLOAD;
// - https://bugs.php.net/bug.php?id=59298
if ($filesCode) {
$filesCode = "\n".$filesCode;
$filesCode = "\n\n".rtrim($filesCode);
}
$file = <<<HEADER
@ -406,8 +406,7 @@ REGISTER_AUTOLOAD;
}
$file .= <<<METHOD_FOOTER
\$loader->register();
$filesCode
\$loader->register();{$filesCode}
return \$loader;
}

View File

@ -1,7 +1,7 @@
<?php
namespace {
trait TFoo {
trait TFoo
{
}
class CFoo
@ -11,16 +11,16 @@ namespace {
}
namespace Foo {
trait TBar {
trait TBar
{
}
interface IBar {
interface IBar
{
}
trait TFooBar {
trait TFooBar
{
}
class CBar implements IBar

View File

@ -143,4 +143,4 @@ class AllFunctionalTest extends \PHPUnit_Framework_TestCase
return $processed;
}
}
}

View File

@ -13,7 +13,6 @@
namespace Composer\Test\Json;
use Seld\JsonLint\ParsingException;
use Composer\Json\JsonValidationException;
use Composer\Json\JsonFile;
class JsonFileTest extends \PHPUnit_Framework_TestCase

View File

@ -17,7 +17,6 @@ use Composer\Factory;
use Composer\Repository;
use Composer\Repository\RepositoryManager;
use Composer\Installer;
use Composer\Downloader;
use Composer\IO\IOInterface;
class FactoryMock extends Factory