Change 'generated' notice to @phpdoc-style annotation
While it isn't an official part of the syntax, it integrates better with other tools that ignore diffs on generated code.pull/2210/head
parent
ef072ff8c0
commit
046d55e886
|
@ -59,7 +59,7 @@ class AutoloadGenerator
|
|||
$namespacesFile = <<<EOF
|
||||
<?php
|
||||
|
||||
// autoload_namespaces.php generated by Composer
|
||||
// autoload_namespaces.php @generated by Composer
|
||||
|
||||
\$vendorDir = $vendorPathCode52;
|
||||
\$baseDir = $appBaseDirCode;
|
||||
|
@ -85,7 +85,7 @@ EOF;
|
|||
$classmapFile = <<<EOF
|
||||
<?php
|
||||
|
||||
// autoload_classmap.php generated by Composer
|
||||
// autoload_classmap.php @generated by Composer
|
||||
|
||||
\$vendorDir = $vendorPathCode52;
|
||||
\$baseDir = $appBaseDirCode;
|
||||
|
@ -284,7 +284,7 @@ EOF;
|
|||
return <<<EOF
|
||||
<?php
|
||||
|
||||
// include_paths.php generated by Composer
|
||||
// include_paths.php @generated by Composer
|
||||
|
||||
\$vendorDir = $vendorPathCode;
|
||||
\$baseDir = $appBaseDirCode;
|
||||
|
@ -310,7 +310,7 @@ EOF;
|
|||
return <<<EOF
|
||||
<?php
|
||||
|
||||
// autoload_files.php generated by Composer
|
||||
// autoload_files.php @generated by Composer
|
||||
|
||||
\$vendorDir = $vendorPathCode;
|
||||
\$baseDir = $appBaseDirCode;
|
||||
|
@ -355,7 +355,7 @@ EOF;
|
|||
return <<<AUTOLOAD
|
||||
<?php
|
||||
|
||||
// autoload.php generated by Composer
|
||||
// autoload.php @generated by Composer
|
||||
|
||||
require_once $vendorPathToTargetDirCode . '/autoload_real.php';
|
||||
|
||||
|
@ -376,7 +376,7 @@ AUTOLOAD;
|
|||
$file = <<<HEADER
|
||||
<?php
|
||||
|
||||
// autoload_real.php generated by Composer
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInit$suffix
|
||||
{
|
||||
|
|
|
@ -475,7 +475,7 @@ class AutoloadGeneratorTest extends TestCase
|
|||
$expectedNamespace = <<<EOF
|
||||
<?php
|
||||
|
||||
// autoload_namespaces.php generated by Composer
|
||||
// autoload_namespaces.php @generated by Composer
|
||||
|
||||
\$vendorDir = dirname(dirname(__FILE__));
|
||||
\$baseDir = dirname(\$vendorDir);
|
||||
|
@ -491,7 +491,7 @@ EOF;
|
|||
$expectedClassmap = <<<EOF
|
||||
<?php
|
||||
|
||||
// autoload_classmap.php generated by Composer
|
||||
// autoload_classmap.php @generated by Composer
|
||||
|
||||
\$vendorDir = dirname(dirname(__FILE__));
|
||||
\$baseDir = dirname(\$vendorDir);
|
||||
|
@ -724,7 +724,7 @@ EOF;
|
|||
$expectedNamespace = <<<'EOF'
|
||||
<?php
|
||||
|
||||
// autoload_namespaces.php generated by Composer
|
||||
// autoload_namespaces.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir).'/working-dir';
|
||||
|
@ -739,7 +739,7 @@ EOF;
|
|||
$expectedClassmap = <<<'EOF'
|
||||
<?php
|
||||
|
||||
// autoload_classmap.php generated by Composer
|
||||
// autoload_classmap.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir).'/working-dir';
|
||||
|
@ -787,7 +787,7 @@ EOF;
|
|||
$expectedNamespace = <<<'EOF'
|
||||
<?php
|
||||
|
||||
// autoload_namespaces.php generated by Composer
|
||||
// autoload_namespaces.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir).'/working-dir';
|
||||
|
@ -801,7 +801,7 @@ EOF;
|
|||
$expectedClassmap = <<<'EOF'
|
||||
<?php
|
||||
|
||||
// autoload_classmap.php generated by Composer
|
||||
// autoload_classmap.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir).'/working-dir';
|
||||
|
@ -839,7 +839,7 @@ EOF;
|
|||
$expectedNamespace = <<<'EOF'
|
||||
<?php
|
||||
|
||||
// autoload_namespaces.php generated by Composer
|
||||
// autoload_namespaces.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
@ -853,7 +853,7 @@ EOF;
|
|||
$expectedClassmap = <<<'EOF'
|
||||
<?php
|
||||
|
||||
// autoload_classmap.php generated by Composer
|
||||
// autoload_classmap.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_classmap.php generated by Composer
|
||||
// autoload_classmap.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_classmap.php generated by Composer
|
||||
// autoload_classmap.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname(dirname($vendorDir));
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_classmap.php generated by Composer
|
||||
// autoload_classmap.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = $vendorDir;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_classmap.php generated by Composer
|
||||
// autoload_classmap.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_classmap.php generated by Composer
|
||||
// autoload_classmap.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_classmap.php generated by Composer
|
||||
// autoload_classmap.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_files.php generated by Composer
|
||||
// autoload_files.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_files.php generated by Composer
|
||||
// autoload_files.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_files.php generated by Composer
|
||||
// autoload_files.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_files.php generated by Composer
|
||||
// autoload_files.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload.php generated by Composer
|
||||
// autoload.php @generated by Composer
|
||||
|
||||
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload.php generated by Composer
|
||||
// autoload.php @generated by Composer
|
||||
|
||||
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_namespaces.php generated by Composer
|
||||
// autoload_namespaces.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_namespaces.php generated by Composer
|
||||
// autoload_namespaces.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname(dirname($vendorDir));
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_namespaces.php generated by Composer
|
||||
// autoload_namespaces.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = $vendorDir;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_real.php generated by Composer
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInitFilesAutoloadOrder
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_real.php generated by Composer
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInitFilesAutoload
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_real.php generated by Composer
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInitIncludePath
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_real.php generated by Composer
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInitTargetDir
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload.php generated by Composer
|
||||
// autoload.php @generated by Composer
|
||||
|
||||
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// autoload_namespaces.php generated by Composer
|
||||
// autoload_namespaces.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
// include_paths.php generated by Composer
|
||||
// include_paths.php @generated by Composer
|
||||
|
||||
$vendorDir = dirname(dirname(__FILE__));
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
|
Loading…
Reference in New Issue