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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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