1
0
Fork 0

Minor consistency tweaks

pull/964/merge
Jordi Boggiano 2012-08-14 18:59:36 +02:00
parent 034b46bdf6
commit 30fdf379aa
8 changed files with 9 additions and 8 deletions

View File

@ -43,7 +43,7 @@ class AutoloadGenerator
$namespacesFile = <<<EOF
<?php
// autoload_namespace.php generated by Composer
// autoload_namespaces.php generated by Composer
\$vendorDir = $vendorPathCode;
\$baseDir = $appBaseDirCode;
@ -281,8 +281,6 @@ EOF;
protected function getAutoloadFile($vendorPathToTargetDirCode, $suffix)
{
return <<<AUTOLOAD
<?php
@ -312,6 +310,7 @@ AUTOLOAD;
<?php
// autoload_real$suffix.php generated by Composer
if (!class_exists('Composer\\\\Autoload\\\\ClassLoader', false)) {
require __DIR__ . '/ClassLoader.php';
}

View File

@ -1,6 +1,6 @@
<?php
// autoload_namespace.php generated by Composer
// autoload_namespaces.php generated by Composer
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);

View File

@ -1,6 +1,6 @@
<?php
// autoload_namespace.php generated by Composer
// autoload_namespaces.php generated by Composer
$vendorDir = dirname(__DIR__);
$baseDir = dirname(dirname($vendorDir));

View File

@ -1,6 +1,6 @@
<?php
// autoload_namespace.php generated by Composer
// autoload_namespaces.php generated by Composer
$vendorDir = dirname(__DIR__);
$baseDir = $vendorDir;

View File

@ -1,6 +1,6 @@
<?php
// autoload_namespace.php generated by Composer
// autoload_namespaces.php generated by Composer
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);

View File

@ -1,6 +1,7 @@
<?php
// autoload_realFilesAutoload.php generated by Composer
if (!class_exists('Composer\\Autoload\\ClassLoader', false)) {
require __DIR__ . '/ClassLoader.php';
}

View File

@ -1,6 +1,7 @@
<?php
// autoload_realTargetDir.php generated by Composer
if (!class_exists('Composer\\Autoload\\ClassLoader', false)) {
require __DIR__ . '/ClassLoader.php';
}

View File

@ -1,6 +1,6 @@
<?php
// autoload_namespace.php generated by Composer
// autoload_namespaces.php generated by Composer
$vendorDir = dirname(__DIR__);
$baseDir = dirname($vendorDir);